Update testdata of maven plugin tests

This commit is contained in:
Dmitriy Novozhilov
2021-01-27 17:47:07 +03:00
parent 8b892a46c9
commit 4389cc7787
3 changed files with 15 additions and 14 deletions
@@ -1,14 +1,5 @@
class A
fun foo(
p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A,
p10: A, p11: A, p12: A, p13: A, p14: A, p15: A, p16: A, p17: A, p18: A, p19: A,
p20: A, p21: A, p22: A, p23: A, p24: A, p25: A, p26: A, p27: A, p28: A, p29: A,
) {}
fun bar(x: Any) {}
fun test(vararg x: Function30<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, Unit>) {
bar(::foo)
bar(x)
fun test2(s: Sequence<Int>) {
s.map { it }
s.shuffled()
}
@@ -1,4 +1,7 @@
source(new File(basedir, "../../../verify-common.bsh").getAbsolutePath());
assertBuildLogHasLine("[INFO] BUILD FAILURE");
assertBuildLogHasLineThatContains("feature \"function types with big arity\" is only available since API version 1.3");
assertBuildLogHasLineThatContains("Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:");
assertBuildLogHasLineThatContains("public fun <T> Iterable<TypeVariable(T)>.shuffled(): List<TypeVariable(T)> defined in kotlin.collections");
assertBuildLogHasLineThatContains("public fun <T> Iterable<TypeVariable(T)>.shuffled(random: java.util.Random): List<TypeVariable(T)> defined in kotlin.collections");
assertBuildLogHasLineThatContains("public fun <T> Iterable<TypeVariable(T)>.shuffled(random: kotlin.random.Random): List<TypeVariable(T)> defined in kotlin.collections");
@@ -1,3 +1,10 @@
[WARNING] Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/local-repo/org/jetbrains/kotlin/kotlin-stdlib/@snapshot@/kotlin-stdlib-@snapshot@.jar (version 1.5)
/local-repo/org/jetbrains/kotlin/kotlin-stdlib-common/@snapshot@/kotlin-stdlib-common-@snapshot@.jar (version 1.5)
/local-repo/org/jetbrains/kotlin/kotlin-script-runtime/@snapshot@/kotlin-script-runtime-@snapshot@.jar (version 1.5)
/local-repo/org/jetbrains/kotlin/kotlin-reflect/@snapshot@/kotlin-reflect-@snapshot@.jar (version 1.5)
/local-repo/org/jetbrains/kotlin/kotlin-coroutines-experimental-compat/1.4.20/kotlin-coroutines-experimental-compat-1.4.20.jar (version 1.4)
[WARNING] Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
[WARNING] No sources found skipping Kotlin compile
[INFO] Applicability test for project use-test-extension
[INFO] Applied plugin: 'test-me'