simplegeo / geocoder

Modular Street Address Geocoder
http:///www.geocommons.com
45 stars 6 forks source link

Errors while executing tests/run.rb #5

Open gpearson opened 13 years ago

gpearson commented 13 years ago

Loaded suite tests/run Started ............EF.....EEEEEEEEEEEE Finished in 0.051634 seconds.

1) Error: test_po_box(TestAddress): ArgumentError: assertion message must be String or Proc, but TrueClass was given. /root/geocoder/simplegeo/geocoder-2011-06-20/tests/address.rb:64:in `test_po_box'

2) Failure: test_skip_parse(TestAddress) [/root/geocoder/simplegeo/geocoder-2011-06-20/tests/address.rb:182]: <"main st"> expected but was <"1233 main st">.

3) Error: test_city_state_together(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

4) Error: test_city_with_street_type_in_name(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

5) Error: test_intersection(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

6) Error: test_load(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

7) Error: test_place(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

8) Error: test_sample(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

9) Error: test_should_geocode_with_hash(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

10) Error: test_should_get_street_number_correctly(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

11) Error: test_should_work_with_partial_hash(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

12) Error: test_state_street_together(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

13) Error: test_weird_edge_case_explosion(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

14) Error: test_zip(TestDatabase): TypeError: can't convert nil into String /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:in exists?' /root/geocoder/simplegeo/geocoder-2011-06-20/lib/geocoder/us/database.rb:38:ininitialize' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:in new' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:17:inget_db' /root/geocoder/simplegeo/geocoder-2011-06-20/tests/database.rb:25:in `setup'

31 tests, 156 assertions, 1 failures, 13 errors, 0 skips

Test run options: --seed 44558

The command to get this result was ruby tests/run.rb as mentioned within the README.rdoc file. Is documentation someplace that can point me into a direction to make the tests run cleanly.