diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 08:58:18 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 08:58:18 +0000 |
commit | eb8598146dcaa23230deceddff91e862e26d1b0f (patch) | |
tree | 2da1b55d258823ae845f45437f75bc949a7505d2 /test | |
parent | b79b5815f02f74338dcf6d1e9d072564bec78c4f (diff) |
* lib/rss/rss.rb: RSS::Element#calc_indent became to be deprecated.
* lib/rss/0.9.rb: ditto.
* lib/rss/1.0.rb: ditto.
* lib/rss/image.rb: ditto.
* lib/rss/taxonomy.rb: ditto.
* lib/rss/trackback.rb: ditto.
* test/rss/test_1.0.rb: removed RSS::Element.indent_size tests.
* test/rss/test_2.0.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rss/test_1.0.rb | 11 | ||||
-rw-r--r-- | test/rss/test_2.0.rb | 17 |
2 files changed, 0 insertions, 28 deletions
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb index 3266e00393..ff3c8a402e 100644 --- a/test/rss/test_1.0.rb +++ b/test/rss/test_1.0.rb @@ -245,16 +245,5 @@ module RSS rss20 = RSS::Parser.parse(rss.to_xml("2.0")) assert_equal("2.0", rss20.rss_version) end - - def test_indent_size - assert_equal(0, RDF.indent_size) - assert_equal(1, RDF::Channel.indent_size) - assert_equal(2, RDF::Channel::Image.indent_size) - assert_equal(2, RDF::Channel::Textinput.indent_size) - assert_equal(2, RDF::Channel::Items.indent_size) - assert_equal(1, RDF::Image.indent_size) - assert_equal(1, RDF::Item.indent_size) - assert_equal(1, RDF::Textinput.indent_size) - end end end diff --git a/test/rss/test_2.0.rb b/test/rss/test_2.0.rb index b0e6b17165..d39c297ab7 100644 --- a/test/rss/test_2.0.rb +++ b/test/rss/test_2.0.rb @@ -386,22 +386,5 @@ module RSS rss10 = RSS::Parser.parse(rss10) assert_equal("1.0", rss10.rss_version) end - - def test_indent_size - assert_equal(0, Rss.indent_size) - assert_equal(1, Rss::Channel.indent_size) - assert_equal(2, Rss::Channel::SkipDays.indent_size) - assert_equal(3, Rss::Channel::SkipDays::Day.indent_size) - assert_equal(2, Rss::Channel::SkipHours.indent_size) - assert_equal(3, Rss::Channel::SkipHours::Hour.indent_size) - assert_equal(2, Rss::Channel::Image.indent_size) - assert_equal(2, Rss::Channel::Cloud.indent_size) - assert_equal(2, Rss::Channel::Item.indent_size) - assert_equal(3, Rss::Channel::Item::Source.indent_size) - assert_equal(3, Rss::Channel::Item::Enclosure.indent_size) - assert_equal(3, Rss::Channel::Item::Category.indent_size) - assert_equal(3, Rss::Channel::Item::Guid.indent_size) - assert_equal(2, Rss::Channel::TextInput.indent_size) - end end end |