19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import java.io.File; |
|
25 import java.io.IOException; |
24 import java.io.IOException; |
26 import java.io.PrintStream; |
|
27 import java.lang.annotation.Annotation; |
|
28 import java.lang.annotation.Retention; |
|
29 import java.lang.annotation.RetentionPolicy; |
|
30 import java.lang.reflect.InvocationTargetException; |
|
31 import java.lang.reflect.Method; |
|
32 import java.nio.file.FileVisitResult; |
|
33 import java.nio.file.Files; |
|
34 import java.nio.file.Path; |
25 import java.nio.file.Path; |
35 import java.nio.file.Paths; |
26 import java.nio.file.Paths; |
36 import java.nio.file.SimpleFileVisitor; |
|
37 import java.nio.file.attribute.BasicFileAttributes; |
|
38 import java.util.ArrayList; |
|
39 import java.util.Arrays; |
|
40 import java.util.List; |
|
41 import java.util.Set; |
|
42 import java.util.TreeSet; |
|
43 import java.util.stream.Collectors; |
|
44 |
27 |
45 import toolbox.JavacTask; |
|
46 import toolbox.TestRunner; |
28 import toolbox.TestRunner; |
47 import toolbox.ToolBox; |
29 import toolbox.ToolBox; |
48 |
30 |
49 /** |
31 /** |
50 * Base class for module tests. |
32 * Base class for module tests. |