Home
last modified time | relevance | path

Searched refs:dexInspector (Results 1 – 4 of 4) sorted by relevance

/external/r8/src/test/java/com/android/tools/r8/jsr45/
DJSR45Tests.java151 DexInspector dexInspector = in testSourceDebugExtensionWithShrinking4() local
153 ClassSubject classSubject = dexInspector.clazz("HelloKt"); in testSourceDebugExtensionWithShrinking4()
166 DexInspector dexInspector = in checkAnnotationContent() local
168 ClassSubject classSubject = dexInspector.clazz("HelloKt"); in checkAnnotationContent()
/external/r8/src/test/java/com/android/tools/r8/rewrite/longcompare/
DLongCompare.java62 DexInspector dexInspector = new DexInspector(dexPath); in testLongCompareIsRewritten() local
63 ClassSubject classSubject = dexInspector.clazz("rewrite.LongCompare"); in testLongCompareIsRewritten()
DRequireNonNullRewriteTest.java81 DexInspector dexInspector = new DexInspector(dexPath); in runTest() local
82 ClassSubject classSubject = dexInspector.clazz("rewrite.RequireNonNull"); in runTest()
/external/r8/src/test/java/com/android/tools/r8/shaking/
DTreeShakingTest.java314 private static void shaking11OnlyOneClassKept(DexInspector dexInspector) { in shaking11OnlyOneClassKept() argument
315 Assert.assertFalse(dexInspector.clazz("shaking11.Subclass").isPresent()); in shaking11OnlyOneClassKept()
316 Assert.assertTrue(dexInspector.clazz("shaking11.SubclassWithMethod").isPresent()); in shaking11OnlyOneClassKept()
319 private static void shaking11BothMethodsKept(DexInspector dexInspector) { in shaking11BothMethodsKept() argument
321 dexInspector.clazz("shaking11.Subclass").method("void", "aMethod", Collections.emptyList()) in shaking11BothMethodsKept()
324 dexInspector.clazz("shaking11.SuperClass") in shaking11BothMethodsKept()
327 Assert.assertTrue(dexInspector.clazz("shaking11.SubclassWithMethod") in shaking11BothMethodsKept()