aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/src/cgeo/geocaching/utils/FileUtilsTest.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/src/cgeo/geocaching/utils/FileUtilsTest.java b/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
index 72554fa..4522700 100644
--- a/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
@@ -6,9 +6,6 @@ import cgeo.geocaching.files.LocalStorage;
import junit.framework.TestCase;
-import android.content.Context;
-import android.test.ServiceTestCase;
-
import java.io.File;
import java.io.IOException;
@@ -19,15 +16,6 @@ public class FileUtilsTest extends TestCase {
final File alternative1 = new File(testDir, "prefix_1.ext");
final File alternative2 = new File(testDir, "prefix_2.ext");
- private Context getTestContext() {
- try {
- return (Context) ServiceTestCase.class.getMethod("getTestContext").invoke(this);
- } catch (final Exception e) {
- Log.e("Unable to get test context", e);
- return null;
- }
- }
-
public void testGetUniqueNamedFile() throws IOException {
FileUtils.deleteDirectory(testDir);
testDir.mkdirs();