Created
June 10, 2012 01:39
-
-
Save davorb/2903472 to your computer and use it in GitHub Desktop.
rake spec 10/6/12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I did git clone git@github.com:shoes/shoes4.git right before running rake spec | |
Shoes::Line | |
basic | |
behaves like movable object | |
[31m moves (FAILED - 1)[0m | |
behaves like object with stroke | |
[31m sets on receiver (FAILED - 2)[0m | |
[31m returns a color (FAILED - 3)[0m | |
[31m defaults to black (FAILED - 4)[0m | |
strokewidth | |
[31m sets (FAILED - 5)[0m | |
[31m defaults to 1 (FAILED - 6)[0m | |
specified right-to-left, bottom-to-top | |
behaves like basic line | |
[31m example at ./spec/shoes/line_spec.rb:11 (FAILED - 7)[0m | |
left | |
[31m example at ./spec/shoes/line_spec.rb:13 (FAILED - 8)[0m | |
top | |
[31m example at ./spec/shoes/line_spec.rb:12 (FAILED - 9)[0m | |
height | |
[31m example at ./spec/shoes/line_spec.rb:15 (FAILED - 10)[0m | |
width | |
[31m example at ./spec/shoes/line_spec.rb:14 (FAILED - 11)[0m | |
created left-to-right, top-to-bottom | |
behaves like basic line | |
[31m example at ./spec/shoes/line_spec.rb:11 (FAILED - 12)[0m | |
left | |
[31m example at ./spec/shoes/line_spec.rb:13 (FAILED - 13)[0m | |
top | |
[31m example at ./spec/shoes/line_spec.rb:12 (FAILED - 14)[0m | |
height | |
[31m example at ./spec/shoes/line_spec.rb:15 (FAILED - 15)[0m | |
width | |
[31m example at ./spec/shoes/line_spec.rb:14 (FAILED - 16)[0m | |
specified right-to-left, top-to-bottom | |
behaves like basic line | |
[31m example at ./spec/shoes/line_spec.rb:11 (FAILED - 17)[0m | |
left | |
[31m example at ./spec/shoes/line_spec.rb:13 (FAILED - 18)[0m | |
top | |
[31m example at ./spec/shoes/line_spec.rb:12 (FAILED - 19)[0m | |
height | |
[31m example at ./spec/shoes/line_spec.rb:15 (FAILED - 20)[0m | |
width | |
[31m example at ./spec/shoes/line_spec.rb:14 (FAILED - 21)[0m | |
specified left-to-right, bottom-to-top | |
behaves like basic line | |
[31m example at ./spec/shoes/line_spec.rb:11 (FAILED - 22)[0m | |
left | |
[31m example at ./spec/shoes/line_spec.rb:13 (FAILED - 23)[0m | |
top | |
[31m example at ./spec/shoes/line_spec.rb:12 (FAILED - 24)[0m | |
height | |
[31m example at ./spec/shoes/line_spec.rb:15 (FAILED - 25)[0m | |
width | |
[31m example at ./spec/shoes/line_spec.rb:14 (FAILED - 26)[0m | |
Shoes::Logger | |
.get | |
[32m retrieves a registered logger[0m | |
.register | |
[32m allows new loggers to be registered[0m | |
Shoes built-in colors | |
[32m there are 140[0m | |
aquamarine | |
[32m should eq #<Shoes::Color:0x1aec0d1 @blue=212, @green=255, @red=127, @alpha=255>[0m | |
papayawhip | |
[32m should eq #<Shoes::Color:0xba63a2 @blue=213, @green=239, @red=255, @alpha=255>[0m | |
tomato | |
[32m should eq #<Shoes::Color:0x1c190a2 @blue=71, @green=99, @red=255, @alpha=255>[0m | |
differences from Red Shoes | |
floats | |
[32m too-small values become 0[0m | |
[32m too-large values become 255[0m | |
integers | |
[32m too-small values become 0[0m | |
[32m too-large values become 255[0m | |
unusual input | |
negative values | |
[32m 256 and neighbors[0m | |
[32m -1 does not become 255[0m | |
[32m float behaviour[0m | |
too-large values | |
[32m green does not get modulo-256'd into bounds[0m | |
[32m red does not get modulo-256'd into bounds[0m | |
[32m blue does not get modulo-256'd into bounds[0m | |
edge cases | |
[32m 1.0 does not become 0[0m | |
[32m 0.0 does not become 1[0m | |
Shoes::Logger::Log4j | |
[32m delegates to a Log4jruby::Logger instance[0m | |
Shoes::Color | |
white | |
[32m should not be black[0m | |
[32m should be white[0m | |
comparable | |
[32m is less than when darker[0m | |
[32m is equal when values are equal[0m | |
[32m is greater than when lighter[0m | |
same rgb values | |
[32m is greater than when more opaque[0m | |
[32m is less than when less opaque[0m | |
peru | |
without optional alpha | |
alpha | |
[32m should eq 255[0m | |
behaves like peru | |
[32m should not be white[0m | |
[32m should not be black[0m | |
red | |
[32m should eq 205[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 63[0m | |
green | |
[32m should eq 133[0m | |
with optional alpha | |
alpha | |
[32m should eq 100[0m | |
behaves like peru | |
[32m should not be white[0m | |
[32m should not be black[0m | |
red | |
[32m should eq 205[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 63[0m | |
green | |
[32m should eq 133[0m | |
using floats | |
without optional alpha | |
alpha | |
[32m should eq 255[0m | |
behaves like peru | |
[32m should not be white[0m | |
[32m should not be black[0m | |
red | |
[32m should eq 205[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 63[0m | |
green | |
[32m should eq 133[0m | |
with optional alpha | |
alpha | |
[32m should eq 100[0m | |
behaves like peru | |
[32m should not be white[0m | |
[32m should not be black[0m | |
red | |
[32m should eq 205[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 63[0m | |
green | |
[32m should eq 133[0m | |
light and dark | |
[32m dark color is dark[0m | |
[32m light color is light[0m | |
rgb | |
[32m accepts alpha[0m | |
[32m returns a new Shoes::Color object[0m | |
[32m allows alpha to be omitted[0m | |
black | |
without optional alpha | |
alpha | |
[32m should eq 255[0m | |
behaves like black | |
[32m should not be white[0m | |
[32m should be black[0m | |
red | |
[32m should eq 0[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 0[0m | |
green | |
[32m should eq 0[0m | |
with optional alpha | |
alpha | |
[32m should eq 0[0m | |
behaves like black | |
[32m should not be white[0m | |
[32m should be black[0m | |
red | |
[32m should eq 0[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 0[0m | |
green | |
[32m should eq 0[0m | |
using floats | |
without optional alpha | |
alpha | |
[32m should eq 255[0m | |
behaves like black | |
[32m should not be white[0m | |
[32m should be black[0m | |
red | |
[32m should eq 0[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 0[0m | |
green | |
[32m should eq 0[0m | |
with optional alpha | |
alpha | |
[32m should eq 0[0m | |
behaves like black | |
[32m should not be white[0m | |
[32m should be black[0m | |
red | |
[32m should eq 0[0m | |
class | |
[32m should eq Shoes::Color[0m | |
blue | |
[32m should eq 0[0m | |
green | |
[32m should eq 0[0m | |
transparency | |
[32m only opaque colors should be opaque[0m | |
[32m only transparent colors are transparent[0m | |
Basic Element Methods | |
strokewidth | |
[32m sets on receiver[0m | |
[32m returns a number[0m | |
[32m applies to subsequently created objects[0m | |
fill | |
[32m sets on receiver[0m | |
[32m returns a color[0m | |
[32m applies to subsequently created objects[0m | |
oval | |
[31m produces a Shoes::Oval (FAILED - 27)[0m | |
shape | |
[31m receives style from app (FAILED - 28)[0m | |
[31m example at ./spec/shoes/element_methods_spec.rb:63 (FAILED - 29)[0m | |
line | |
[32m makes a Shoes::Line[0m | |
rgb | |
[32m defaults to opaque[0m | |
[32m sends args to Shoes::Color[0m | |
flow | |
[32m should use self, gui_container, opts, blk[0m | |
stroke | |
[32m sets on receiver[0m | |
[32m returns a color[0m | |
[32m applies to subsequently created objects[0m | |
animate | |
with numeric argument | |
behaves like 10fps | |
framerate | |
[32m should eq 10[0m | |
behaves like basic | |
[32m should be an instance of Shoes::Animation[0m | |
defaults | |
framerate | |
[32m should eq 24[0m | |
behaves like basic | |
[32m should be an instance of Shoes::Animation[0m | |
Shoes::Button | |
initialize | |
[32m should set accessors[0m | |
behaves like movable object | |
[32m moves[0m | |
Shoes::Flow | |
initialize | |
[32m should set accessors[0m | |
Shoes::Oval | |
(eccentric) | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 200[0m | |
width | |
[32m should eq 100[0m | |
basic | |
behaves like object with fill | |
[32m sets on receiver[0m | |
[32m returns a color[0m | |
[32m defaults to black[0m | |
behaves like object with stroke | |
[32m sets on receiver[0m | |
[32m returns a color[0m | |
[32m defaults to black[0m | |
strokewidth | |
[32m sets[0m | |
[32m defaults to 1[0m | |
behaves like movable object | |
[32m moves[0m | |
(circle) created with style hash: | |
left, top, height, width, center: false | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
left, top, height, width | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
left, top, width, height, center: true | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
left, top, radius | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
(circle) created with explicit arguments: | |
radius | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
width and height | |
behaves like circle | |
[32m should be an instance of Shoes::Oval[0m | |
left | |
[32m should eq 20[0m | |
top | |
[32m should eq 30[0m | |
height | |
[32m should eq 100[0m | |
width | |
[32m should eq 100[0m | |
A Shoes Framework | |
[32m should include Framework Plugins[0m | |
Shoes::Shape | |
behaves like object with style | |
[31m merges new styles (FAILED - 30)[0m | |
behaves like object with stroke | |
[31m sets on receiver (FAILED - 31)[0m | |
[31m returns a color (FAILED - 32)[0m | |
[31m defaults to black (FAILED - 33)[0m | |
strokewidth | |
[31m sets (FAILED - 34)[0m | |
[31m defaults to 1 (FAILED - 35)[0m | |
octagon | |
top | |
[31m example at ./spec/shoes/shape_spec.rb:23 (FAILED - 36)[0m | |
height | |
[31m example at ./spec/shoes/shape_spec.rb:27 (FAILED - 37)[0m | |
right | |
[31m example at ./spec/shoes/shape_spec.rb:24 (FAILED - 38)[0m | |
bottom | |
[31m example at ./spec/shoes/shape_spec.rb:25 (FAILED - 39)[0m | |
behaves like movable object | |
[31m moves (FAILED - 40)[0m | |
left | |
[31m example at ./spec/shoes/shape_spec.rb:22 (FAILED - 41)[0m | |
width | |
[31m example at ./spec/shoes/shape_spec.rb:26 (FAILED - 42)[0m | |
behaves like movable object | |
[31m moves (FAILED - 43)[0m | |
Shoes::App | |
initialize | |
[32m should set default accessor values[0m | |
[32m should set accessors from constructor args[0m | |
[32m initializes style hash[0m | |
[32m should set accessors from opts[0m | |
stroke | |
[31m passes default to objects (FAILED - 44)[0m | |
[32m defaults to black[0m | |
[31m passes new value to objects (FAILED - 45)[0m | |
style | |
behaves like object with style | |
[32m merges new styles[0m | |
strokewidth | |
[31m passes default to objects (FAILED - 46)[0m | |
[32m defaults to 1[0m | |
[31m passes new values to objects (FAILED - 47)[0m | |
default styles | |
[31m is independent among Shoes::App instances (FAILED - 48)[0m | |
Shoes::Sound | |
gui_container | |
[32m should equal #<RSpec::Mocks::Mock:0x1980 @name="gui container">[0m | |
filepath | |
[32m should eq "../../samples/sounds/61847__simon-rue__boink-v3.wav"[0m | |
Shoes::Configuration | |
backend | |
[32m raises ArgumentError on bad input[0m | |
:mock | |
[32m sets backend to Shoes::Mock[0m | |
#logger | |
:log4j | |
[31m uses Log4j (FAILED - 49)[0m | |
:ruby | |
[31m uses the Ruby logger (FAILED - 50)[0m | |
#backend_for | |
[31m returns shape backend object (FAILED - 51)[0m | |
Shoes::Logger::Ruby | |
[32m delegates to a Logger instance[0m | |
Failures: | |
1) Shoes::Line basic behaves like movable object moves | |
[31mFailure/Error:[0m [31msubject.move(300, 200)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "movable object" called from ./spec/shoes/line_spec.rb:7 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/common_methods.rb:3:in `(root)'[0m | |
2) Shoes::Line basic behaves like object with stroke sets on receiver | |
[31mFailure/Error:[0m [31msubject.stroke = color[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/line_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:12:in `(root)'[0m | |
3) Shoes::Line basic behaves like object with stroke returns a color | |
[31mFailure/Error:[0m [31mc = subject.stroke = color[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/line_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:7:in `(root)'[0m | |
4) Shoes::Line basic behaves like object with stroke defaults to black | |
[31mFailure/Error:[0m [31msubject.stroke.should eq(Shoes::COLORS.fetch :black)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/line_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:19:in `(root)'[0m | |
5) Shoes::Line basic behaves like object with stroke strokewidth sets | |
[31mFailure/Error:[0m [31msubject.strokewidth = 2[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/line_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:28:in `(root)'[0m | |
6) Shoes::Line basic behaves like object with stroke strokewidth defaults to 1 | |
[31mFailure/Error:[0m [31msubject.strokewidth.should eq(1)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/line_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:5:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:24:in `(root)'[0m | |
7) Shoes::Line specified right-to-left, bottom-to-top behaves like basic line | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 60, 10, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:30 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:29:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:11:in `(root)'[0m | |
8) Shoes::Line specified right-to-left, bottom-to-top behaves like basic line left | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 60, 10, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:30 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:29:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:13:in `(root)'[0m | |
9) Shoes::Line specified right-to-left, bottom-to-top behaves like basic line top | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 60, 10, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:30 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:29:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:12:in `(root)'[0m | |
10) Shoes::Line specified right-to-left, bottom-to-top behaves like basic line height | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 60, 10, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:30 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:29:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:15:in `(root)'[0m | |
11) Shoes::Line specified right-to-left, bottom-to-top behaves like basic line width | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 60, 10, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:30 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:29:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:14:in `(root)'[0m | |
12) Shoes::Line created left-to-right, top-to-bottom behaves like basic line | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 15, 100, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:20 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:19:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:11:in `(root)'[0m | |
13) Shoes::Line created left-to-right, top-to-bottom behaves like basic line left | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 15, 100, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:20 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:19:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:13:in `(root)'[0m | |
14) Shoes::Line created left-to-right, top-to-bottom behaves like basic line top | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 15, 100, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:20 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:19:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:12:in `(root)'[0m | |
15) Shoes::Line created left-to-right, top-to-bottom behaves like basic line height | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 15, 100, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:20 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:19:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:15:in `(root)'[0m | |
16) Shoes::Line created left-to-right, top-to-bottom behaves like basic line width | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 15, 100, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:20 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:19:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:14:in `(root)'[0m | |
17) Shoes::Line specified right-to-left, top-to-bottom behaves like basic line | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 15, 10, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:25 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:24:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:11:in `(root)'[0m | |
18) Shoes::Line specified right-to-left, top-to-bottom behaves like basic line left | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 15, 10, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:25 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:24:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:13:in `(root)'[0m | |
19) Shoes::Line specified right-to-left, top-to-bottom behaves like basic line top | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 15, 10, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:25 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:24:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:12:in `(root)'[0m | |
20) Shoes::Line specified right-to-left, top-to-bottom behaves like basic line height | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 15, 10, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:25 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:24:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:15:in `(root)'[0m | |
21) Shoes::Line specified right-to-left, top-to-bottom behaves like basic line width | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(100, 15, 10, 60) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:25 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:24:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:14:in `(root)'[0m | |
22) Shoes::Line specified left-to-right, bottom-to-top behaves like basic line | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 60, 100, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:35 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:34:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:11:in `(root)'[0m | |
23) Shoes::Line specified left-to-right, bottom-to-top behaves like basic line left | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 60, 100, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:35 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:34:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:13:in `(root)'[0m | |
24) Shoes::Line specified left-to-right, bottom-to-top behaves like basic line top | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 60, 100, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:35 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:34:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:12:in `(root)'[0m | |
25) Shoes::Line specified left-to-right, bottom-to-top behaves like basic line height | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 60, 100, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:35 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:34:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:15:in `(root)'[0m | |
26) Shoes::Line specified left-to-right, bottom-to-top behaves like basic line width | |
[31mFailure/Error:[0m [31msubject { Shoes::Line.new(10, 60, 100, 15) }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "basic line" called from ./spec/shoes/line_spec.rb:35 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./spec/shoes/line_spec.rb:34:in `(root)'[0m | |
[36m # ./spec/shoes/line_spec.rb:14:in `(root)'[0m | |
27) Basic Element Methods oval produces a Shoes::Oval | |
[31mFailure/Error:[0m [31mElementMethodsShoeLaces.new.oval(10, 50, 250).should be_an_instance_of(Shoes::Oval)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/oval.rb:35:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:121:in `oval'[0m | |
[36m # ./spec/shoes/element_methods_spec.rb:48:in `(root)'[0m | |
28) Basic Element Methods shape receives style from app | |
[31mFailure/Error:[0m [31mapp.shape {[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:126:in `shape'[0m | |
[36m # ./spec/shoes/element_methods_spec.rb:55:in `(root)'[0m | |
[36m # ./spec/shoes/element_methods_spec.rb:68:in `(root)'[0m | |
29) Basic Element Methods shape | |
[31mFailure/Error:[0m [31mapp.shape {[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:126:in `shape'[0m | |
[36m # ./spec/shoes/element_methods_spec.rb:55:in `(root)'[0m | |
[36m # ./spec/shoes/element_methods_spec.rb:63:in `(root)'[0m | |
30) Shoes::Shape behaves like object with style merges new styles | |
[31mFailure/Error:[0m [31mold_style = subject.style[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with style" called from ./spec/shoes/shape_spec.rb:5 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/style.rb:3:in `(root)'[0m | |
31) Shoes::Shape behaves like object with stroke sets on receiver | |
[31mFailure/Error:[0m [31msubject.stroke = color[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/shape_spec.rb:4 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:12:in `(root)'[0m | |
32) Shoes::Shape behaves like object with stroke returns a color | |
[31mFailure/Error:[0m [31mc = subject.stroke = color[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/shape_spec.rb:4 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:7:in `(root)'[0m | |
33) Shoes::Shape behaves like object with stroke defaults to black | |
[31mFailure/Error:[0m [31msubject.stroke.should eq(Shoes::COLORS.fetch :black)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/shape_spec.rb:4 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:19:in `(root)'[0m | |
34) Shoes::Shape behaves like object with stroke strokewidth sets | |
[31mFailure/Error:[0m [31msubject.strokewidth = 2[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/shape_spec.rb:4 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:28:in `(root)'[0m | |
35) Shoes::Shape behaves like object with stroke strokewidth defaults to 1 | |
[31mFailure/Error:[0m [31msubject.strokewidth.should eq(1)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "object with stroke" called from ./spec/shoes/shape_spec.rb:4 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/shared_element_method.rb:24:in `(root)'[0m | |
36) Shoes::Shape octagon top | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:23:in `(root)'[0m | |
37) Shoes::Shape octagon height | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:27:in `(root)'[0m | |
38) Shoes::Shape octagon right | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:24:in `(root)'[0m | |
39) Shoes::Shape octagon bottom | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:25:in `(root)'[0m | |
40) Shoes::Shape octagon behaves like movable object moves | |
[31mFailure/Error:[0m [31msubject.move(300, 200)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "movable object" called from ./spec/shoes/shape_spec.rb:29 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shared_examples/common_methods.rb:3:in `(root)'[0m | |
41) Shoes::Shape octagon left | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:22:in `(root)'[0m | |
42) Shoes::Shape octagon width | |
[31mFailure/Error:[0m [31msubject { Shoes::Shape.new Hash.new, draw }[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shape_spec.rb:20:in `(root)'[0m | |
[36m # ./spec/shoes/shape_spec.rb:26:in `(root)'[0m | |
43) Shoes::Shape behaves like movable object moves | |
[31mFailure/Error:[0m [31msubject.move(300, 200)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
Shared Example Group: "movable object" called from ./spec/shoes/shape_spec.rb:6 | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/shape.rb:31:in `initialize'[0m | |
[36m # ./spec/shoes/shared_examples/common_methods.rb:3:in `(root)'[0m | |
44) Shoes::App stroke passes default to objects | |
[31mFailure/Error:[0m [31msubject.oval(100, 100, 100).style[:stroke].should eq(black)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/oval.rb:35:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:121:in `oval'[0m | |
[36m # ./spec/shoes/app_spec.rb:77:in `(root)'[0m | |
45) Shoes::App stroke passes new value to objects | |
[31mFailure/Error:[0m [31msubject.oval(100, 100, 100).style[:stroke].should eq(goldenrod)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/oval.rb:35:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:121:in `oval'[0m | |
[36m # ./spec/shoes/app_spec.rb:82:in `(root)'[0m | |
46) Shoes::App strokewidth passes default to objects | |
[31mFailure/Error:[0m [31msubject.line(0, 100, 100, 0).style[:strokewidth].should eq(1)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:108:in `line'[0m | |
[36m # ./spec/shoes/app_spec.rb:60:in `(root)'[0m | |
47) Shoes::App strokewidth passes new values to objects | |
[31mFailure/Error:[0m [31msubject.line(0, 100, 100, 0).style[:strokewidth].should eq(10)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:108:in `line'[0m | |
[36m # ./spec/shoes/app_spec.rb:65:in `(root)'[0m | |
48) Shoes::App default styles is independent among Shoes::App instances | |
[31mFailure/Error:[0m [31mapp1.line(0, 100, 100, 0).style[:strokewidth].should == 10[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./lib/shoes/line.rb:21:in `initialize'[0m | |
[36m # ./lib/shoes/element_methods.rb:108:in `line'[0m | |
[36m # ./spec/shoes/app_spec.rb:92:in `(root)'[0m | |
49) Shoes::Configuration#logger :log4j uses Log4j | |
[31mFailure/Error:[0m [31mShoes.logger.should be_an_instance_of(Shoes::Logger::Log4j)[0m | |
[31mexpected #<Log4jruby::Logger:0x1f4d7c0> to be an instance of Shoes::Logger::Log4j[0m | |
[36m # ./spec/shoes/configuration_spec.rb:19:in `(root)'[0m | |
50) Shoes::Configuration#logger :ruby uses the Ruby logger | |
[31mFailure/Error:[0m [31mShoes.logger.should be_an_instance_of(Shoes::Logger::Ruby)[0m | |
[31mexpected #<Logger:0x3580ab @logdev=#<Logger::LogDevice:0x9267fe @shift_age=nil, @filename=nil, @dev=#<IO:fd 1>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x1e96c95 @mon_count=0, @mon_mutex=#<Mutex:0x1d7b155>, @mon_owner=nil>, @shift_size=nil>, @formatter=nil, @progname=nil, @default_formatter=#<Logger::Formatter:0x1bb7081 @datetime_format=nil>, @level=0> to be an instance of Shoes::Logger::Ruby[0m | |
[36m # ./spec/shoes/configuration_spec.rb:11:in `(root)'[0m | |
51) Shoes::Configuration#backend_for returns shape backend object | |
[31mFailure/Error:[0m [31mShoes.configuration.backend_for(dsl_object, args).should be_instance_of(Shoes::Mock::Shape)[0m | |
[31mArgumentError:[0m | |
[31mwrong number of arguments (2 for 0)[0m | |
[36m # ./lib/shoes/configuration.rb:72:in `backend_for'[0m | |
[36m # ./spec/shoes/configuration_spec.rb:43:in `(root)'[0m | |
Finished in 1.03 seconds | |
[31m217 examples, 51 failures[0m | |
Failed examples: | |
[31mrspec ./spec/shoes/shared_examples/common_methods.rb:2[0m [36m# Shoes::Line basic behaves like movable object moves[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:11[0m [36m# Shoes::Line basic behaves like object with stroke sets on receiver[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:6[0m [36m# Shoes::Line basic behaves like object with stroke returns a color[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:18[0m [36m# Shoes::Line basic behaves like object with stroke defaults to black[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:27[0m [36m# Shoes::Line basic behaves like object with stroke strokewidth sets[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:23[0m [36m# Shoes::Line basic behaves like object with stroke strokewidth defaults to 1[0m | |
[31mrspec ./spec/shoes/line_spec.rb:11[0m [36m# Shoes::Line specified right-to-left, bottom-to-top behaves like basic line [0m | |
[31mrspec ./spec/shoes/line_spec.rb:13[0m [36m# Shoes::Line specified right-to-left, bottom-to-top behaves like basic line left [0m | |
[31mrspec ./spec/shoes/line_spec.rb:12[0m [36m# Shoes::Line specified right-to-left, bottom-to-top behaves like basic line top [0m | |
[31mrspec ./spec/shoes/line_spec.rb:15[0m [36m# Shoes::Line specified right-to-left, bottom-to-top behaves like basic line height [0m | |
[31mrspec ./spec/shoes/line_spec.rb:14[0m [36m# Shoes::Line specified right-to-left, bottom-to-top behaves like basic line width [0m | |
[31mrspec ./spec/shoes/line_spec.rb:11[0m [36m# Shoes::Line created left-to-right, top-to-bottom behaves like basic line [0m | |
[31mrspec ./spec/shoes/line_spec.rb:13[0m [36m# Shoes::Line created left-to-right, top-to-bottom behaves like basic line left [0m | |
[31mrspec ./spec/shoes/line_spec.rb:12[0m [36m# Shoes::Line created left-to-right, top-to-bottom behaves like basic line top [0m | |
[31mrspec ./spec/shoes/line_spec.rb:15[0m [36m# Shoes::Line created left-to-right, top-to-bottom behaves like basic line height [0m | |
[31mrspec ./spec/shoes/line_spec.rb:14[0m [36m# Shoes::Line created left-to-right, top-to-bottom behaves like basic line width [0m | |
[31mrspec ./spec/shoes/line_spec.rb:11[0m [36m# Shoes::Line specified right-to-left, top-to-bottom behaves like basic line [0m | |
[31mrspec ./spec/shoes/line_spec.rb:13[0m [36m# Shoes::Line specified right-to-left, top-to-bottom behaves like basic line left [0m | |
[31mrspec ./spec/shoes/line_spec.rb:12[0m [36m# Shoes::Line specified right-to-left, top-to-bottom behaves like basic line top [0m | |
[31mrspec ./spec/shoes/line_spec.rb:15[0m [36m# Shoes::Line specified right-to-left, top-to-bottom behaves like basic line height [0m | |
[31mrspec ./spec/shoes/line_spec.rb:14[0m [36m# Shoes::Line specified right-to-left, top-to-bottom behaves like basic line width [0m | |
[31mrspec ./spec/shoes/line_spec.rb:11[0m [36m# Shoes::Line specified left-to-right, bottom-to-top behaves like basic line [0m | |
[31mrspec ./spec/shoes/line_spec.rb:13[0m [36m# Shoes::Line specified left-to-right, bottom-to-top behaves like basic line left [0m | |
[31mrspec ./spec/shoes/line_spec.rb:12[0m [36m# Shoes::Line specified left-to-right, bottom-to-top behaves like basic line top [0m | |
[31mrspec ./spec/shoes/line_spec.rb:15[0m [36m# Shoes::Line specified left-to-right, bottom-to-top behaves like basic line height [0m | |
[31mrspec ./spec/shoes/line_spec.rb:14[0m [36m# Shoes::Line specified left-to-right, bottom-to-top behaves like basic line width [0m | |
[31mrspec ./spec/shoes/element_methods_spec.rb:47[0m [36m# Basic Element Methods oval produces a Shoes::Oval[0m | |
[31mrspec ./spec/shoes/element_methods_spec.rb:65[0m [36m# Basic Element Methods shape receives style from app[0m | |
[31mrspec ./spec/shoes/element_methods_spec.rb:63[0m [36m# Basic Element Methods shape [0m | |
[31mrspec ./spec/shoes/shared_examples/style.rb:2[0m [36m# Shoes::Shape behaves like object with style merges new styles[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:11[0m [36m# Shoes::Shape behaves like object with stroke sets on receiver[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:6[0m [36m# Shoes::Shape behaves like object with stroke returns a color[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:18[0m [36m# Shoes::Shape behaves like object with stroke defaults to black[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:27[0m [36m# Shoes::Shape behaves like object with stroke strokewidth sets[0m | |
[31mrspec ./spec/shoes/shared_examples/shared_element_method.rb:23[0m [36m# Shoes::Shape behaves like object with stroke strokewidth defaults to 1[0m | |
[31mrspec ./spec/shoes/shape_spec.rb:23[0m [36m# Shoes::Shape octagon top [0m | |
[31mrspec ./spec/shoes/shape_spec.rb:27[0m [36m# Shoes::Shape octagon height [0m | |
[31mrspec ./spec/shoes/shape_spec.rb:24[0m [36m# Shoes::Shape octagon right [0m | |
[31mrspec ./spec/shoes/shape_spec.rb:25[0m [36m# Shoes::Shape octagon bottom [0m | |
[31mrspec ./spec/shoes/shared_examples/common_methods.rb:2[0m [36m# Shoes::Shape octagon behaves like movable object moves[0m | |
[31mrspec ./spec/shoes/shape_spec.rb:22[0m [36m# Shoes::Shape octagon left [0m | |
[31mrspec ./spec/shoes/shape_spec.rb:26[0m [36m# Shoes::Shape octagon width [0m | |
[31mrspec ./spec/shoes/shared_examples/common_methods.rb:2[0m [36m# Shoes::Shape behaves like movable object moves[0m | |
[31mrspec ./spec/shoes/app_spec.rb:76[0m [36m# Shoes::App stroke passes default to objects[0m | |
[31mrspec ./spec/shoes/app_spec.rb:80[0m [36m# Shoes::App stroke passes new value to objects[0m | |
[31mrspec ./spec/shoes/app_spec.rb:59[0m [36m# Shoes::App strokewidth passes default to objects[0m | |
[31mrspec ./spec/shoes/app_spec.rb:63[0m [36m# Shoes::App strokewidth passes new values to objects[0m | |
[31mrspec ./spec/shoes/app_spec.rb:87[0m [36m# Shoes::App default styles is independent among Shoes::App instances[0m | |
[31mrspec ./spec/shoes/configuration_spec.rb:18[0m [36m# Shoes::Configuration#logger :log4j uses Log4j[0m | |
[31mrspec ./spec/shoes/configuration_spec.rb:10[0m [36m# Shoes::Configuration#logger :ruby uses the Ruby logger[0m | |
[31mrspec ./spec/shoes/configuration_spec.rb:42[0m [36m# Shoes::Configuration#backend_for returns shape backend object[0m | |
Randomized with seed 18712 | |
Coverage report generated for RSpec to D:/tmp/shoes4/coverage. 1023 / 1023 LOC (100.0%) covered. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment