Remove boilerplate/broken tests

This commit is contained in:
arkon 2021-04-11 13:35:24 -04:00
parent b788624230
commit e9e3a40b78
6 changed files with 1 additions and 59 deletions

View File

@ -22,7 +22,6 @@ android {
dependencies {
implementation project(':library')
compileOnly 'androidx.annotation:annotation:1.2.0'
testImplementation 'junit:junit:4.13.2'
compileOnly 'androidx.annotation:annotation:1.2.0'
}

View File

@ -1,13 +0,0 @@
package com.hippo.unifile.example;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}

View File

@ -1,15 +0,0 @@
package com.hippo.unifile.example;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
}

View File

@ -21,5 +21,4 @@ android {
dependencies {
compileOnly 'androidx.annotation:annotation:1.2.0'
testImplementation 'junit:junit:4.13.2'
}

View File

@ -1,13 +0,0 @@
package com.hippo.unifile;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}

View File

@ -1,15 +0,0 @@
package com.hippo.unifile;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
}