[MacRuby-devel] [MacRuby] #492: Need GCD Specs for Sources
MacRuby
ruby-noreply at macosforge.org
Tue Dec 8 22:16:38 PST 2009
#492: Need GCD Specs for Sources
----------------------------------------+-----------------------------------
Reporter: ernest.prabhakar@… | Owner: lsansonetti@…
Type: enhancement | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
----------------------------------------+-----------------------------------
Comment(by ernest.prabhakar@…):
> should be split into 8 different tests
Yeah, you're right. I just did this as a quick and dirty way to convince
myself that this API made sense. It may actually be smarter to actually
"describe" of the different event sources differently:
- custom (add, or)
- timer
- status change (file, process)
- IO (read, write)
- signal
> you'll have different files for Group, Queue, and Source
The long-term plan is to have a "gcd" subdirectory under spec with
multiple independent files. At a guess, the modules would be:
- Queue
- Source
- Semaphore
I'm not 100% sure if Group would be separate, since it is closely tied to
Queue and tested as part of Queue#async, but it probably should e
--
Ticket URL: <http://www.macruby.org/trac/ticket/492#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list