OSDN Git Service
(root)
/
mikutoga
/
Pmd2XML.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ユニットテスト下請け修正
[mikutoga/Pmd2XML.git]
/
src
/
test
/
java
/
testdata
/
TestDriver.java
diff --git
a/src/test/java/testdata/TestDriver.java
b/src/test/java/testdata/TestDriver.java
index
8b4a952
..
eb0fa09
100644
(file)
--- a/
src/test/java/testdata/TestDriver.java
+++ b/
src/test/java/testdata/TestDriver.java
@@
-7,17
+7,16
@@
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.Test;
+import static org.junit.Assert.*;
+
/**
* 使い捨てテスト用ドライバ。
*/
public class TestDriver {
/**
* 使い捨てテスト用ドライバ。
*/
public class TestDriver {
- static{
- assert Test.class != null;
- }
-
@BeforeClass
public static void setUpClass() {
}
@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 テスト失敗
*/
* @throws Exception テスト失敗
*/
- //@Test
+ @Test
+ @Ignore
public void main() throws Exception{
public void main() throws Exception{
+ assertTrue(true);
+// fail();
+ return;
}
}
}
}