Moved and renamed files to conform to Ruby's test suite.
80 files changed, 17 insertions(+), 17 deletions(-)

M test/LostineRiver.kml.gz => test/data/LostineRiver.kml.gz
M test/ProductionSupport.xml => test/data/ProductionSupport.xml
M test/xml/axis.xml => test/data/axis.xml
M test/bad.xml => test/data/bad.xml
M test/xml/basic.xml => test/data/basic.xml
M test/xml/basicupdate.xml => test/data/basicupdate.xml
M test/broken.rss => test/data/broken.rss
M test/xml/contents.xml => test/data/contents.xml
M test/xml/defaultNamespace.xml => test/data/defaultNamespace.xml
M test/euc.xml => test/data/euc.xml
M test/xml/evaluate.xml => test/data/evaluate.xml
M test/xml/fibo.xml => test/data/fibo.xml
M test/foo.xml => test/data/foo.xml
M test/xml/google.2.xml => test/data/google.2.xml
M test/xml/id.xml => test/data/id.xml
M test/iso8859-1.xml => test/data/iso8859-1.xml
M test/xml/jaxen24.xml => test/data/jaxen24.xml
M test/xml/jaxen3.xml => test/data/jaxen3.xml
M test/xml/lang.xml => test/data/lang.xml
M test/lang.xml => test/data/lang0.xml
M test/xml/message.xml => test/data/message.xml
M test/xml/moreover.xml => test/data/moreover.xml
M test/xml/much_ado.xml => test/data/much_ado.xml
M test/xml/namespaces.xml => test/data/namespaces.xml
M test/xml/nitf.xml => test/data/nitf.xml
M test/xml/numbers.xml => test/data/numbers.xml
M test/xml/ofbiz-issues-full-177.xml => test/data/ofbiz-issues-full-177.xml
M test/xml/pi.xml => test/data/pi.xml
M test/xml/pi2.xml => test/data/pi2.xml
M test/xml/simple.xml => test/data/simple.xml
M test/stream_accents.xml => test/data/stream_accents.xml
M test/xml/t63-1.xml => test/data/t63-1.xml
M test/xml/t63-2.svg => test/data/t63-2.svg
M test/xml/t75.xml => test/data/t75.xml
M test/xml/test/tests.xml => test/data/test/tests.xml
M test/xml/test/tests.xsl => test/data/test/tests.xsl
M test/xml/testNamespaces.xml => test/data/testNamespaces.xml
M test/testsrc.xml => test/data/testsrc.xml
M test/xml/text.xml => test/data/text.xml
M test/xml/ticket_110_utf16.xml => test/data/ticket_110_utf16.xml
M test/xml/ticket_61.xml => test/data/ticket_61.xml
M test/xml/ticket_68.xml => test/data/ticket_68.xml
M test/xml/underscore.xml => test/data/underscore.xml
M test/xml/web.xml => test/data/web.xml
M test/xml/web2.xml => test/data/web2.xml
M test/working.rss => test/data/working.rss
M test/xmlfile-bug.xml => test/data/xmlfile-bug.xml
M test/xp.tst => test/data/xp.tst
M test/yahoo.xml => test/data/yahoo.xml
M test/attributes.rb => test/test_attributes.rb
M test/tc_attributes_mixin.rb => test/test_attributes_mixin.rb
M test/changing_encoding.rb => test/test_changing_encoding.rb
M test/contrib_test.rb => test/test_contrib.rb
M test/core_test.rb => test/test_core.rb
M test/tc_doctype_mixin.rb => test/test_doctype_mixin.rb
M test/elements.rb => test/test_elements.rb
M test/encoding.rb => test/test_encoding.rb
M test/encodingtest.rb => test/test_encoding_2.rb
M test/entity.rb => test/test_entity.rb
M test/functions.rb => test/test_functions.rb
M test/jaxen.rb => test/test_jaxen.rb
M test/lighttester.rb => test/test_light.rb
M test/lightparser.rb => test/test_lightparser.rb
M test/listenertest.rb => test/test_listener.rb
M test/martin_fowler.rb => test/test_martin_fowler.rb
M test/tc_notationdecl_mixin.rb => test/test_notationdecl_mixin.rb
M test/notationdecl_parsetest.rb => test/test_notationdecl_parsetest.rb
M test/ordertester.rb => test/test_order.rb
M test/preceding-sibling.rb => test/test_preceding_sibling.rb
M test/pullparser.rb => test/test_pullparser.rb
M test/sax.rb => test/test_sax.rb
M test/stream.rb => test/test_stream.rb
M test/ticket_80.rb => test/test_ticket_80.rb
M test/validation_rng.rb => test/test_validation_rng.rb
M test/tc_xml_declaration_parent_child.rb => test/test_xml_declaration_parent_child.rb
M test/xpath_test.rb => test/test_xpath.rb
M test/rexml_xpath_attribute_query.rb => test/test_xpath_attribute_query.rb
M test/xpath_test_msw.rb => test/test_xpath_msw.rb
M test/xpath_test_pred.rb => test/test_xpath_pred.rb
M test/tc_xpathtext.rb => test/test_xpathtext.rb
M test/LostineRiver.kml.gz => test/data/LostineRiver.kml.gz +0 -0

