Subject: | two tests fail on windows |
Tests ./t/990-normal.t and ./t/999-simple.t fail with the following
results. I have no idea where this come from.
It's on windows with perl 5.10.0.
990-normal.t
1..19
ok 1 - use Chart::Clicker;
ok 2 - use Chart::Clicker::Axis;
ok 3 - use Chart::Clicker::Data::DataSet;
ok 4 - use Chart::Clicker::Data::Series;
ok 5 - use Chart::Clicker::Decoration::Grid;
ok 6 - use Chart::Clicker::Decoration::Label;
ok 7 - use Chart::Clicker::Decoration::Legend;
ok 8 - use Chart::Clicker::Decoration::Plot;
ok 9 - use Chart::Clicker::Drawing;
ok 10 - use Chart::Clicker::Drawing::Container;
ok 11 - use Chart::Clicker::Renderer::Area;
ok 12 - use Chart::Clicker::Renderer::Bar;
ok 13 - use Chart::Clicker::Renderer::Line;
ok 14 - use Chart::Clicker::Renderer::Point;
ok 15 - new Chart::Clicker
ok 16 - new Legend
ok 17 - new Axis
ok 18 - new Plot
ok 19 - new Renderer
Attribute (dataset_count) does not pass the type constraint because:
Validation failed for 'Int' failed with value undef at (eval 189) line 7
Chart::Clicker::Renderer::Base::dataset_count
('Chart::Clicker::Renderer::Point=HASH(0x1256e54)', undef) called at .
\lib/Chart/Clicker/Decoration/Plot.pm line 66
Chart::Clicker::Decoration::Plot::prepare
('Chart::Clicker::Decoration::Plot=HASH(0x124f614)',
'Chart::Clicker=HASH(0x124c2cc)',
'Chart::Clicker::Drawing::Dimension=HASH(0x125d644)') called at .\lib/
Chart/Clicker/Drawing/Container.pm line 114
Chart::Clicker::Drawing::Container::prepare('Chart::Clicker=HASH
(0x124c2cc)', 'Chart::Clicker=HASH(0x124c2cc)',
'Chart::Clicker::Drawing::Dimension=HASH(0x1257d54)') called at .\lib/
Chart/Clicker.pm line 213
Chart::Clicker::prepare('Chart::Clicker=HASH(0x124c2cc)')
called at .\t\990-normal.t line 113
# Looks like your test died just after 19.
999-simple.t
1..3
ok 1 - use Chart::Clicker::Simple;
ok 2 - use Chart::Clicker::Renderer::Line;
Attribute (format) does not pass the type constraint because:
Validation failed for 'Str' failed with value undef at (eval 128) line 7
Chart::Clicker::Axis::format('Chart::Clicker::Axis=HASH
(0x9d2074)', undef) called at .\lib/Chart/Clicker/Simple.pm line 73
Chart::Clicker::Simple::new('Chart::Clicker::Simple', 'HASH
(0x1220d5c)') called at .\t\999-simple.t line 8
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
Radek