Use kotlin.test.Test instead of org.junit.Test in common stdlib tests
(and in jvm-only and js-only tests also)
This commit is contained in:
@@ -5,7 +5,6 @@ import java.math.BigInteger
|
||||
import java.math.BigDecimal
|
||||
|
||||
import kotlin.test.*
|
||||
import org.junit.Test
|
||||
import java.math.MathContext
|
||||
import java.math.RoundingMode
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package test.numbers
|
||||
|
||||
import kotlin.test.*
|
||||
import org.junit.Test
|
||||
|
||||
// TODO: Run these tests during compiler test only (JVM & JS)
|
||||
class BitwiseOperationsTest {
|
||||
|
||||
@@ -19,7 +19,6 @@ package test.numbers
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
class CompanionIntrinsicObjectsJVMTest {
|
||||
@Test fun intTest() {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package test.numbers
|
||||
|
||||
import kotlin.test.*
|
||||
import org.junit.Test
|
||||
import kotlin.math.*
|
||||
|
||||
class MathJVMTest {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package test.numbers
|
||||
|
||||
import org.junit.Test
|
||||
import kotlin.math.*
|
||||
import kotlin.test.*
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
package numbers
|
||||
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertTrue
|
||||
import kotlin.test.*
|
||||
import kotlin.comparisons.*
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
val Double.Companion.values get() = listOf(0.0, NEGATIVE_INFINITY, MIN_VALUE, MAX_VALUE, POSITIVE_INFINITY, NaN)
|
||||
val Float.Companion.values get() = listOf(0.0f, NEGATIVE_INFINITY, MIN_VALUE, MAX_VALUE, POSITIVE_INFINITY, NaN)
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package test.numbers
|
||||
|
||||
import java.math.BigDecimal
|
||||
import org.junit.Test
|
||||
import kotlin.test.*
|
||||
|
||||
class NumbersJVMTest {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package test.numbers
|
||||
|
||||
import org.junit.Test
|
||||
import kotlin.test.*
|
||||
|
||||
object NumbersTestConstants {
|
||||
|
||||
Reference in New Issue
Block a user