Rearrange stdlib unit tests across packages.
Rearrange JS stdlib unit tests.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// this package referenced from testArrayScriptTest
|
||||
package jstest
|
||||
package test.collections.js
|
||||
|
||||
fun testSize(): Int {
|
||||
val a1 = arrayOf<String>()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test.collections
|
||||
package test.collections.js
|
||||
|
||||
import org.junit.Test as test
|
||||
import kotlin.test.*
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package test.collections
|
||||
package test.collections.js
|
||||
|
||||
import java.util.*
|
||||
|
||||
@@ -8,7 +8,7 @@ import kotlin.comparisons.*
|
||||
|
||||
fun <T> List<T>.toArrayList() = this.toCollection(ArrayList<T>())
|
||||
|
||||
class JavautilCollectionsTest {
|
||||
class JsCollectionsTest {
|
||||
val TEST_LIST = arrayOf(2, 0, 9, 7, 1).toList()
|
||||
val SORTED_TEST_LIST = arrayOf(0, 1, 2, 7, 9).toList()
|
||||
val MAX_ELEMENT = 9
|
||||
@@ -1,10 +1,10 @@
|
||||
package test.collections
|
||||
package test.collections.js
|
||||
|
||||
import test.collections.behaviors.mapBehavior
|
||||
import kotlin.test.*
|
||||
|
||||
import java.util.*
|
||||
import org.junit.Test as test
|
||||
import java.util.*
|
||||
import test.collections.*
|
||||
import test.collections.behaviors.*
|
||||
|
||||
class ComplexMapJsTest : MapJsTest() {
|
||||
// Helper function with generic parameter to force to use ComlpexHashMap
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package test.collections
|
||||
package test.collections.js
|
||||
|
||||
import kotlin.test.*
|
||||
import org.junit.Test
|
||||
import test.collections.behaviors.setBehavior
|
||||
import test.collections.*
|
||||
import test.collections.behaviors.*
|
||||
import java.util.HashSet
|
||||
import java.util.LinkedHashSet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user