kopia lustrzana https://github.com/felHR85/UsbSerial
added testing dependencies
rodzic
5ac494fb8d
commit
63e0e8db68
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -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.*;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue