move SanitizedFileTest into non-Android tests

It can run in plain java, so might as well.
Bu işleme şunda yer alıyor:
Hans-Christoph Steiner 2016-03-22 21:02:24 +01:00
ebeveyn bc3d8a89b6
işleme 74274d21b4

Dosyayı Görüntüle

@ -1,14 +1,14 @@
package org.fdroid.fdroid; package org.fdroid.fdroid.data;
import android.test.AndroidTestCase; import org.junit.Test;
import org.fdroid.fdroid.data.SanitizedFile;
import java.io.File; import java.io.File;
@SuppressWarnings("PMD") // TODO port this to JUnit 4 semantics import static org.junit.Assert.assertEquals;
public class SanitizedFileTest extends AndroidTestCase {
public class SanitizedFileTest {
@Test
public void testSanitizedFile() { public void testSanitizedFile() {
File directory = new File("/tmp/blah"); File directory = new File("/tmp/blah");