M test/ProductionSupport.xml => test/data/ProductionSupport.xml +0 -0

M test/xml/axis.xml => test/data/axis.xml +0 -0

M test/bad.xml => test/data/bad.xml +0 -0

M test/xml/basic.xml => test/data/basic.xml +0 -0

M test/xml/basicupdate.xml => test/data/basicupdate.xml +0 -0

M test/broken.rss => test/data/broken.rss +0 -0

M test/xml/contents.xml => test/data/contents.xml +0 -0

M test/xml/defaultNamespace.xml => test/data/defaultNamespace.xml +0 -0

M test/euc.xml => test/data/euc.xml +0 -0

M test/xml/evaluate.xml => test/data/evaluate.xml +0 -0

M test/xml/fibo.xml => test/data/fibo.xml +0 -0

M test/foo.xml => test/data/foo.xml +0 -0

M test/xml/google.2.xml => test/data/google.2.xml +0 -0

M test/xml/id.xml => test/data/id.xml +0 -0

M test/iso8859-1.xml => test/data/iso8859-1.xml +0 -0

M test/xml/jaxen24.xml => test/data/jaxen24.xml +0 -0

M test/xml/jaxen3.xml => test/data/jaxen3.xml +0 -0

M test/xml/lang.xml => test/data/lang.xml +0 -0

M test/lang.xml => test/data/lang0.xml +0 -0

M test/xml/message.xml => test/data/message.xml +0 -0

M test/xml/moreover.xml => test/data/moreover.xml +0 -0

M test/xml/much_ado.xml => test/data/much_ado.xml +0 -0

M test/xml/namespaces.xml => test/data/namespaces.xml +0 -0

M test/xml/nitf.xml => test/data/nitf.xml +0 -0

M test/xml/numbers.xml => test/data/numbers.xml +0 -0

M test/xml/ofbiz-issues-full-177.xml => test/data/ofbiz-issues-full-177.xml +0 -0

M test/xml/pi.xml => test/data/pi.xml +0 -0

M test/xml/pi2.xml => test/data/pi2.xml +0 -0

M test/xml/simple.xml => test/data/simple.xml +0 -0

M test/stream_accents.xml => test/data/stream_accents.xml +0 -0

M test/xml/t63-1.xml => test/data/t63-1.xml +0 -0

M test/xml/t63-2.svg => test/data/t63-2.svg +0 -0

M test/xml/t75.xml => test/data/t75.xml +0 -0

M test/xml/test/tests.xml => test/data/test/tests.xml +0 -0

M test/xml/test/tests.xsl => test/data/test/tests.xsl +0 -0

M test/xml/testNamespaces.xml => test/data/testNamespaces.xml +0 -0

M test/testsrc.xml => test/data/testsrc.xml +0 -0

M test/xml/text.xml => test/data/text.xml +0 -0

M test/xml/ticket_110_utf16.xml => test/data/ticket_110_utf16.xml +0 -0

M test/xml/ticket_61.xml => test/data/ticket_61.xml +0 -0

M test/xml/ticket_68.xml => test/data/ticket_68.xml +0 -0

M test/xml/underscore.xml => test/data/underscore.xml +0 -0

M test/xml/web.xml => test/data/web.xml +0 -0

M test/xml/web2.xml => test/data/web2.xml +0 -0

M test/working.rss => test/data/working.rss +0 -0

