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:
Ilya Gorbunov
2017-10-12 07:23:13 +03:00
parent f002493218
commit 20b122c1dd
67 changed files with 16 additions and 92 deletions
@@ -1,7 +1,6 @@
@file:kotlin.jvm.JvmVersion
package test.io
import org.junit.Test
import java.io.File
import java.io.IOException
import java.util.*
-1
View File
@@ -3,7 +3,6 @@ package test.io
import java.io.*
import java.util.*
import org.junit.Test
import kotlin.io.walkTopDown
import kotlin.test.*
-1
View File
@@ -1,7 +1,6 @@
@file:kotlin.jvm.JvmVersion
package test.io
import org.junit.Test
import kotlin.test.*
import java.io.Writer
import java.io.BufferedReader
+1 -4
View File
@@ -1,15 +1,12 @@
@file:kotlin.jvm.JvmVersion
package test.io
import org.junit.Test
import kotlin.test.*
import java.io.File
import kotlin.test.assertEquals
import java.io.Reader
import java.io.StringReader
import java.net.URL
import java.util.ArrayList
import kotlin.test.assertFalse
import kotlin.test.assertTrue
fun sample(): Reader = StringReader("Hello\nWorld");
@@ -2,7 +2,6 @@
package test.io
import java.io.*
import org.junit.Test
import kotlin.test.*
private class Serial(val name: String) : Serializable {