TODO: restore tests: files with same names

This commit is contained in:
Michael Bogdanov
2015-06-26 13:24:05 +03:00
parent 48c5e3d218
commit 905e74f870
15 changed files with 24 additions and 24 deletions
@@ -1,5 +1,5 @@
package test
fun foo() {
"" // test/A.+
"" // test/A
}
@@ -1,5 +1,5 @@
package test
fun bar() {
foo(); // test/B.+
foo(); // test/B
}
@@ -1,5 +0,0 @@
package test
fun foo() {
"" // test/TestPackage\$a\$.+
}
@@ -0,0 +1,5 @@
package test
fun foo() {
"" // test/A1
}
@@ -1,5 +0,0 @@
package test
fun bar() {
"" // test/TestPackage\$a\$.+
}
@@ -0,0 +1,5 @@
package test
fun bar() {
"" // test/A2
}
@@ -1,5 +0,0 @@
package test
fun baz() {
"" // test/TestPackage\$a\$.+
}
@@ -0,0 +1,5 @@
package test
fun baz() {
"" // test/A3
}
@@ -1,5 +0,0 @@
package test
fun quux() {
"" // test/TestPackage\$a\$.+
}
@@ -0,0 +1,5 @@
package test
fun quux() {
"" // test/A4
}
@@ -128,8 +128,8 @@ public class JetExceptionFilterTest : MultiFileTestCase() {
public fun testMultiSameName() {
val packageClassFqName = getPackageClassFqName(FqName("multiSameName"))
// The order and the exact names do matter here
doTest("1/foo.kt", 4, { file -> "" + getPackagePartFqName(packageClassFqName, file) + "\$foo\$f\$1" })
doTest("2/foo.kt", 4, { file -> "" + getPackagePartFqName(packageClassFqName, file) + "\$foo\$f\$1" })
doTest("1/foo1.kt", 4, { file -> "" + getPackagePartFqName(packageClassFqName, file) + "\$foo\$f\$1" })
doTest("2/foo2.kt", 4, { file -> "" + getPackagePartFqName(packageClassFqName, file) + "\$foo\$f\$1" })
}
public fun testLibrarySources() {