- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAllTests.java
More file actions
Latest commit
20 lines (16 loc) · 560 Bytes
/
Copy pathAllTests.java
File metadata and controls
20 lines (16 loc) · 560 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
importorg.junit.runner.RunWith;
importorg.junit.runners.Suite;
importjunit.framework.JUnit4TestAdapter;
// This section declares all of the test classes in your program.
@RunWith(Suite.class)
@Suite.SuiteClasses({ TestJSONObject.class })
publicclassAllTests {
publicstaticvoidmain (String[] args) {
junit.textui.TestRunner.run (suite());
}
// The suite() method is helpful when using JUnit 3
// Test Runners or Ant.
publicstaticjunit.framework.Testsuite() {
returnnewJUnit4TestAdapter(AllTests.class);
}
}