session-android/test/androidTest/java/org/thoughtcrime/securesms/TextSecureTestCase.java
2015-06-03 12:17:24 -07:00

17 lines
437 B
Java

package org.thoughtcrime.securesms;
import android.content.Context;
import android.test.InstrumentationTestCase;
public class TextSecureTestCase extends InstrumentationTestCase {
@Override
public void setUp() throws Exception {
System.setProperty("dexmaker.dexcache", getInstrumentation().getTargetContext().getCacheDir().getPath());
}
protected Context getContext() {
return getInstrumentation().getContext();
}
}