M test/xmlfile-bug.xml => test/data/xmlfile-bug.xml +0 -0

M test/xp.tst => test/data/xp.tst +0 -0

M test/yahoo.xml => test/data/yahoo.xml +0 -0

M test/attributes.rb => test/test_attributes.rb +0 -0

M test/tc_attributes_mixin.rb => test/test_attributes_mixin.rb +0 -0

M test/changing_encoding.rb => test/test_changing_encoding.rb +0 -0

M test/contrib_test.rb => test/test_contrib.rb +4 -4
@@ 275,7 275,7 @@ EOF
     f.write( tn, Output.new(o = "", "ISO-8859-1") )
 		assert_equal(expected_iso, o.strip)
 
-		doc = Document.new File.new('test/xmlfile-bug.xml')
+		doc = Document.new File.new('test/data/xmlfile-bug.xml')
 		tn = XPath.first(doc, "//nebenspalte/text()[2]")
 		assert_equal(expected_utf, tn.to_s.strip)
     f.write( tn, Output.new(o = "", "ISO-8859-1") )

          
@@ 295,7 295,7 @@ EOF
 	end
 
 	def test_namespaces_in_attlist_tobias
-		in_string = File.open('test/foo.xml', 'r') do |file|
+		in_string = File.open('test/data/foo.xml', 'r') do |file|
 			 file.read
 		end
 

          
@@ 309,7 309,7 @@ EOF
 
 	#  Alun ap Rhisiart
 	def test_less_than_in_element_content
