diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2015-02-11 20:27:30 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2015-02-11 20:27:30 +0100 |
commit | dd8cb5f3d48122515178af266b6cd4d8f8fe5382 (patch) | |
tree | b33f9761f73ed6df7552affc69a512fa10419e17 /tests | |
parent | 380b16655bc09c2ccc3d269b4d4470e41ca7c3fe (diff) | |
download | cgeo-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.java | 2 |
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"); |