OSDN Git Service

remove unused file
authormasahino <masahino@0978bef0-6439-0410-a06b-a62e4d60c955>
Tue, 16 Mar 2010 13:59:05 +0000 (13:59 +0000)
committermasahino <masahino@0978bef0-6439-0410-a06b-a62e4d60c955>
Tue, 16 Mar 2010 13:59:05 +0000 (13:59 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lbw/ldblogwriter/trunk@102 0978bef0-6439-0410-a06b-a62e4d60c955

test/test-command.rb [deleted file]
test/test-ldblogwriter.rb

diff --git a/test/test-command.rb b/test/test-command.rb
deleted file mode 100644 (file)
index 951a01c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: utf-8 -*-
-$LOAD_PATH.unshift '../lib'
-
-require 'test/unit'
-require 'ldblogwriter/config.rb'
-require 'ldblogwriter/command.rb'
-require 'ldblogwriter/entry.rb'
-
-class TestCommand < Test::Unit::TestCase
-  def setup
-  end
-
-  def test_google_auth_token
-  end
-
-  def test_get_auth_info
-    com = LDBlogWriter::Command.new('hoge')
-    assert_raise(ArgumentError) {com.get_auth_info("hoge", "huga")}
-
-    com = LDBlogWriter::Command.new
-    assert_equal('wsse', com.auth_type)
-    ret = com.get_auth_info("hoge", "huga")
-    assert_equal('X-WSSE', ret.keys[0])
-
-    com = LDBlogWriter::Command.new('google')
-    assert_equal('google', com.auth_type)
-#    ret = com.get_auth_info("hoge", "huga")
-#    assert_equal('Authorization', ret.keys[0])
-  end
-
-  def test_get
-  end
-
-  def test_upload
-  end
-
-  def test_post
-    test_entry = LDBlogWriter::BlogEntry.new(LDBlogWriter::Config.new('test.conf'),
-                                             "タイトル",
-                                             "カテゴリ",
-                                             "コンテンツ")
-    LDBlogWriter::Command.new.post('http://localhost:8080/', 'user', 'pass', 
-                                   test_entry)
-  end
-
-  def test_edit
-  end
-
-  def test_delete
-  end
-
-end
index 3f18014..d425f8f 100644 (file)
@@ -4,7 +4,6 @@ require 'test/unit'
 require 'ldblogwriter.rb'
 
 require 'test/test-atom_response.rb'
-require 'test/test-atompub.rb'
 require 'test/test-config.rb'
 require 'test/test-entry.rb'
 require 'test/test-entry_manager.rb'