summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rexml/test_lightparser.rb
blob: f8212dcd2ea8a174f368e34b33a335c17eb90d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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