diff --git a/android/app/build.gradle b/android/app/build.gradle index 28cea6a..d4ea7ce 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -8,7 +8,7 @@ android { targetSdkVersion 26 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.getCalories.runner.AndroidJUnitRunner" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { @@ -37,8 +37,8 @@ dependencies { implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.getCalories:runner:1.0.2' - androidTestImplementation 'com.android.support.getCalories.espresso:espresso-core:3.0.2' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.android.support:cardview-v7:26.1.0' implementation 'com.android.support:recyclerview-v7:26.1.0' implementation 'com.ibm.watson.developer_cloud:java-sdk:6.9.0' diff --git a/android/app/src/androidTest/java/com/krokogator/photoeat/ExampleInstrumentedTest.java b/android/app/src/androidTest/java/com/krokogator/photoeat/ExampleInstrumentedTest.java index d377206..94d35de 100644 --- a/android/app/src/androidTest/java/com/krokogator/photoeat/ExampleInstrumentedTest.java +++ b/android/app/src/androidTest/java/com/krokogator/photoeat/ExampleInstrumentedTest.java @@ -10,7 +10,7 @@ import org.junit.runner.RunWith; import static org.junit.Assert.*; /** - * Instrumented getCalories, which will execute on an Android device. + * Instrumented test, which will execute on an Android device. * * @see Testing documentation */ @@ -18,7 +18,7 @@ import static org.junit.Assert.*; public class ExampleInstrumentedTest { @Test public void useAppContext() throws Exception { - // Context of the app under getCalories. + // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); assertEquals("com.krokogator.photoeat", appContext.getPackageName()); diff --git a/android/app/src/test/java/com/krokogator/photoeat/ExampleUnitTest.java b/android/app/src/test/java/com/krokogator/photoeat/ExampleUnitTest.java index e0f5b06..f0b77d0 100644 --- a/android/app/src/test/java/com/krokogator/photoeat/ExampleUnitTest.java +++ b/android/app/src/test/java/com/krokogator/photoeat/ExampleUnitTest.java @@ -5,7 +5,7 @@ import org.junit.Test; import static org.junit.Assert.*; /** - * Example local unit getCalories, which will execute on the development machine (host). + * Example local unit test, which will execute on the development machine (host). * * @see Testing documentation */