Skip to content

Commit

Permalink
Move test to separate test suite to avoid assertion error (#2829)
Browse files Browse the repository at this point in the history
Fixes #2823

Signed-off-by: Andriy Redko <drreta@gmail.com>
  • Loading branch information
reta committed Dec 21, 2022
1 parent abbd2c8 commit 048731e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion settings.gradle.kts
Expand Up @@ -19,7 +19,8 @@ include("subclass",
"junitJupiterParallelTest",
"osgi-test",
"bom",
"errorprone")
"errorprone",
"programmatic-test")

if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17) && (System.getenv("ANDROID_SDK_ROOT") != null || File(".local.properties").exists())) {
include("androidTest")
Expand Down
18 changes: 18 additions & 0 deletions subprojects/programmatic-test/programmatic-test.gradle
@@ -0,0 +1,18 @@
plugins {
id 'java'
}

description = "Test suite for excercising programmatic mock maker in Mockito"

apply from: "$rootDir/gradle/dependencies.gradle"

dependencies {
implementation project.rootProject
testImplementation libraries.junit4
testImplementation libraries.assertj
}

tasks.javadoc.enabled = false

sourceCompatibility = 11
targetCompatibility = 11

0 comments on commit 048731e

Please sign in to comment.