Some preparations for unit tests

live-activity-data
cpfeiffer 2015-08-13 23:23:40 +02:00
parent 749fbe5ecc
commit eb2332c8be
3 changed files with 23 additions and 1 deletions

View File

@ -28,4 +28,7 @@ dependencies {
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'com.github.PhilJay:MPAndroidChart:2.1.0'
compile 'com.github.pfichtner:durationformatter:0.1.1'
testCompile 'junit:junit:4.12'
// testCompile "org.mockito:mockito-core:1.9.5"
}

View File

@ -0,0 +1,19 @@
package nodomain.freeyourgadget.gadgetbridge.service.btle;
import junit.framework.TestCase;
public class BtLEQueueTest extends TestCase {
public void setUp() throws Exception {
super.setUp();
}
public void tearDown() throws Exception {
}
public void testIsConnected() throws Exception {
}
}

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files