Do not treat directory with copied test sources for js library as source root, as it confuses debugger under certain circumstances.
Remove duplicated test.
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
package test.text
|
|
||||||
|
|
||||||
import kotlin.*
|
|
||||||
import kotlin.test.*
|
|
||||||
import org.junit.Test as test
|
|
||||||
|
|
||||||
class StringUtilTest() {
|
|
||||||
@test fun toPattern() {
|
|
||||||
val re = """foo""".toPattern()
|
|
||||||
val list = re.split("hellofoobar").toList()
|
|
||||||
assertEquals(listOf("hello", "bar"), list)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -24,8 +24,6 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>${basedir}/target/tests</sourceDirectory>
|
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
@@ -50,7 +48,6 @@
|
|||||||
|
|
||||||
<exclude name="concurrent/**"/>
|
<exclude name="concurrent/**"/>
|
||||||
<exclude name="io/**"/>
|
<exclude name="io/**"/>
|
||||||
<exclude name="template/**"/>
|
|
||||||
|
|
||||||
<exclude name="ExceptionTest.kt"/>
|
<exclude name="ExceptionTest.kt"/>
|
||||||
|
|
||||||
@@ -61,12 +58,8 @@
|
|||||||
|
|
||||||
<!-- Something missed in JS:-->
|
<!-- Something missed in JS:-->
|
||||||
|
|
||||||
<!-- ImmutableArrayList -->
|
|
||||||
<exclude name="collections/ImmutableArrayListTest.kt"/>
|
|
||||||
<!-- BigInteger, BigDecimal -->
|
<!-- BigInteger, BigDecimal -->
|
||||||
<exclude name="MathTest.kt"/>
|
<exclude name="MathTest.kt"/>
|
||||||
<!-- fun String.toRegex -->
|
|
||||||
<exclude name="text/StringUtilTest.kt"/>
|
|
||||||
<!-- ByteArray.inputStream -->
|
<!-- ByteArray.inputStream -->
|
||||||
<exclude name="OldStdlibTest.kt"/>
|
<exclude name="OldStdlibTest.kt"/>
|
||||||
<!-- failsWith, javaClass -->
|
<!-- failsWith, javaClass -->
|
||||||
@@ -80,11 +73,7 @@
|
|||||||
<!-- Can't run: spaces in function name -->
|
<!-- Can't run: spaces in function name -->
|
||||||
<exclude name="NaturalLanguageTest.kt"/>
|
<exclude name="NaturalLanguageTest.kt"/>
|
||||||
|
|
||||||
|
</fileset>
|
||||||
<!-- TODO review: unused files? -->
|
|
||||||
<exclude name="Test.kt"/>
|
|
||||||
<exclude name="TestDslExample.kt"/>
|
|
||||||
</fileset>
|
|
||||||
<fileset dir="${basedir}/../../../js/js.libraries/test">
|
<fileset dir="${basedir}/../../../js/js.libraries/test">
|
||||||
<include name="**/*.kt" />
|
<include name="**/*.kt" />
|
||||||
</fileset>
|
</fileset>
|
||||||
@@ -109,6 +98,11 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>js</goal>
|
<goal>js</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sourceDirs>
|
||||||
|
<sourceDir>${basedir}/target/tests</sourceDir>
|
||||||
|
</sourceDirs>
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
Reference in New Issue
Block a user