From 23c5ad78b509ad7fc1b83cdcc896ba99e6f0a38f Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Wed, 22 Oct 2014 15:51:28 +0400 Subject: [PATCH] Regenerated tests --- .../JSBasicCompletionTestGenerated.java | 72 +++++++++++++++++++ .../JvmBasicCompletionTestGenerated.java | 72 +++++++++++++++++++ .../SmartCompletionHandlerTestGenerated.java | 18 +++++ .../SmartCompletionWeigherTestGenerated.java | 18 +++++ 4 files changed, 180 insertions(+) diff --git a/idea/tests/org/jetbrains/jet/completion/JSBasicCompletionTestGenerated.java b/idea/tests/org/jetbrains/jet/completion/JSBasicCompletionTestGenerated.java index 80bd81a15fd..dd64e7e1eb3 100644 --- a/idea/tests/org/jetbrains/jet/completion/JSBasicCompletionTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/completion/JSBasicCompletionTestGenerated.java @@ -196,6 +196,72 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes doTest(fileName); } + @TestMetadata("FunctionLiteralParameterName0.kt") + public void testFunctionLiteralParameterName0() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName0.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName1.kt") + public void testFunctionLiteralParameterName1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName1.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName2.kt") + public void testFunctionLiteralParameterName2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName2.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName3.kt") + public void testFunctionLiteralParameterName3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName3.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName4.kt") + public void testFunctionLiteralParameterName4() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName4.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName5.kt") + public void testFunctionLiteralParameterName5() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName5.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType1.kt") + public void testFunctionLiteralParameterType1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType1.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType2.kt") + public void testFunctionLiteralParameterType2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType2.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType3.kt") + public void testFunctionLiteralParameterType3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType3.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType4.kt") + public void testFunctionLiteralParameterType4() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType4.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType5.kt") + public void testFunctionLiteralParameterType5() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType5.kt"); + doTest(fileName); + } + @TestMetadata("FunctionVariableCallArgument.kt") public void testFunctionVariableCallArgument() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionVariableCallArgument.kt"); @@ -532,6 +598,12 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes doTest(fileName); } + @TestMetadata("NoPackageFacadeClasses.kt") + public void testNoPackageFacadeClasses() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/NoPackageFacadeClasses.kt"); + doTest(fileName); + } + @TestMetadata("NoSecondPressCompletionInAutoPopup.kt") public void testNoSecondPressCompletionInAutoPopup() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/NoSecondPressCompletionInAutoPopup.kt"); diff --git a/idea/tests/org/jetbrains/jet/completion/JvmBasicCompletionTestGenerated.java b/idea/tests/org/jetbrains/jet/completion/JvmBasicCompletionTestGenerated.java index 877ff4fc6d9..2fb5837d89d 100644 --- a/idea/tests/org/jetbrains/jet/completion/JvmBasicCompletionTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/completion/JvmBasicCompletionTestGenerated.java @@ -196,6 +196,72 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT doTest(fileName); } + @TestMetadata("FunctionLiteralParameterName0.kt") + public void testFunctionLiteralParameterName0() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName0.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName1.kt") + public void testFunctionLiteralParameterName1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName1.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName2.kt") + public void testFunctionLiteralParameterName2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName2.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName3.kt") + public void testFunctionLiteralParameterName3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName3.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName4.kt") + public void testFunctionLiteralParameterName4() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName4.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterName5.kt") + public void testFunctionLiteralParameterName5() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterName5.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType1.kt") + public void testFunctionLiteralParameterType1() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType1.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType2.kt") + public void testFunctionLiteralParameterType2() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType2.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType3.kt") + public void testFunctionLiteralParameterType3() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType3.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType4.kt") + public void testFunctionLiteralParameterType4() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType4.kt"); + doTest(fileName); + } + + @TestMetadata("FunctionLiteralParameterType5.kt") + public void testFunctionLiteralParameterType5() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionLiteralParameterType5.kt"); + doTest(fileName); + } + @TestMetadata("FunctionVariableCallArgument.kt") public void testFunctionVariableCallArgument() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/FunctionVariableCallArgument.kt"); @@ -532,6 +598,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT doTest(fileName); } + @TestMetadata("NoPackageFacadeClasses.kt") + public void testNoPackageFacadeClasses() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/NoPackageFacadeClasses.kt"); + doTest(fileName); + } + @TestMetadata("NoSecondPressCompletionInAutoPopup.kt") public void testNoSecondPressCompletionInAutoPopup() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/NoSecondPressCompletionInAutoPopup.kt"); diff --git a/idea/tests/org/jetbrains/jet/completion/handlers/SmartCompletionHandlerTestGenerated.java b/idea/tests/org/jetbrains/jet/completion/handlers/SmartCompletionHandlerTestGenerated.java index b7cb7700768..f136bb1df0f 100644 --- a/idea/tests/org/jetbrains/jet/completion/handlers/SmartCompletionHandlerTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/completion/handlers/SmartCompletionHandlerTestGenerated.java @@ -456,6 +456,24 @@ public class SmartCompletionHandlerTestGenerated extends AbstractSmartCompletion doTest(fileName); } + @TestMetadata("MultipleArgsItemByTab.kt") + public void testMultipleArgsItemByTab() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/handlers/smart/MultipleArgsItemByTab.kt"); + doTest(fileName); + } + + @TestMetadata("NestedDataClass.kt") + public void testNestedDataClass() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/handlers/smart/NestedDataClass.kt"); + doTest(fileName); + } + + @TestMetadata("NestedDataClassComma.kt") + public void testNestedDataClassComma() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/handlers/smart/NestedDataClassComma.kt"); + doTest(fileName); + } + @TestMetadata("NullableValue1.kt") public void testNullableValue1() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/handlers/smart/NullableValue1.kt"); diff --git a/idea/tests/org/jetbrains/jet/completion/weighers/SmartCompletionWeigherTestGenerated.java b/idea/tests/org/jetbrains/jet/completion/weighers/SmartCompletionWeigherTestGenerated.java index 9d0da71bde4..988cf800957 100644 --- a/idea/tests/org/jetbrains/jet/completion/weighers/SmartCompletionWeigherTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/completion/weighers/SmartCompletionWeigherTestGenerated.java @@ -36,12 +36,24 @@ public class SmartCompletionWeigherTestGenerated extends AbstractSmartCompletion JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/completion/weighers/smart"), Pattern.compile("^([^\\.]+)\\.kt$"), true); } + @TestMetadata("BooleanExpected.kt") + public void testBooleanExpected() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/BooleanExpected.kt"); + doTest(fileName); + } + @TestMetadata("FunctionExpected.kt") public void testFunctionExpected() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/FunctionExpected.kt"); doTest(fileName); } + @TestMetadata("It.kt") + public void testIt() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/It.kt"); + doTest(fileName); + } + @TestMetadata("MultipleArgsItem.kt") public void testMultipleArgsItem() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/MultipleArgsItem.kt"); @@ -168,6 +180,12 @@ public class SmartCompletionWeigherTestGenerated extends AbstractSmartCompletion doTest(fileName); } + @TestMetadata("NullableExpected.kt") + public void testNullableExpected() throws Exception { + String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/NullableExpected.kt"); + doTest(fileName); + } + @TestMetadata("SmartPriority.kt") public void testSmartPriority() throws Exception { String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/weighers/smart/SmartPriority.kt");