Drop decompiledText/clsStub tests for package facades
(cherry picked from commit fbaa81c)
This commit is contained in:
committed by
Dmitry Petrov
parent
3a34dc0efe
commit
93bb010875
@@ -1,4 +0,0 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package test
|
||||
@@ -1,10 +0,0 @@
|
||||
package test
|
||||
|
||||
fun f() {}
|
||||
val p = 3
|
||||
private var i = 2
|
||||
|
||||
fun Int.plus(i: Int = 1) = this + i
|
||||
|
||||
class ShouldNotBeVisible1
|
||||
interface ShouldNotBeVisible2
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
package foo.TopLevelMembers
|
||||
|
||||
fun funWithBlockBody() {
|
||||
}
|
||||
|
||||
private fun funWithExprBody() = 3
|
||||
|
||||
private fun funWithParams(c: Int) {
|
||||
}
|
||||
|
||||
public val immutable: Double = 0.0
|
||||
|
||||
public var mutable: Float = 0.0f
|
||||
|
||||
public val String.ext: String
|
||||
get() = this
|
||||
|
||||
public fun Int.ext(i: Int = 3): Int = this + i
|
||||
|
||||
private fun funWithVarargParam(c: Int, vararg v: Int) {
|
||||
}
|
||||
|
||||
private fun probablyNothing(): Nothing = throw IllegalStateException()
|
||||
|
||||
private val certainlyNothing: kotlin.Nothing = throw IllegalStateException()
|
||||
|
||||
class Nothing
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
PsiJetFileStubImpl[package=foo.TopLevelMembers]
|
||||
PACKAGE_DIRECTIVE:
|
||||
DOT_QUALIFIED_EXPRESSION:
|
||||
REFERENCE_EXPRESSION:[referencedName=foo]
|
||||
REFERENCE_EXPRESSION:[referencedName=TopLevelMembers]
|
||||
IMPORT_LIST:
|
||||
-6
@@ -167,12 +167,6 @@ public class ClsStubBuilderTestGenerated extends AbstractClsStubBuilderTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelMembersPackage")
|
||||
public void testTopLevelMembersPackage() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/decompiler/stubBuilder/TopLevelMembersPackage/");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TypeBoundsAndDelegationSpecifiers")
|
||||
public void testTypeBoundsAndDelegationSpecifiers() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/decompiler/stubBuilder/TypeBoundsAndDelegationSpecifiers/");
|
||||
|
||||
-6
@@ -47,10 +47,4 @@ public class JvmDecompiledTextTestGenerated extends AbstractJvmDecompiledTextTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TestPackage")
|
||||
public void testTestPackage() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/decompiler/decompiledTextJvm/TestPackage/");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user