Skip to content

Commit

Permalink
AssertionError in MockUtil.getMockHandlerOrNull in our regression tes…
Browse files Browse the repository at this point in the history
…t suite. Fixes mockito#2823

Signed-off-by: Andriy Redko <drreta@gmail.com>
  • Loading branch information
reta committed Dec 20, 2022
1 parent a7c7fdb commit 9380baa
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 9380baa

Please sign in to comment.