1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-09 08:00:39 +02:00

added JUnit database test

set index and unique to datetime
This commit is contained in:
OliE
2018-01-01 13:47:36 +01:00
parent bd187962d4
commit b5fcb9525f
5 changed files with 267 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ android {
javaCompileOptions {
annotationProcessorOptions { arguments = ["room.schemaLocation":"$projectDir/schemas".toString()] }
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
sourceSets {
@@ -39,8 +41,11 @@ dependencies {
compile "com.android.support:support-v4:${supportLibVersion}"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile 'com.github.lecho:hellocharts-library:1.5.8@aar'
compile 'junit:junit:4.12'
compile 'android.arch.persistence.room:runtime:1.0.0'
compile 'junit:junit:4.12'
compile 'android.arch.persistence.room:testing:1.0.0'
compile 'com.android.support.test:runner:1.0.0'
compile 'com.android.support.test:rules:1.0.0'
annotationProcessor 'android.arch.persistence.room:compiler:1.0.0'
}