OSDN Git Service

ユニットテスト下請け修正
[mikutoga/Pmd2XML.git] / src / test / java / testdata / TestDriver.java
index 8b4a952..eb0fa09 100644 (file)
@@ -7,17 +7,16 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 
+import static org.junit.Assert.*;
+
 /**
  * 使い捨てテスト用ドライバ。
  */
 public class TestDriver {
 
-    static{
-        assert Test.class != null;
-    }
-
     @BeforeClass
     public static void setUpClass() {
     }
@@ -36,12 +35,16 @@ public class TestDriver {
 
     /**
      * 使い捨てテスト本体。
-     * <p>ã\83\86ã\82¹ã\83\88ã\81\8cçµ\82ã\82\8fã\81£ã\81\9fã\82\89å¿\85ã\81\9aå\85\83ã\81«æ\88»ã\81\97ã\81¦
-     * アノテーション"Test"をコメントアウトするように
+     * <p>ã\83\86ã\82¹ã\83\88ã\82\92è¡\8cã\81\86æ\99\82ã\81¯
+     * アノテーション"Ignore"をコメントアウト
      * @throws Exception テスト失敗
      */
-    //@Test
+    @Test
+    @Ignore
     public void main() throws Exception{
+        assertTrue(true);
+//        fail();
+        return;
     }
 
 }