[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBlackBoxCodegenTestForSamWithReceiverGenerated extends AbstractFirLightTreeBlackBoxCodegenTestForSamWithReceiver {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -19,62 +19,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiSamWithReceiverDiagnosticTestGenerated extends AbstractFirPsiSamWithReceiverDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxCodegenTestForSamWithReceiverGenerated extends AbstractIrBlackBoxCodegenTestForSamWithReceiver {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class SamWithReceiverScriptNewDefTestGenerated extends AbstractSamWithReceiverScriptNewDefTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInScript() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class SamWithReceiverScriptTestGenerated extends AbstractSamWithReceiverScriptTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInScript() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -19,62 +19,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SamWithReceiverTestGenerated extends AbstractSamWithReceiverTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user