diff options
Diffstat (limited to 'jni/ruby/test/rexml/test_lightparser.rb')
| -rw-r--r-- | jni/ruby/test/rexml/test_lightparser.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/jni/ruby/test/rexml/test_lightparser.rb b/jni/ruby/test/rexml/test_lightparser.rb new file mode 100644 index 0000000..f8212dc --- /dev/null +++ b/jni/ruby/test/rexml/test_lightparser.rb @@ -0,0 +1,15 @@ +require_relative 'rexml_test_utils' +require 'rexml/parsers/lightparser' + +module REXMLTests + class LightParserTester < Test::Unit::TestCase + include REXMLTestUtils + include REXML + def test_parsing + File.open(fixture_path("documentation.xml")) do |f| + parser = REXML::Parsers::LightParser.new( f ) + parser.parse + end + end + end +end |
