Częściowy revert plików powodujących błąd przy budowaniu wersji release

This commit is contained in:
Krokogator 2019-01-09 12:11:26 +01:00
parent fbd056b0d2
commit ba728b2d17
3 changed files with 6 additions and 6 deletions

View File

@ -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'

View File

@ -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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@ -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());

View File

@ -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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/