added testing dependencies

pull/169/head
Felipe Herranz 2018-10-28 19:02:38 +01:00
rodzic 5ac494fb8d
commit 63e0e8db68
6 zmienionych plików z 28 dodań i 3 usunięć

Wyświetl plik

@ -24,5 +24,15 @@ dependencies {
implementation 'com.android.support:appcompat-v7:23.1.1'
implementation 'com.android.support:design:23.1.1'
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:support-annotations:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
implementation project(':usbserial')
}

Wyświetl plik

@ -24,5 +24,13 @@ dependencies {
implementation 'com.android.support:appcompat-v7:23.1.1'
implementation 'com.android.support:design:23.1.1'
implementation 'com.android.support:support-annotations:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
implementation project(':usbserial')
}

Wyświetl plik

@ -7,6 +7,7 @@ import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.*;
/**

Wyświetl plik

@ -2,7 +2,7 @@ package com.felhr.examplestreams;
import org.junit.Test;
import static org.junit.Assert.*;
import static junit.framework.Assert.assertEquals;
/**
* Example local unit test, which will execute on the development machine (host).

Wyświetl plik

@ -24,5 +24,13 @@ dependencies {
implementation 'com.android.support:appcompat-v7:23.1.1'
implementation 'com.android.support:design:23.1.1'
implementation 'com.android.support:support-annotations:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
implementation project(':usbserial')
}

Wyświetl plik

@ -1,7 +1,5 @@
package com.felhr.usbserial;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.concurrent.atomic.AtomicBoolean;
import com.felhr.deviceids.CH34xIds;