@Before
 public void setUp() throws Exception {
   testFile =
       new File(configFactory.getRoot(), System.currentTimeMillis() + "_transact.realm")
           .getAbsolutePath();
   context = InstrumentationRegistry.getInstrumentation().getContext();
   RealmCore.loadLibrary(context);
 }
Exemple #2
0
 static {
   RealmCore.loadLibrary();
 }