use of cucumber.runtime.android.shadow.ShadowDexFile in project cucumber-jvm by cucumber.
the class DexClassFinderTest method setDexFileEntries.
private void setDexFileEntries(final Class... entryClasses) throws NoSuchFieldException, IllegalAccessException {
final Field roboData = DexFile.class.getDeclaredField("__robo_data__");
final ShadowDexFile shadowDexFile = (ShadowDexFile) roboData.get(dexFile);
shadowDexFile.setEntries(classToName(entryClasses));
}
Aggregations