HomeSort by relevance Sort by last modified time
    Searched full:androidtranslator (Results 1 - 6 of 6) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
RobolectricClassLoader.java 14 private AndroidTranslator androidTranslator;
23 delegateLoadingOf(AndroidTranslator.class.getName());
34 classCache = new ClassCache(new File(classCacheDirectory, "cached-robolectric-classes.jar").getAbsolutePath(), AndroidTranslator.CACHE_VERSION);
39 androidTranslator = new AndroidTranslator(classHandler, classCache, customClassNames);
40 addTranslator(classPool, androidTranslator);
49 androidTranslator.addCustomShadowClass(classOrPackageToBeInstrumented);
AndroidTranslator.java 13 public class AndroidTranslator implements Translator {
27 public AndroidTranslator(ClassHandler classHandler, ClassCache classCache) {
41 public AndroidTranslator(ClassHandler classHandler, ClassCache classCache, List<String> customShadowClassNames) {
74 "classHandler = " + AndroidTranslator.class.getName() + ".getClassHandler(" + index + ");\n" +
RobolectricInternals.java 12 // initialized via magic by AndroidTranslator
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorUnitTest.java 16 private AndroidTranslator androidTranslator;
20 androidTranslator = new AndroidTranslator(null, null);
26 String methodBody = androidTranslator.generateMethodBody(
40 String methodBody = androidTranslator.generateMethodBody(
54 String methodBody = androidTranslator.generateMethodBody(
67 String methodBody = androidTranslator.generateMethodBody(
80 assertEquals(androidTranslator.makeParameterReplacementList(0), "");
81 assertEquals(androidTranslator.makeParameterReplacementList(1), "$1")
    [all...]
ClassCacheTest.java 11 final ClassCache classCache = new ClassCache("target/test.txt", AndroidTranslator.CACHE_VERSION);
50 final ClassCache classCache = new ClassCache("target/test.txt", AndroidTranslator.CACHE_VERSION);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/
Instrument.java 4 * Indicates that a class should always be instrumented by AndroidTranslator regardless of its package.

Completed in 95 milliseconds