summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rexml/test_lightparser.rb
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/test/rexml/test_lightparser.rb
Fresh start
Diffstat (limited to 'jni/ruby/test/rexml/test_lightparser.rb')
-rw-r--r--jni/ruby/test/rexml/test_lightparser.rb15
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