Skip to content

Commit bc67ebe

Browse files
committed
Update TestPlan constructor to honor 5.8.0 change
1 parent 191c384 commit bc67ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/runner/src/main/kotlin/de/mannodermaus/junit5/internal/runners/AndroidJUnitPlatformTestTree.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ internal class AndroidJUnitPlatformTestTree(
180180
/**
181181
* Custom drop-in TestPlan for Android purposes.
182182
*/
183-
private class ModifiedTestPlan(val delegate: TestPlan) : TestPlan(delegate.containsTests()) {
183+
private class ModifiedTestPlan(val delegate: TestPlan) : TestPlan(delegate.containsTests(), delegate.configurationParameters) {
184184

185185
fun getRealParent(child: TestIdentifier?): Optional<TestIdentifier> {
186186
// Because the overridden "getParent()" from the superclass is modified,

0 commit comments

Comments
 (0)