test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java
equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4673940 4930794 |
26 * @bug 4673940 4930794 8211842 |
27 * @summary Unit tests for inetd feature |
27 * @summary Unit tests for inetd feature |
28 * @requires (os.family == "linux" | os.family == "solaris") |
28 * @requires (os.family == "linux" | os.family == "solaris") |
29 * @library /test/lib |
29 * @library /test/lib |
30 * @build jdk.test.lib.Utils |
30 * @build jdk.test.lib.Utils |
31 * jdk.test.lib.Asserts |
31 * jdk.test.lib.Asserts |
32 * jdk.test.lib.JDKToolFinder |
32 * jdk.test.lib.JDKToolFinder |
33 * jdk.test.lib.JDKToolLauncher |
33 * jdk.test.lib.JDKToolLauncher |
34 * jdk.test.lib.Platform |
34 * jdk.test.lib.Platform |
35 * jdk.test.lib.process.* |
35 * jdk.test.lib.process.* |
36 * StateTest StateTestService EchoTest EchoService CloseTest Launcher Util |
36 * UnixSocketTest StateTest StateTestService EchoTest EchoService CloseTest Launcher Util |
37 * @run testng/othervm/native InheritedChannelTest |
37 * @run testng/othervm/native InheritedChannelTest |
38 * @key intermittent |
38 * @key intermittent |
39 */ |
39 */ |
40 |
40 |
41 import java.nio.file.Files; |
41 import java.nio.file.Files; |
71 = Paths.get(System.getProperty("java.library.path")); |
71 = Paths.get(System.getProperty("java.library.path")); |
72 |
72 |
73 @DataProvider |
73 @DataProvider |
74 public Object[][] testCases() { |
74 public Object[][] testCases() { |
75 return new Object[][]{ |
75 return new Object[][]{ |
|
76 { "UnixSocketTest", List.of(UnixSocketTest.class.getName())}, |
76 { "StateTest", List.of(StateTest.class.getName()) }, |
77 { "StateTest", List.of(StateTest.class.getName()) }, |
77 { "EchoTest", List.of(EchoTest.class.getName()) }, |
78 { "EchoTest", List.of(EchoTest.class.getName()) }, |
78 { "CloseTest", List.of(CloseTest.class.getName()) }, |
79 { "CloseTest", List.of(CloseTest.class.getName()) }, |
79 |
80 |
80 // run StateTest with a SecurityManager set |
81 // run StateTest with a SecurityManager set |