Infrastructure: replaced 'untestable' with 'unimplemented test'
This commit is contained in:
parent
1ba140cfab
commit
9d79aacedd
|
@ -4,7 +4,6 @@ import org.junit.Assert
|
|||
import org.junit.Test
|
||||
import util.TIMEOUT
|
||||
import util.runAndGetSystemOutput
|
||||
import util.untestable
|
||||
|
||||
class TestExceptionsExercise1 {
|
||||
@Test(timeout = TIMEOUT)
|
||||
|
|
|
@ -4,7 +4,6 @@ import org.junit.Assert
|
|||
import org.junit.Test
|
||||
import util.TIMEOUT
|
||||
import util.runAndGetSystemOutput
|
||||
import util.untestable
|
||||
import kotlin.math.E
|
||||
import kotlin.math.PI
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ import org.junit.FixMethodOrder
|
|||
import org.junit.Test
|
||||
import org.junit.runners.MethodSorters
|
||||
import util.TIMEOUT
|
||||
import util.untestable
|
||||
|
||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
class TestDataTypesExercise3 {
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package nullableTypesExercise2
|
||||
|
||||
import org.junit.Test
|
||||
import util.untestable
|
||||
import util.unimplementedTest
|
||||
|
||||
class TestNullableTypesExercise2 {
|
||||
@Test fun testSolution() = untestable()
|
||||
@Test fun testSolution() {
|
||||
unimplementedTest()
|
||||
}
|
||||
}
|
|
@ -533,10 +533,6 @@ private fun checkFunctionOrPropertyIsExtension(
|
|||
expectedReceiver.java == functionOrGetter.parameters.single().type)
|
||||
}
|
||||
|
||||
fun untestable() {
|
||||
Assert.assertTrue("No tests: tests always pass", true)
|
||||
}
|
||||
|
||||
inline fun checkMainIsImplemented(main: () -> Unit) {
|
||||
try {
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue