move SanitizedFileTest into non-Android tests

It can run in plain java, so might as well.
This commit is contained in:
Hans-Christoph Steiner committed 2016-04-04 10:53:12 +02:00
1 parent bc3d8a89b6
commit 74274d21b4
1 file changed
+6 -6
@@ -1,14 +1,14 @@
package org.fdroid.fdroid;
package org.fdroid.fdroid.data;
import android.test.AndroidTestCase;
import org.fdroid.fdroid.data.SanitizedFile;
import org.junit.Test;
import java.io.File;
@SuppressWarnings("PMD") // TODO port this to JUnit 4 semantics
public class SanitizedFileTest extends AndroidTestCase {
import static org.junit.Assert.assertEquals;
public class SanitizedFileTest {
@Test
public void testSanitizedFile() {
File directory = new File("/tmp/blah");