Searched refs:exitValue (Results 1 - 25 of 130) sorted by relevance

123456

/openjdk10/jdk/test/java/awt/regtesthelpers/process/
H A DProcessResults.java35 private int exitValue; field in class:ProcessResults
40 exitValue = -1;
46 return exitValue;
103 if (exitValue != 0) {
105 "Returned value is " + exitValue);
123 synchronized void setExitValue(int exitValue) { argument
124 this.exitValue = exitValue;
/openjdk10/jdk/test/tools/launcher/modules/limitmods/
H A DLimitModsTest.java72 int exitValue;
75 exitValue = executeTestJava("--limit-modules", "java.base", "--list-modules")
83 assertTrue(exitValue == 0);
87 exitValue = executeTestJava("--limit-modules", "java.logging", "--list-modules")
95 assertTrue(exitValue == 0);
103 int exitValue;
106 exitValue = executeTestJava("--limit-modules", "java.base",
116 assertTrue(exitValue == 0);
121 exitValue = executeTestJava("--limit-modules", "java.base",
128 assertTrue(exitValue !
[all...]
/openjdk10/jdk/test/tools/launcher/modules/addreads/
H A DAddReadsTest.java97 int exitValue
104 assertTrue(exitValue == 0);
116 int exitValue
123 assertTrue(exitValue == 0);
132 int exitValue
139 assertTrue(exitValue != 0);
149 int exitValue
156 assertTrue(exitValue != 0);
165 int exitValue
172 assertTrue(exitValue
[all...]
H A DAddReadsTestWarningError.java155 int exitValue =
164 assertTrue(exitValue != 0);
187 int exitValue =
196 assertTrue(exitValue == 0);
218 int exitValue = executeTestJava(args)
224 assertTrue(exitValue != 0);
/openjdk10/jdk/test/tools/launcher/modules/dryrun/
H A DDryRunTest.java106 int exitValue = exec("--dry-run", "--module-path", dir, "-m", mid);
107 assertTrue(exitValue == 0);
117 int exitValue = exec("--dry-run", "--module-path", dir, "-m", mid);
118 assertTrue(exitValue == 0);
121 exitValue = exec("--module-path", dir, "-m", mid);
122 assertTrue(exitValue != 0);
132 int exitValue = exec("--dry-run", "--module-path", dir,
135 assertTrue(exitValue != 0);
147 int exitValue = exec("-classpath", libs, MAIN_CLASS);
148 assertTrue(exitValue
[all...]
/openjdk10/jdk/test/tools/launcher/modules/addmods/
H A DAddModsTest.java89 int exitValue
98 assertTrue(exitValue == 0);
109 int exitValue
119 assertTrue(exitValue != 0);
129 int exitValue
139 assertTrue(exitValue == 0);
152 int exitValue
162 assertTrue(exitValue == 0);
175 int exitValue
185 assertTrue(exitValue !
[all...]
/openjdk10/jdk/test/tools/launcher/modules/basic/
H A DBasicTest.java105 int exitValue = exec("--module-path", dir, "--module", mid);
106 assertTrue(exitValue == 0);
109 exitValue = exec("--module-path", subdir, "--module", mid);
110 assertTrue(exitValue == 0);
113 exitValue = exec("--module-path=" + dir, "--module=" + mid);
114 assertTrue(exitValue == 0);
117 exitValue = exec("--module-path=" + subdir, "--module=" + mid);
118 assertTrue(exitValue == 0);
121 exitValue = exec("-p", dir, "-m", mid);
122 assertTrue(exitValue
[all...]
/openjdk10/jdk/test/tools/launcher/modules/addexports/
H A DAddExportsTest.java113 int exitValue
120 assertTrue(exitValue == 0);
133 int exitValue
141 assertTrue(exitValue == 0);
154 int exitValue =
162 assertTrue(exitValue == 0);
174 int exitValue = executeTestJava(
183 assertTrue(exitValue == 0);
195 int exitValue = executeTestJava(
204 assertTrue(exitValue
[all...]
H A DAddExportsTestWarningError.java180 int exitValue = executeTestJava(args)
186 assertTrue(exitValue != 0);
190 int exitValue =
199 assertTrue(exitValue == 0);
203 int exitValue =
212 assertTrue(exitValue != 0);
/openjdk10/jdk/test/tools/launcher/modules/showmoduleresolution/
H A DShowModuleResolutionTest.java45 int exitValue = ProcessTools.executeTestJava(args)
51 assertTrue(exitValue == 0);
59 int exitValue = ProcessTools.executeTestJava(args)
73 assertTrue(exitValue == 0);
/openjdk10/jdk/test/tools/launcher/modules/describe/
H A DDescribeModuleTest.java45 int exitValue = ProcessTools.executeTestJava(args)
54 assertTrue(exitValue == 0);
61 int exitValue = ProcessTools.executeTestJava(args)
69 assertTrue(exitValue == 0);
73 * Test output/exitValue when describing an unknown module
76 int exitValue = ProcessTools.executeTestJava(args)
81 assertTrue(exitValue != 0);
/openjdk10/jdk/test/java/nio/file/spi/
H A DSetDefaultProvider.java71 int exitValue = exec(SET_DEFAULT_FSP, "-cp", classpath, "p.Main");
72 assertTrue(exitValue == 0);
81 int exitValue = exec(SET_DEFAULT_FSP, "-p", modulePath, "-m", "m/p.Main");
82 assertTrue(exitValue == 0);
91 int exitValue = exec(SET_DEFAULT_FSP, "-p", jarFile, "-m", "m/p.Main");
92 assertTrue(exitValue == 0);
102 int exitValue = exec(SET_DEFAULT_FSP,
106 assertTrue(exitValue == 0);
118 int exitValue = exec(SET_DEFAULT_FSP,
122 assertTrue(exitValue
[all...]
/openjdk10/jdk/test/sun/security/tools/jarsigner/
H A DAltProvider.java136 private static void testBoth(String args, int exitValue, String contains) argument
138 testKeytool(args, exitValue, contains);
139 testJarsigner(args, exitValue, contains);
142 // Test keytool with extra options and check exitValue and output
143 private static void testKeytool(String args, int exitValue, String contains) argument
146 .shouldHaveExitValue(exitValue)
150 // Test jarsigner with extra options and check exitValue and output
151 private static void testJarsigner(String args, int exitValue, String contains) argument
154 .shouldHaveExitValue(exitValue)
/openjdk10/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/
H A DBasicModularXMLParserTest.java80 int exitValue
87 assertTrue(exitValue == 0);
94 int exitValue
102 assertTrue(exitValue == 0);
109 int exitValue
117 assertTrue(exitValue == 0);
/openjdk10/jdk/test/jdk/modules/scenarios/overlappingpackages/
H A DOverlappingPackagesTest.java78 int exitValue
85 assertTrue(exitValue == 0);
94 int exitValue
102 assertTrue(exitValue != 0);
109 int exitValue
117 assertTrue(exitValue != 0);
/openjdk10/langtools/test/tools/jdeps/modules/
H A DUnnamedPackage.java51 int exitValue = jdeps.run();
52 if (exitValue == 0) {
53 throw new RuntimeException("expected non-zero exitValue");
/openjdk10/jdk/test/javax/management/ImplementationVersion/
H A DImplVersionTest.java82 int exitValue = proc.waitFor();
84 exitValue);
85 if (exitValue != 0) {
88 System.exit(exitValue);
/openjdk10/jdk/test/javax/management/remote/mandatory/version/
H A DImplVersionTest.java81 int exitValue = proc.waitFor();
84 exitValue);
85 if (exitValue != 0) {
88 System.exit(exitValue);
/openjdk10/jdk/test/tools/launcher/modules/patch/basic/
H A DPatchTestWarningError.java122 int exitValue =
133 assertTrue(exitValue != 0);
157 int exitValue =
166 assertTrue(exitValue == 0);
176 int exitValue =
187 assertTrue(exitValue == 0);
213 int exitValue =
222 assertTrue(exitValue != 0);
/openjdk10/hotspot/test/gc/metaspace/
H A DCompressedClassSpaceSizeInJmapHeap.java80 int exitValue = p.exitValue();
81 if (exitValue != 0) {
82 throw new Exception("jmap -heap exited with error code: " + exitValue);
/openjdk10/jdk/test/java/util/logging/modules/
H A DGetResourceBundleTest.java88 int exitValue = executeTestJava(
96 assertTrue(exitValue == 0);
101 int exitValue = executeTestJava(
110 assertTrue(exitValue == 0);
/openjdk10/jdk/test/tools/launcher/modules/upgrademodulepath/
H A DUpgradeModulePathTest.java95 int exitValue
104 assertTrue(exitValue == 0);
119 int exitValue
128 assertTrue(exitValue == 0);
/openjdk10/hotspot/test/gc/arguments/
H A DTestG1HeapRegionSize.java47 private static void checkG1HeapRegionSize(String[] flags, int expectedValue, int exitValue) throws Exception { argument
56 output.shouldHaveExitValue(exitValue);
58 if (exitValue == 0) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javah/
H A DUtil.java59 Exit(int exitValue) { argument
60 this(exitValue, null);
63 Exit(int exitValue, Throwable cause) { argument
65 this.exitValue = exitValue;
70 this(e.exitValue, e.cause);
73 public final int exitValue; field in class:Util.Exit
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DCountedLoopTest.java66 public int exitValue; field in class:CountedLoopTest.Result
72 result = prime * result + exitValue;
83 return extremum == other.extremum && exitValue == other.exitValue;
88 return String.format("extremum = %d, exitValue = %d", extremum, exitValue);
100 ret.exitValue = get(InductionVariable::exitValueNode, i);
127 ret.exitValue = get(InductionVariable::exitValueNode, i);
154 ret.exitValue = get(InductionVariable::exitValueNode, i);
181 ret.exitValue
[all...]

Completed in 248 milliseconds

123456