TODO: restore tests: files with same names
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user