-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
test-helpers/src/jvmMain/kotlin/splitties/internal/test/AndroidJUnit4.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
package splitties.internal.test | ||
|
||
import org.junit.runner.Description | ||
import org.junit.runner.notification.RunNotifier | ||
|
||
actual typealias AndroidJUnit4 = JUnit4 | ||
|
||
class JUnit4(klass: Class<*>) : Runner() { | ||
|
||
private val actualRunner = org.junit.runners.JUnit4(klass) | ||
|
||
override fun run(notifier: RunNotifier?) { | ||
actualRunner.run(notifier) | ||
} | ||
|
||
override fun getDescription(): Description = actualRunner.description | ||
} |