Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Make java-test output more useful #4184

Merged
merged 5 commits into from
Jul 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/android_alarm_manager/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
10 changes: 10 additions & 0 deletions packages/android_intent/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,18 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

Expand Down
13 changes: 13 additions & 0 deletions packages/battery/battery/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
9 changes: 9 additions & 0 deletions packages/camera/camera/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,18 @@ android {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

Expand Down
13 changes: 13 additions & 0 deletions packages/connectivity/connectivity/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
13 changes: 13 additions & 0 deletions packages/device_info/device_info/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
13 changes: 13 additions & 0 deletions packages/espresso/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/flutter_plugin_android_lifecycle/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ android {
dependencies {
implementation "androidx.annotation:annotation:1.1.0"
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/google_sign_in/google_sign_in/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/image_picker/image_picker/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,17 @@ android {
implementation 'androidx.annotation:annotation:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.0'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/local_auth/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/package_info/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
13 changes: 13 additions & 0 deletions packages/path_provider/path_provider/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ android {
targetCompatibility 1.8
}
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

dependencies {
Expand Down
13 changes: 13 additions & 0 deletions packages/quick_actions/quick_actions/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
13 changes: 13 additions & 0 deletions packages/sensors/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
13 changes: 13 additions & 0 deletions packages/share/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,17 @@ android {
implementation 'androidx.core:core:1.3.1'
implementation 'androidx.annotation:annotation:1.1.0'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,17 @@ android {
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-inline:3.9.0'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
10 changes: 10 additions & 0 deletions packages/url_launcher/url_launcher/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,18 @@ android {
lintOptions {
disable 'InvalidPackage'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}

Expand Down
13 changes: 13 additions & 0 deletions packages/video_player/video_player/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,17 @@ android {
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-inline:3.9.0'
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
unitTests.all {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
}
}
Loading