Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c0b6370053
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.649 kB
require 'test/unit'
require 'remycoutable_1.rb'
$r = IO.read('../xmlfiles/result.xml').gsub(/\s/, '')
$s1 = '../xmlfiles/source1.xml'
$s2 = '../xmlfiles/source2.xml'
$s3 = '../xmlfiles/source3.xml'
$out = 'xml_output'
class TransformerTest < Test::Unit::TestCase
def stub_method s
transformer = Rymai::XmlTransformer.new(s)
transformer.transform
#assert_equal $r, transformer.to_s.gsub(/\s/, '').gsub('encoding="UTF-8"', '')
assert_equal $r, transformer.to_s.gsub(/\s/, '')
end
def test_source1
stub_method $s1
end
def test_source2
stub_method $s2
end
def test_source3
stub_method $s3
end
end
Jump to Line
Something went wrong with that request. Please try again.