Package org.robolectric.shadows
Class ShadowDexFile
java.lang.Object
org.robolectric.shadows.ShadowDexFile
Shadow implementation of dalvik.system.Dexfile.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static booleanisDexOptNeeded(String fileName) static voidreset()static voidsetIsDexOptNeeded(boolean isDexOptNeeded) Sets the value to be returned when isDexOptNeeded() is called with any argument.static voidsetIsDexOptNeededError(Throwable error) Sets the throwable that will be thrown when isDexOptNeeded() is called.
- 
Constructor Details- 
ShadowDexFilepublic ShadowDexFile()
 
- 
- 
Method Details- 
isDexOptNeeded- Throws:
- Throwable
 
- 
setIsDexOptNeededpublic static void setIsDexOptNeeded(boolean isDexOptNeeded) Sets the value to be returned when isDexOptNeeded() is called with any argument.
- 
setIsDexOptNeededErrorSets the throwable that will be thrown when isDexOptNeeded() is called. isDexOptNeeded() won't throw if the error is null.
- 
reset
 
-