• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作業部屋の使い方を試しています。


Commit MetaInfo

Revision15 (tree)
Time2014-06-10 22:22:07
Authortuna_p

Log Message

(empty log message)

Change Summary

Incremental Difference

--- JUnit-Sample/test/sample/JUnit3TestSuite.java (nonexistent)
+++ JUnit-Sample/test/sample/JUnit3TestSuite.java (revision 15)
@@ -0,0 +1,30 @@
1+/*
2+ * To change this license header, choose License Headers in Project Properties.
3+ * To change this template file, choose Tools | Templates
4+ * and open the template in the editor.
5+ */
6+
7+package sample;
8+
9+import junit.framework.Test;
10+import junit.framework.TestCase;
11+import junit.framework.TestSuite;
12+
13+/**
14+ *
15+ * @author kgto
16+ */
17+public class JUnit3TestSuite extends TestCase {
18+
19+ public JUnit3TestSuite(String testName) {
20+ super(testName);
21+ }
22+
23+ public static Test suite() {
24+ TestSuite suite = new TestSuite("JUnit3TestSuite");
25+ suite.addTest(new TestSuite(sample.VectorsJUnit3Test.class));
26+ suite.addTest(new TestSuite(sample.UtilsJUnit3Test.class));
27+ return suite;
28+ }
29+
30+}
--- JUnit-Sample/test/sample/JUnit4TestSuite.java (nonexistent)
+++ JUnit-Sample/test/sample/JUnit4TestSuite.java (revision 15)
@@ -0,0 +1,20 @@
1+/*
2+ * To change this license header, choose License Headers in Project Properties.
3+ * To change this template file, choose Tools | Templates
4+ * and open the template in the editor.
5+ */
6+
7+package sample;
8+
9+import org.junit.runner.RunWith;
10+import org.junit.runners.Suite;
11+
12+/**
13+ *
14+ * @author kgto
15+ */
16+@RunWith(Suite.class)
17+@Suite.SuiteClasses({sample.UtilsJUnit4Test.class, sample.VectorsJUnit4Test.class})
18+public class JUnit4TestSuite {
19+
20+}
--- JUnit-Sample/test/sample/UtilsJUnit4Test.java (revision 14)
+++ JUnit-Sample/test/sample/UtilsJUnit4Test.java (revision 15)
@@ -107,7 +107,7 @@
107107 fail("The test case is a prototype.");
108108 }
109109 */
110- @Ignore
110+ //@Ignore
111111 @Test
112112 public void temporarilyDisabledTest() throws Exception {
113113 System.out.println("* UtilsJUnit4Test: test method 4 - checkExpectedException()");