Annotate explicitly stdlib tests, which must be excluded from JS stdlib tests with @JvmVersion, do not use file naming convention, use preprocessor instead.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.exceptions
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.collections
|
||||
|
||||
import java.io.ByteArrayInputStream
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.collections
|
||||
|
||||
import java.util.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.collections
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.collections
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.collections
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.concurrent
|
||||
|
||||
import java.io.ObjectOutputStream
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.concurrent
|
||||
|
||||
import kotlin.concurrent.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.concurrent
|
||||
|
||||
import kotlin.concurrent.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.io
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.io
|
||||
|
||||
import java.io.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.io
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.io
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion // TODO: Can't run in JS: spaces in function name KT-4160
|
||||
package test.language
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.numbers
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.numbers
|
||||
|
||||
import java.math.BigInteger
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.numbers
|
||||
|
||||
import java.math.BigDecimal
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.ranges
|
||||
|
||||
import java.lang.Integer.MAX_VALUE as MaxI
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.ranges
|
||||
|
||||
import kotlin.ranges.LongProgression.Companion
|
||||
import java.lang.Double as jDouble
|
||||
import java.lang.Float as jFloat
|
||||
import org.junit.Test as test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.reflection
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.text
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.text
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.text
|
||||
|
||||
import kotlin.*
|
||||
import kotlin.test.*
|
||||
import org.junit.Test as test
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.text
|
||||
|
||||
import test.collections.assertArrayNotSameButEquals
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.utils
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package test.utils
|
||||
|
||||
import org.junit.Test as test
|
||||
|
||||
Reference in New Issue
Block a user