Package org.robolectric.nativeruntime
Class DefaultNativeRuntimeLoader
java.lang.Object
org.robolectric.nativeruntime.DefaultNativeRuntimeLoader
- All Implemented Interfaces:
NativeRuntimeLoader
@AutoService(NativeRuntimeLoader.class) @Priority(-2147483648) public class DefaultNativeRuntimeLoader extends Object implements NativeRuntimeLoader
Loads the Robolectric native runtime.
-
Field Summary
Fields Modifier and Type Field Description protected static AtomicBoolean
loaded
-
Constructor Summary
Constructors Constructor Description DefaultNativeRuntimeLoader()
-
Method Summary
Modifier and Type Method Description void
ensureLoaded()
static void
injectAndLoad()
-
Field Details
-
Constructor Details
-
DefaultNativeRuntimeLoader
public DefaultNativeRuntimeLoader()
-
-
Method Details
-
injectAndLoad
public static void injectAndLoad() -
ensureLoaded
public void ensureLoaded()- Specified by:
ensureLoaded
in interfaceNativeRuntimeLoader
-