
* Adding support for GPX 1.0 as well as 1.1 (since libxml namespace parsing was hard-coded to 1.1. previously). * Adding a GPX 1.0 unit test file. * Miscellaneous updates to make it work with Ruby 1.8.6.
13 lines
311 B
Ruby
13 lines
311 B
Ruby
require 'test/unit'
|
|
require File.dirname(__FILE__) + '/../lib/gpx'
|
|
|
|
class TestGPX10 < Test::Unit::TestCase
|
|
GPX_FILE = File.join(File.dirname(__FILE__), "gpx_files/gpx10.gpx")
|
|
|
|
def test_read
|
|
# make sure we can read a GPX 1.0 file
|
|
@gpx_file = GPX::GPXFile.new(:gpx_file => GPX_FILE)
|
|
end
|
|
|
|
end
|