-		source = File.new('test/ProductionSupport.xml')
+		source = File.new('test/data/ProductionSupport.xml')
 		h = Hash.new
 		doc = REXML::Document.new source
 		doc.elements.each("//CommonError") { |el| 

          
@@ 450,7 450,7 @@ EOL
 	def test_external_entity
 		xp = '//channel/title'
 
-		%w{working.rss broken.rss}.each do |path|
+		%w{data/working.rss data/broken.rss}.each do |path|
 			File.open(File.join( "test", path )) do |file|
 				doc = REXML::Document.new file.readlines.join('')
 

          
M test/core_test.rb => test/test_core.rb +5 -5
@@ 634,7 634,7 @@ class Tester < Test::Unit::TestCase
   end
 
   def test_line
-    doc = Document.new File.new( "test/bad.xml" )
+    doc = Document.new File.new( "test/data/bad.xml" )
     assert_fail "There should have been an error"
   rescue Exception
     # We should get here

          
@@ 846,7 846,7 @@ EOL
   end
 
   def test_attlist_write
-    file=File.new("test/foo.xml" ) 
+    file=File.new("test/data/foo.xml" ) 
     doc=Document.new file 
     root = doc.root 
 

          
@@ 1121,7 1121,7 @@ EOL
 
   def test_repeated_writes
     require 'iconv'
-    a = IO.read( "test/iso8859-1.xml" )
+    a = IO.read( "test/data/iso8859-1.xml" )
     f = REXML::Formatters::Pretty.new
 
     xmldoc = REXML::Document.new( a )

          
@@ 1211,11 1211,11 @@ EOL
   end
 
   def test_ticket_63
-    d = REXML::Document.new( File.new("test/xml/t63-1.xml") )
+    d = REXML::Document.new( File.new("test/data/t63-1.xml") )
   end
 
   def test_ticket_75
-    d = REXML::Document.new( File.new("test/xml/t75.xml") )
+    d = REXML::Document.new( File.new("test/data/t75.xml") )
     assert_equal("tree", d.root.name)
   end
 

          
M test/tc_doctype_mixin.rb => test/test_doctype_mixin.rb +0 -0

M test/elements.rb => test/test_elements.rb +0 -0

M test/encoding.rb => test/test_encoding.rb +0 -0

M test/encodingtest.rb => test/test_encoding_2.rb +0 -0

M test/entity.rb => test/test_entity.rb +0 -0

M test/functions.rb => test/test_functions.rb +0 -0

M test/jaxen.rb => test/test_jaxen.rb +0 -0

M test/lighttester.rb => test/test_light.rb +0 -0

M test/lightparser.rb => test/test_lightparser.rb +0 -0

M test/listenertest.rb => test/test_listener.rb +1 -1
@@ 90,7 90,7 @@ class BaseTester < Test::Unit::TestCase
                 end
 		assert_equal( 'é', a.value)
 		doc = REXML::Document.parse_stream(
-			File::new("test/stream_accents.xml"),
+			File::new("test/data/stream_accents.xml"),
 			AccentListener::new
 			)
 	end

          
M test/martin_fowler.rb => test/test_martin_fowler.rb +0 -0

M test/tc_notationdecl_mixin.rb => test/test_notationdecl_mixin.rb +0 -0

M test/notationdecl_parsetest.rb => test/test_notationdecl_parsetest.rb +0 -0

M test/ordertester.rb => test/test_order.rb +1 -1
@@ 29,7 29,7 @@ class OrderTester < Test::Unit::TestCase
    end
    # Provided by Tom Talbott
    def test_more_ordering
-     doc = REXML::Document.new( Zlib::GzipReader.new( File.new( 'test/LostineRiver.kml.gz' ) ) )
+     doc = REXML::Document.new( Zlib::GzipReader.new( File.new( 'test/data/LostineRiver.kml.gz' ) ) )
      actual = [
         "Head south from Phinney Ave N",
         "Turn left at N 36th St",

          
M test/preceding-sibling.rb => test/test_preceding_sibling.rb +0 -0

M test/pullparser.rb => test/test_pullparser.rb +0 -0

M test/sax.rb => test/test_sax.rb +0 -0

M test/stream.rb => test/test_stream.rb +0 -0

M test/ticket_80.rb => test/test_ticket_80.rb +0 -0

M test/validation_rng.rb => test/test_validation_rng.rb +0 -0

M test/tc_xml_declaration_parent_child.rb => test/test_xml_declaration_parent_child.rb +0 -0

M test/xpath_test.rb => test/test_xpath.rb +6 -6
@@ 185,7 185,7 @@ class XPathTester < Test::Unit::TestCase
 	end
 
 	def no_test_ancestor
-		doc = REXML::Document.new(File.new("test/testsrc.xml"))
+		doc = REXML::Document.new(File.new("test/data/testsrc.xml"))
 		doc.elements.each("//item") { |el| print el.name
 			if el.attributes['x']
 				puts " -- "+el.attributes['x']

          
@@ 208,8 208,8 @@ class XPathTester < Test::Unit::TestCase
 	# This method reads a document from a file, and then a series of xpaths, 
 	# also from a file.  It then checks each xpath against the source file.
 	def test_more
-    xmlsource   = "test/testsrc.xml"
-    xpathtests  = "test/xp.tst"
+    xmlsource   = "test/data/testsrc.xml"
+    xpathtests  = "test/data/xp.tst"
 
 		doc = REXML::Document.new(File.new(xmlsource))
 		#results = ""

          
@@ 313,7 313,7 @@ class XPathTester < Test::Unit::TestCase
 	end
 
 	def test_lang
-		doc = Document.new(File.new("test/lang.xml"))
+		doc = Document.new(File.new("test/data/lang.xml"))
     #puts IO.read( "test/lang.xml" )
 
     #puts XPath.match( doc, "//language/*" ).size

          
@@ 934,10 934,10 @@ EOF
   def test_ticket_43
     #url = http://news.search.yahoo.com/news/rss?p=market&ei=UTF-8&fl=0&x=wrt 
 
-    sum = Document.new(File.new("test/yahoo.xml")).elements.to_a("//item").size
+    sum = Document.new(File.new("test/data/yahoo.xml")).elements.to_a("//item").size
     assert_equal( 10, sum )
 
-    text = Document.new(File.new("test/yahoo.xml")).elements.to_a(%Q{//title[contains(text(), "'")]}).collect{|e| e.text}.join
+    text = Document.new(File.new("test/data/yahoo.xml")).elements.to_a(%Q{//title[contains(text(), "'")]}).collect{|e| e.text}.join
     assert_equal( "Broward labor market's a solid performer (Miami Herald)", text )
   end
 

          
M test/rexml_xpath_attribute_query.rb => test/test_xpath_attribute_query.rb +0 -0

M test/xpath_test_msw.rb => test/test_xpath_msw.rb +0 -0

M test/xpath_test_pred.rb => test/test_xpath_pred.rb +0 -0

M test/tc_xpathtext.rb => test/test_xpathtext.rb +0 -0