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:
Ilya Gorbunov
2015-10-24 06:58:23 +03:00
parent c456ab0f74
commit 9bbe0d67ff
2 changed files with 6 additions and 25 deletions
@@ -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)
}
}
+6 -12
View File
@@ -24,8 +24,6 @@
</dependencies>
<build>
<sourceDirectory>${basedir}/target/tests</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -50,7 +48,6 @@
<exclude name="concurrent/**"/>
<exclude name="io/**"/>
<exclude name="template/**"/>
<exclude name="ExceptionTest.kt"/>
@@ -61,12 +58,8 @@
<!-- Something missed in JS:-->
<!-- ImmutableArrayList -->
<exclude name="collections/ImmutableArrayListTest.kt"/>
<!-- BigInteger, BigDecimal -->
<exclude name="MathTest.kt"/>
<!-- fun String.toRegex -->
<exclude name="text/StringUtilTest.kt"/>
<!-- ByteArray.inputStream -->
<exclude name="OldStdlibTest.kt"/>
<!-- failsWith, javaClass -->
@@ -80,11 +73,7 @@
<!-- Can't run: spaces in function name -->
<exclude name="NaturalLanguageTest.kt"/>
<!-- TODO review: unused files? -->
<exclude name="Test.kt"/>
<exclude name="TestDslExample.kt"/>
</fileset>
</fileset>
<fileset dir="${basedir}/../../../js/js.libraries/test">
<include name="**/*.kt" />
</fileset>
@@ -109,6 +98,11 @@
<goals>
<goal>js</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${basedir}/target/tests</sourceDir>
</sourceDirs>
</configuration>
</execution>
</executions>
</plugin>