Home
last modified time | relevance | path

Searched refs:exampleClass (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java133 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldDelegateClassLoadForUnacquiredClasses() local
134 assertSame(getClass().getClassLoader(), exampleClass.getClassLoader()); in shouldDelegateClassLoadForUnacquiredClasses()
140 Class<?> exampleClass = classLoader.loadClass(AnUninstrumentedClass.class.getName()); in shouldPerformClassLoadForAcquiredClasses() local
141 assertSame(classLoader, exampleClass.getClassLoader()); in shouldPerformClassLoadForAcquiredClasses()
143 exampleClass.getField(ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME); in shouldPerformClassLoadForAcquiredClasses()
153 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() local
154 assertSame(classLoader, exampleClass.getClassLoader()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses()
155 Field roboDataField = exampleClass.getField(ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses()
164 Modifier.isFinal(exampleClass.getField("STATIC_FINAL_FIELD").getModifiers())).isFalse(); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses()
166 Modifier.isFinal(exampleClass.getField("nonstaticFinalField").getModifiers())).isFalse(); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses()
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DExamplesTest.java50 for (Class<?> exampleClass : AllExamples.CLASSES) { in testExamplesRun()
60 main = exampleClass.getDeclaredMethod("main", String[].class); in testExamplesRun()
66 "Example " + exampleClass.getSimpleName() + "\n" in testExamplesRun()