Searched refs:testClass (Results 1 - 24 of 24) sorted by relevance

/openjdk10/hotspot/test/runtime/verifier/popTopTests/
H A DPopDupTop.java35 public static void testClass(String class_name, String msg) throws Throwable { method in class:PopDupTop
50 testClass("dup_x1", "dup_x1 of long,ref");
51 testClass("dup2toptop", "dup2 of top,top");
52 testClass("dup2longtop", "dup2 of long,top");
53 testClass("dup2_x1", "dup2_x1 long,ref,ref");
54 testClass("dup2_x2", "dup2_x2 top");
55 testClass("dup2_x2_long_refs", "dup2_x2 long,ref,ref,ref");
56 testClass("poptop", "pop of top");
57 testClass("poptoptop", "pop of top,top");
58 testClass("pop2topto
[all...]
/openjdk10/langtools/test/tools/javac/generics/
H A DCrash01.java36 value.testClass();
40 class TestClass1{ public void testClass(){} } method in class:TestClass1
/openjdk10/hotspot/test/runtime/SelectionResolution/classes/selectionresolution/
H A DTestBuilder.java32 private final ClassConstruct testClass; field in class:TestBuilder
39 testClass = new Clazz("Test", null, -1, ACC_PUBLIC);
42 mainMethod = testClass.addMethod("main", "([Ljava/lang/String;)V", ACC_PUBLIC + ACC_STATIC);
48 return testClass;
/openjdk10/jdk/test/javax/management/mxbean/
H A DLeakTest.java73 for (Class<?> testClass : otherTests)
74 test(testClass);
112 Class<?> testClass = Class.forName(className, false, shadowLoader);
113 if (testClass.getClassLoader() != shadowLoader) {
115 testClass.getClassLoader() + " != " + shadowLoader);
117 Method main = testClass.getMethod("main", String[].class);
/openjdk10/langtools/test/tools/javac/modules/
H A DAnnotationProcessorsInModulesTest.java116 private static final String testClass = "class Test{}"; field in class:AnnotationProcessorsInModulesTest
164 .sources(testClass)
180 .sources(testClass)
193 .sources(testClass)
211 .sources(testClass)
228 .sources(testClass)
H A DPluginsInModulesTest.java93 private static final String testClass = "class Test { }"; field in class:PluginsInModulesTest
135 .sources(testClass)
/openjdk10/hotspot/test/compiler/jvmci/compilerToVM/
H A DGetConstantPoolTest.java66 public static void testClass(Class cls) { method in class:GetConstantPoolTest
79 TestCase.getAllClasses().forEach(GetConstantPoolTest::testClass);
/openjdk10/jdk/test/java/net/URLClassLoader/getresourceasstream/
H A DTestDriver.java96 Path testClass = Paths.get(System.getProperty("test.classes"),
100 Files.copy(testClass, userDir.resolve(TEST_NAME + ".class"),
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/
H A DDriver.java86 String testClass = testClassOf(method, testClassName);
93 ClassFile cf = compileAndReturn(fullFile, testClass, extraParams);
196 private ClassFile compileAndReturn(String fullFile, String testClass, String... extraParams) throws Exception { argument
197 File source = writeTestFile(fullFile, testClass);
198 File clazzFile = compileTestFile(source, testClass, extraParams);
202 protected File writeTestFile(String fullFile, String testClass) throws IOException { argument
203 File f = new File(getClassDir(), format("%s.java", testClass));
214 protected File compileTestFile(File f, String testClass, String... extraParams) { argument
222 return new File(path, format("%s.class", testClass));
/openjdk10/jdk/test/java/lang/Class/getEnclosingClass/
H A DEnclosingClassTest.java95 static void testClass(Class<?> c, TestMe annotation, Field f) { method in class:EnclosingClassTest
122 testClass((Class<?>)f.get(tests), annotation, f);
/openjdk10/hotspot/test/serviceability/jvmti/GetOwnedMonitorInfo/
H A DlibGetOwnedMonitorInfoTest.c69 jclass testClass; local
71 testClass = (*env)->FindClass(env, TEST_CLASS);
72 if (testClass == NULL) {
79 return (*env)->IsInstanceOf(env, monitor, testClass);
/openjdk10/langtools/test/tools/javac/classfiles/attributes/annotations/
H A DTestCase.java304 TestClassInfo testClass = new TestClassInfo(indention + 1, classType, className, mods);
305 if (innerClasses.put(className, testClass) != null) {
308 return testClass;
401 TestClassInfo testClass = new TestClassInfo(indention + 1, ClassType.CLASS, className, mods);
402 if (localClasses.put(className, testClass) != null) {
405 return testClass;
/openjdk10/langtools/test/tools/javap/
H A DTestSuperclass.java119 File testClass = new File(testDir, "Test.class");
120 String out = javap(testClass);
/openjdk10/langtools/test/tools/javac/tree/
H A DTestPrettyDocComment.java73 public void testClass() throws IOException { method in class:TestPrettyDocComment
/openjdk10/jdk/test/java/lang/StringBuffer/
H A DTestSynchronization.java73 testClass(MyTestClass.class, /*
77 testClass(StringBuffer.class, /*
92 private static void testClass(Class<?> aClass, boolean isSelfTest) throws method in class:TestSynchronization
/openjdk10/langtools/test/tools/javac/file/
H A DExplodedImage.java83 Path testClass = targetPath.resolve(("java/lang/" + TEST_FILE).replace("/", sep));
84 Files.createDirectories(testClass.getParent());
85 Files.createFile(testClass);
/openjdk10/hotspot/test/compiler/uncommontrap/
H A DTestUnstableIfTrap.java150 Class testClass = ByteCodeLoader.load(CLASS_NAME,
152 testMethod = testClass.getDeclaredMethod(METHOD_NAME,
/openjdk10/langtools/test/tools/sjavac/
H A DApiExtraction.java161 PubType testClass = new PubType(setOf(PUBLIC, FINAL),
168 return new PubApi(asList(testClass), emptyList(), emptyList());
/openjdk10/jdk/test/java/lang/annotation/
H A DTypeVariableBounds.java45 public void testClass(Class<?> c) throws Exception { method in class:TypeVariableBounds
/openjdk10/langtools/test/jdk/jshell/
H A DAnalyzeSnippetTest.java89 public void testClass() { method in class:AnalyzeSnippetTest
H A DCompletionSuggestionTest.java493 public void testClass() { method in class:CompletionSuggestionTest
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DJSR166TestCase.java448 Class<?> testClass = Class.forName(testClassName);
449 Method m = testClass.getDeclaredMethod("suite",
607 public static ArrayList<String> testMethodNames(Class<?> testClass) { argument
608 Method[] methods = testClass.getDeclaredMethods();
626 (Class<? extends JSR166TestCase> testClass,
632 testClass.getDeclaredConstructor(dataClass, String.class);
633 for (String methodName : testMethodNames(testClass))
647 (Class<? extends JSR166TestCase> testClass,
651 String name = testClass.getName();
625 parameterizedTestSuite(Class<? extends JSR166TestCase> testClass, Class<ExtraData> dataClass, ExtraData data) argument
646 jdk8ParameterizedTestSuite(Class<? extends JSR166TestCase> testClass, Class<ExtraData> dataClass, ExtraData data) argument
/openjdk10/langtools/make/test/sym/
H A DCreateSymbolsTestImpl.java412 void doTestEquivalence(String code7, String code8, String testClass) throws Exception { argument
414 Path classfile = classes.resolve("78").resolve(testClass.replace('.', '/') + ".class");
/openjdk10/langtools/test/jdk/javadoc/doclet/testFramesNoFrames/
H A DTestFramesNoFrames.java159 void testClass(Path base, FrameKind fKind, OverviewKind oKind, HtmlKind hKind) throws Exception { method in class:TestFramesNoFrames

Completed in 306 milliseconds