[MacRuby] #247: Hotcocoa Graphics tests don't run
#247: Hotcocoa Graphics tests don't run ----------------------------------------+----------------------------------- Reporter: dave.baldwin@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: Hotcocoa Graphics ----------------------------------------+----------------------------------- macruby image.rb generates errors: NameError: uninitialized constant HotCocoa::Graphics::Canvas::Graphics fixed by changing line include HotCocoa::Graphics to include HotCocoa include HotCocoa::Graphics Tests now run but give diff errors on image files. Visually they look the same. SameNameError problem also exists in drawing.rb rope.rb text.rb drawing.rb gives an error: "<Error>: CGPDFContextEndPage: Don't nest calls to this function -- the results will not be what you expect." color.rb gives an error on one color conversion - looks like the tolerance needs to be widened a bit. I made a simple edit to iterate.rb to generate a pdf instead of a png (by changing Canvas.for_image to Canvas.for_pdf, and the OUTFILE extension to pdf but Preview fails to open it as the pdf file was invalid. -- Ticket URL: <http://www.macruby.org/trac/ticket/247> MacRuby <http://macruby.org/>
#247: Hotcocoa Graphics tests don't run ----------------------------------------+----------------------------------- Reporter: dave.baldwin@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: Hotcocoa Graphics | ----------------------------------------+----------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.5 Comment: HotCocoa/graphics/demo.rb as of r3180 works as expected. I suspect this bug was fixed a long time ago, so I'm closing this entry. Let us know if it's still broken for you. -- Ticket URL: <http://www.macruby.org/trac/ticket/247#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby