1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
* Other contributors include Andrew Wright, Jeffrey Hayes, |
6 |
|
* Pat Fisher, Mike Judd. |
7 |
|
*/ |
8 |
|
|
9 |
< |
import junit.framework.*; |
9 |
> |
import junit.framework.Test; |
10 |
> |
import junit.framework.TestSuite; |
11 |
|
|
12 |
|
public class SystemTest extends JSR166TestCase { |
13 |
|
public static void main(String[] args) { |
14 |
< |
junit.textui.TestRunner.run(suite()); |
14 |
> |
main(suite(), args); |
15 |
|
} |
16 |
|
|
17 |
|
public static Test suite() { |
21 |
|
/** |
22 |
|
* Worst case rounding for millisecs; set for 60 cycle millis clock. |
23 |
|
* This value might need to be changed on JVMs with coarser |
24 |
< |
* System.currentTimeMillis clocks. |
24 |
> |
* System.currentTimeMillis clocks. |
25 |
|
*/ |
26 |
|
static final long MILLIS_ROUND = 17; |
27 |
|
|