K1/K2: add test for streams situation from intellij
This commit is contained in:
committed by
Space Team
parent
6e1b6427ab
commit
993509c057
+22
-6
@@ -40007,12 +40007,6 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/shadowingInDestructuring.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("streams.kt")
|
||||
public void testStreams() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -44687,6 +44681,28 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/streams")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Streams {
|
||||
@Test
|
||||
public void testAllFilesPresentInStreams() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/streams"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams/basic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongNullability.kt")
|
||||
public void testWrongNullability() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams/wrongNullability.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+22
-6
@@ -40145,12 +40145,6 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/shadowingInDestructuring.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("streams.kt")
|
||||
public void testStreams() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -44825,6 +44819,28 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/streams")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Streams {
|
||||
@Test
|
||||
public void testAllFilesPresentInStreams() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/streams"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams/basic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongNullability.kt")
|
||||
public void testWrongNullability() {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/streams/wrongNullability.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user