Skip to content

Commit

Permalink
added testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
felHR85 committed Oct 28, 2018
1 parent 5ac494f commit 63e0e8d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 3 deletions.
10 changes: 10 additions & 0 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
8 changes: 8 additions & 0 deletions examplestreams/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.junit.Test;
import org.junit.runner.RunWith;

import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.*;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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).
Expand Down
8 changes: 8 additions & 0 deletions examplesync/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 63e0e8d

Please sign in to comment.