aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-02-11 20:26:44 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-02-11 20:26:44 +0100
commit380b16655bc09c2ccc3d269b4d4470e41ca7c3fe (patch)
treef8cb85926d0b86c2c29d4c960b5da006a2d3cbe0 /tests
parenta18cd6b9296ce79fa0aac5c548f0ed19af6885ac (diff)
downloadcgeo-380b16655bc09c2ccc3d269b4d4470e41ca7c3fe.zip
cgeo-380b16655bc09c2ccc3d269b4d4470e41ca7c3fe.tar.gz
cgeo-380b16655bc09c2ccc3d269b4d4470e41ca7c3fe.tar.bz2
Remove unused helper method in tests
Diffstat (limited to 'tests')
-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();