From c9cd49d34fef97f658507a31ef9cad5adc13762d Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Tue, 11 May 2021 19:45:43 +0300 Subject: [PATCH] [Test] Temporary remove test for KT-22379 This is needed because this test breaks IDE when whit file is indexed. This test will be returned after release of new kotlin plugins for IDEA --- .../testData/psi/stringTemplates/kt46455.kt | 6 -- .../testData/psi/stringTemplates/kt46455.txt | 66 ------------------- .../kotlin/parsing/ParsingTestGenerated.java | 5 -- 3 files changed, 77 deletions(-) delete mode 100644 compiler/testData/psi/stringTemplates/kt46455.kt delete mode 100644 compiler/testData/psi/stringTemplates/kt46455.txt diff --git a/compiler/testData/psi/stringTemplates/kt46455.kt b/compiler/testData/psi/stringTemplates/kt46455.kt deleted file mode 100644 index 5ff01546f93..00000000000 --- a/compiler/testData/psi/stringTemplates/kt46455.kt +++ /dev/null @@ -1,6 +0,0 @@ -// ISSUE: KT-46455 - -class A { - fun bar() = - x foo(*z) ?: "${z.joinToString()}" -} diff --git a/compiler/testData/psi/stringTemplates/kt46455.txt b/compiler/testData/psi/stringTemplates/kt46455.txt deleted file mode 100644 index 3e90580362b..00000000000 --- a/compiler/testData/psi/stringTemplates/kt46455.txt +++ /dev/null @@ -1,66 +0,0 @@ -KtFile: kt46455.kt - PACKAGE_DIRECTIVE - - IMPORT_LIST - - PsiComment(EOL_COMMENT)('// ISSUE: KT-46455') - PsiWhiteSpace('\n\n') - CLASS - PsiElement(class)('class') - PsiWhiteSpace(' ') - PsiElement(IDENTIFIER)('A') - PsiWhiteSpace(' ') - CLASS_BODY - PsiElement(LBRACE)('{') - PsiWhiteSpace('\n ') - FUN - PsiElement(fun)('fun') - PsiWhiteSpace(' ') - PsiElement(IDENTIFIER)('bar') - VALUE_PARAMETER_LIST - PsiElement(LPAR)('(') - PsiElement(RPAR)(')') - PsiWhiteSpace(' ') - PsiElement(EQ)('=') - PsiWhiteSpace('\n ') - BINARY_EXPRESSION - REFERENCE_EXPRESSION - PsiElement(IDENTIFIER)('x') - PsiWhiteSpace(' ') - OPERATION_REFERENCE - PsiElement(IDENTIFIER)('foo') - BINARY_EXPRESSION - PARENTHESIZED - PsiElement(LPAR)('(') - PsiErrorElement:Expecting an expression - - OPERATION_REFERENCE - PsiElement(MUL)('*') - REFERENCE_EXPRESSION - PsiElement(IDENTIFIER)('z') - PsiErrorElement:Expecting member declaration - PsiElement(RPAR)(')') - PsiWhiteSpace(' ') - PsiErrorElement:Expecting member declaration - PsiElement(ELVIS)('?:') - PsiWhiteSpace(' ') - PsiErrorElement:Expecting member declaration - PsiElement(OPEN_QUOTE)('"') - PsiErrorElement:Expecting member declaration - PsiElement(LONG_TEMPLATE_ENTRY_START)('${') - PsiErrorElement:Expecting member declaration - PsiElement(IDENTIFIER)('z') - PsiErrorElement:Expecting member declaration - PsiElement(DOT)('.') - PsiErrorElement:Expecting member declaration - PsiElement(IDENTIFIER)('joinToString') - PsiErrorElement:Expecting member declaration - PsiElement(LPAR)('(') - PsiErrorElement:Expecting member declaration - PsiElement(RPAR)(')') - PsiErrorElement:Expecting member declaration - PsiElement(LONG_TEMPLATE_ENTRY_END)('}') - PsiErrorElement:Expecting member declaration - PsiElement(CLOSING_QUOTE)('"') - PsiWhiteSpace('\n') - PsiElement(RBRACE)('}') \ No newline at end of file diff --git a/compiler/tests-gen/org/jetbrains/kotlin/parsing/ParsingTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/parsing/ParsingTestGenerated.java index 12716f3ea44..5010f30c5f6 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/parsing/ParsingTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/parsing/ParsingTestGenerated.java @@ -2787,11 +2787,6 @@ public class ParsingTestGenerated extends AbstractParsingTest { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/psi/stringTemplates"), Pattern.compile("^(.*)\\.kts?$"), null, true); } - @TestMetadata("kt46455.kt") - public void testKt46455() throws Exception { - runTest("compiler/testData/psi/stringTemplates/kt46455.kt"); - } - @TestMetadata("RawStringsWithManyQuotes.kt") public void testRawStringsWithManyQuotes() throws Exception { runTest("compiler/testData/psi/stringTemplates/RawStringsWithManyQuotes.kt");