Bugs: Browse | Submit New | Admin

[#28625] osmlib-0.1.4 fails tests

Date:
2010-10-06 15:55
Priority:
3
Submitted By:
Hans de Graaff (graaff)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
osmlib-0.1.4 fails tests

Detailed description
When I try to run the tests distributed in osmlib-0.1.4 I'm getting the following failures. The first failure is easy
to fix by providing the test/test.osm file that is in SVN, so please provide that in future gem releases as well.

I have not investigated the second test yet, but it is not solved by providing the test.osm file.

  1) Error:
test_create_with_file(TestParser):
Errno::ENOENT: ./lib/OSM/StreamParser/REXML.rb:29:in `initialize': No such file or directory - test/test.osm
    ./lib/OSM/StreamParser.rb:265:in `new'
    ./lib/OSM/StreamParser/REXML.rb:29:in `new'
    ./lib/OSM/StreamParser/REXML.rb:29:in `initialize'
    (eval):1:in `new'
    (eval):1:in `new'
    ./test/test_parser.rb:39:in `eval'
    ./lib/OSM/StreamParser.rb:265:in `new'
    ./test/test_parser.rb:39:in `test_create_with_file'

  2) Failure:
test_way(TestXml) [./test/test_xml.rb:141]:
<["42", "43"]> expected but was
<["85", "87"]>.

97 tests, 362 assertions, 1 failures, 1 errors

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item