Laurent Laffont http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/
On Thu, Jul 29, 2010 at 10:24 PM, Alexandre Bergel <[email protected]>wrote: > > Maybe it's just me, or could we not add Announcement to the end of every > Announcement subclass name though? > > Like with the window announcement, I like them better as verbs describing > the event, f.ex. > > someAnnouncer on: TestStarted do: [] > > someAnnouncer on: TestEnded send: #x to: y > > Someone else vote for this? > I'm experimenting with Announcers on TestResult. What do you think about this syntax ? TestResult when: TestCaseStarts do: [:event | do some stuff ]. TestResult when: TestCaseEnds do: [:event | do some stuff ]. Laurent > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
