Skip to content

Commit

Permalink
More functionality, switching to espresso tests, updating libs, and p…
Browse files Browse the repository at this point in the history
…roviding logging option

closes #9
closes #10
closes #11
closes #12
  • Loading branch information
isuPatches committed Oct 22, 2016
1 parent 96ca1bf commit 2e2246e
Show file tree
Hide file tree
Showing 12 changed files with 1,391 additions and 650 deletions.
21 changes: 15 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task jacocoDebugTestReport(type: JacocoReport, dependsOn: ["connectedDebugAndroi
classDirectories = classDirs
additionalSourceDirs = files(coverageSourceDirs)
sourceDirectories = files(coverageSourceDirs)
executionData = files(['build/outputs/code-coverage/connected/coverage.ec'])
executionData = files([fileTree(dir: 'build/outputs/code-coverage/connected', include: '**/*.ec')])

onlyIf = {
true
Expand All @@ -46,14 +46,22 @@ dexcount {
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

testOptions {
// Allows Android code to be called from unit tests without causing a crash.
// Helpful for allowing Log.d()-type calls
unitTests.returnDefaultValues = true;
}

compileSdkVersion 24
buildToolsVersion "24.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 23
targetSdkVersion 24
versionCode 3
versionName "1.0.2"
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}

buildTypes {
Expand All @@ -72,12 +80,13 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:appcompat-v7:24.2.1'
androidTestCompile 'com.android.support:support-annotations:24.2.1'

androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'org.mockito:mockito-core:1.10.19'
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.5.4'

testCompile 'junit:junit:4.12'
}
Loading

0 comments on commit 2e2246e

Please sign in to comment.