Last active
August 29, 2015 14:08
-
-
Save cedricvidal/44f2a73c9265d656e66e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import junit.framework.TestCase; | |
import org.junit.runner.RunWith; | |
import org.junit.runners.AllTests; | |
import junit.framework.TestSuite; | |
@RunWith(AllTests.class) | |
public final class MasterTester { | |
public static TestSuite suite() { | |
TestSuite suite = new TestSuite(); | |
for (int i = 0; i < 10; i++) { | |
TestSuite a = new TestSuite("a" + i); | |
for (int j = 0; j < 3; j++) { | |
a.addTest(new TestCase("a" + i + "m" + j) { | |
@Override | |
protected void runTest() throws Throwable { | |
} | |
}); | |
} | |
suite.addTest(a); | |
} | |
return suite; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment