aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-02-11 20:27:30 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-02-11 20:27:30 +0100
commitdd8cb5f3d48122515178af266b6cd4d8f8fe5382 (patch)
treeb33f9761f73ed6df7552affc69a512fa10419e17 /tests
parent380b16655bc09c2ccc3d269b4d4470e41ca7c3fe (diff)
downloadcgeo-dd8cb5f3d48122515178af266b6cd4d8f8fe5382.zip
cgeo-dd8cb5f3d48122515178af266b6cd4d8f8fe5382.tar.gz
cgeo-dd8cb5f3d48122515178af266b6cd4d8f8fe5382.tar.bz2
Make test method static
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/utils/FileUtilsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/utils/FileUtilsTest.java b/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
index 4522700..65638e1 100644
--- a/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/FileUtilsTest.java
@@ -31,7 +31,7 @@ public class FileUtilsTest extends TestCase {
}
}
- public void testFileUrl() {
+ public static void testFileUrl() {
assertThat(FileUtils.isFileUrl("file:///tmp/foo/bar")).isTrue();
assertThat(FileUtils.isFileUrl("http://www.google.com")).isFalse();
assertThat(FileUtils.fileToUrl(new File("/tmp/foo/bar"))).isEqualTo("file:///tmp/foo/bar");