move SanitizedFileTest into non-Android tests
It can run in plain java, so might as well.
This commit is contained in:
parent
bc3d8a89b6
commit
74274d21b4
@ -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");
|
Loading…
x
Reference in New Issue
Block a user