Moving test data into java-specific folder
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
fun foo() {
|
|
||||||
javax.swing.SwingUtilities.invoke<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "invokeLater", itemText: "invokeLater", tailText: "(Runnable!)", typeText: "Unit" }
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "invokeLater", itemText: "invokeLater", tailText: " {...} ((() -> Unit)!)", typeText: "Unit" }
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
fun foo(thread: Thread) {
|
|
||||||
thread.<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// INVOCATION_COUNT: 2
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
|
||||||
// EXIST_JAVA_ONLY: getPriority
|
|
||||||
// EXIST_JAVA_ONLY: setPriority
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
import java.io.File
|
|
||||||
|
|
||||||
fun foo(file: File) {
|
|
||||||
file.<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
|
||||||
// ABSENT: getAbsolutePath
|
|
||||||
-14
@@ -1,14 +0,0 @@
|
|||||||
fun Thread.foo(urlConnection: java.net.URLConnection) {
|
|
||||||
with (urlConnection) {
|
|
||||||
<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "isDaemon", itemText: "isDaemon", tailText: " (from isDaemon()/setDaemon())", typeText: "Boolean" }
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "url", itemText: "url", tailText: " (from getURL())", typeText: "URL!" }
|
|
||||||
// ABSENT: getPriority
|
|
||||||
// ABSENT: setPriority
|
|
||||||
// ABSENT: { itemText: "isDaemon", tailText: "()" }
|
|
||||||
// ABSENT: setDaemon
|
|
||||||
// ABSENT: getURL
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
import java.io.File
|
|
||||||
|
|
||||||
fun foo(file: File?) {
|
|
||||||
file?.<caret>
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
|
||||||
// ABSENT: getAbsolutePath
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
import java.io.File
|
|
||||||
|
|
||||||
fun foo(o: Any) {
|
|
||||||
if (o is File) {
|
|
||||||
o.<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
|
||||||
// ABSENT: getAbsolutePath
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
import java.io.File
|
|
||||||
|
|
||||||
fun Any.foo() {
|
|
||||||
if (this is File) {
|
|
||||||
<caret>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
|
||||||
// ABSENT: getAbsolutePath
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
fun foo() {
|
||||||
|
javax.swing.SwingUtilities.invoke<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "invokeLater", itemText: "invokeLater", tailText: "(Runnable!)", typeText: "Unit" }
|
||||||
|
// EXIST: { lookupString: "invokeLater", itemText: "invokeLater", tailText: " {...} ((() -> Unit)!)", typeText: "Unit" }
|
||||||
+1
-1
@@ -4,5 +4,5 @@ fun File.foo(absolutePath: String?) {
|
|||||||
<caret>
|
<caret>
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: getAbsolutePath
|
// EXIST: getAbsolutePath
|
||||||
// ABSENT: { itemText: "absolutePath", typeText: "String" }
|
// ABSENT: { itemText: "absolutePath", typeText: "String" }
|
||||||
Vendored
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fun foo(thread: Thread) {
|
||||||
|
thread.<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// INVOCATION_COUNT: 2
|
||||||
|
// EXIST: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
||||||
|
// EXIST: getPriority
|
||||||
|
// EXIST: setPriority
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
import java.io.File
|
||||||
|
|
||||||
|
fun foo(file: File) {
|
||||||
|
file.<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||||
|
// ABSENT: getAbsolutePath
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
fun Thread.foo(urlConnection: java.net.URLConnection) {
|
||||||
|
with (urlConnection) {
|
||||||
|
<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
||||||
|
// EXIST: { lookupString: "isDaemon", itemText: "isDaemon", tailText: " (from isDaemon()/setDaemon())", typeText: "Boolean" }
|
||||||
|
// EXIST: { lookupString: "url", itemText: "url", tailText: " (from getURL())", typeText: "URL!" }
|
||||||
|
// ABSENT: getPriority
|
||||||
|
// ABSENT: setPriority
|
||||||
|
// ABSENT: { itemText: "isDaemon", tailText: "()" }
|
||||||
|
// ABSENT: setDaemon
|
||||||
|
// ABSENT: getURL
|
||||||
+3
-3
@@ -2,9 +2,9 @@ fun foo(klass: Class<*>) {
|
|||||||
klass.<caret>
|
klass.<caret>
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXIST_JAVA_ONLY: simpleName
|
// EXIST: simpleName
|
||||||
// ABSENT: getSimpleName
|
// ABSENT: getSimpleName
|
||||||
// EXIST_JAVA_ONLY: enclosingClass
|
// EXIST: enclosingClass
|
||||||
// ABSENT: getEnclosingClass
|
// ABSENT: getEnclosingClass
|
||||||
// EXIST_JAVA_ONLY: annotations
|
// EXIST: annotations
|
||||||
// ABSENT: getAnnotations
|
// ABSENT: getAnnotations
|
||||||
Vendored
+8
@@ -0,0 +1,8 @@
|
|||||||
|
import java.io.File
|
||||||
|
|
||||||
|
fun foo(file: File?) {
|
||||||
|
file?.<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||||
|
// ABSENT: getAbsolutePath
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
import java.io.File
|
||||||
|
|
||||||
|
fun foo(o: Any) {
|
||||||
|
if (o is File) {
|
||||||
|
o.<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||||
|
// ABSENT: getAbsolutePath
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
import java.io.File
|
||||||
|
|
||||||
|
fun Any.foo() {
|
||||||
|
if (this is File) {
|
||||||
|
<caret>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||||
|
// ABSENT: getAbsolutePath
|
||||||
-54
@@ -757,12 +757,6 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("SAMAdaptersStatic.kt")
|
|
||||||
public void testSAMAdaptersStatic() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SAMAdaptersStatic.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SetPrefixForProperties.kt")
|
@TestMetadata("SetPrefixForProperties.kt")
|
||||||
public void testSetPrefixForProperties() throws Exception {
|
public void testSetPrefixForProperties() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SetPrefixForProperties.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SetPrefixForProperties.kt");
|
||||||
@@ -1242,12 +1236,6 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("DoNotHideGetterWhenExtensionCannotBeUsed.kt")
|
|
||||||
public void testDoNotHideGetterWhenExtensionCannotBeUsed() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/DoNotHideGetterWhenExtensionCannotBeUsed.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("ExtensionInExtendedClass.kt")
|
@TestMetadata("ExtensionInExtendedClass.kt")
|
||||||
public void testExtensionInExtendedClass() throws Exception {
|
public void testExtensionInExtendedClass() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ExtensionInExtendedClass.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ExtensionInExtendedClass.kt");
|
||||||
@@ -1350,54 +1338,12 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("ShowGetSetOnSecondCompletion.kt")
|
|
||||||
public void testShowGetSetOnSecondCompletion() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ShowGetSetOnSecondCompletion.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("StarTypeArg.kt")
|
@TestMetadata("StarTypeArg.kt")
|
||||||
public void testStarTypeArg() throws Exception {
|
public void testStarTypeArg() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/StarTypeArg.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/StarTypeArg.kt");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensions1.kt")
|
|
||||||
public void testSyntheticExtensions1() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensions1.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensions2.kt")
|
|
||||||
public void testSyntheticExtensions2() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensions2.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsInGenericClass.kt")
|
|
||||||
public void testSyntheticExtensionsInGenericClass() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsInGenericClass.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSafeCall.kt")
|
|
||||||
public void testSyntheticExtensionsSafeCall() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSafeCall.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSmartCast.kt")
|
|
||||||
public void testSyntheticExtensionsSmartCast() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSmartCast.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSmartCast2.kt")
|
|
||||||
public void testSyntheticExtensionsSmartCast2() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSmartCast2.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("WrongExplicitReceiver.kt")
|
@TestMetadata("WrongExplicitReceiver.kt")
|
||||||
public void testWrongExplicitReceiver() throws Exception {
|
public void testWrongExplicitReceiver() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/WrongExplicitReceiver.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/WrongExplicitReceiver.kt");
|
||||||
|
|||||||
+63
-54
@@ -757,12 +757,6 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("SAMAdaptersStatic.kt")
|
|
||||||
public void testSAMAdaptersStatic() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SAMAdaptersStatic.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SetPrefixForProperties.kt")
|
@TestMetadata("SetPrefixForProperties.kt")
|
||||||
public void testSetPrefixForProperties() throws Exception {
|
public void testSetPrefixForProperties() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SetPrefixForProperties.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/SetPrefixForProperties.kt");
|
||||||
@@ -1242,12 +1236,6 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("DoNotHideGetterWhenExtensionCannotBeUsed.kt")
|
|
||||||
public void testDoNotHideGetterWhenExtensionCannotBeUsed() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/DoNotHideGetterWhenExtensionCannotBeUsed.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("ExtensionInExtendedClass.kt")
|
@TestMetadata("ExtensionInExtendedClass.kt")
|
||||||
public void testExtensionInExtendedClass() throws Exception {
|
public void testExtensionInExtendedClass() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ExtensionInExtendedClass.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ExtensionInExtendedClass.kt");
|
||||||
@@ -1350,54 +1338,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("ShowGetSetOnSecondCompletion.kt")
|
|
||||||
public void testShowGetSetOnSecondCompletion() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/ShowGetSetOnSecondCompletion.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("StarTypeArg.kt")
|
@TestMetadata("StarTypeArg.kt")
|
||||||
public void testStarTypeArg() throws Exception {
|
public void testStarTypeArg() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/StarTypeArg.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/StarTypeArg.kt");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensions1.kt")
|
|
||||||
public void testSyntheticExtensions1() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensions1.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensions2.kt")
|
|
||||||
public void testSyntheticExtensions2() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensions2.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsInGenericClass.kt")
|
|
||||||
public void testSyntheticExtensionsInGenericClass() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsInGenericClass.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSafeCall.kt")
|
|
||||||
public void testSyntheticExtensionsSafeCall() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSafeCall.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSmartCast.kt")
|
|
||||||
public void testSyntheticExtensionsSmartCast() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSmartCast.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("SyntheticExtensionsSmartCast2.kt")
|
|
||||||
public void testSyntheticExtensionsSmartCast2() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/SyntheticExtensionsSmartCast2.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("WrongExplicitReceiver.kt")
|
@TestMetadata("WrongExplicitReceiver.kt")
|
||||||
public void testWrongExplicitReceiver() throws Exception {
|
public void testWrongExplicitReceiver() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/WrongExplicitReceiver.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/common/extensions/WrongExplicitReceiver.kt");
|
||||||
@@ -2101,6 +2047,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SAMAdaptersStatic.kt")
|
||||||
|
public void testSAMAdaptersStatic() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/SAMAdaptersStatic.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("TopLevelFromStandardLibrary.kt")
|
@TestMetadata("TopLevelFromStandardLibrary.kt")
|
||||||
public void testTopLevelFromStandardLibrary() throws Exception {
|
public void testTopLevelFromStandardLibrary() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/TopLevelFromStandardLibrary.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/TopLevelFromStandardLibrary.kt");
|
||||||
@@ -2151,5 +2103,62 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions")
|
||||||
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
|
public static class SyntheticExtensions extends AbstractJvmBasicCompletionTest {
|
||||||
|
public void testAllFilesPresentInSyntheticExtensions() throws Exception {
|
||||||
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/idea-completion/testData/basic/java/syntheticExtensions"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("DoNotHideGetterWhenExtensionCannotBeUsed.kt")
|
||||||
|
public void testDoNotHideGetterWhenExtensionCannotBeUsed() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/DoNotHideGetterWhenExtensionCannotBeUsed.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("ShowGetSetOnSecondCompletion.kt")
|
||||||
|
public void testShowGetSetOnSecondCompletion() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/ShowGetSetOnSecondCompletion.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensions1.kt")
|
||||||
|
public void testSyntheticExtensions1() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensions1.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensions2.kt")
|
||||||
|
public void testSyntheticExtensions2() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensions2.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensionsInGenericClass.kt")
|
||||||
|
public void testSyntheticExtensionsInGenericClass() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensionsInGenericClass.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensionsSafeCall.kt")
|
||||||
|
public void testSyntheticExtensionsSafeCall() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensionsSafeCall.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensionsSmartCast.kt")
|
||||||
|
public void testSyntheticExtensionsSmartCast() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensionsSmartCast.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("SyntheticExtensionsSmartCast2.kt")
|
||||||
|
public void testSyntheticExtensionsSmartCast2() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SyntheticExtensionsSmartCast2.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user