Renamed some generated tests to follow conventions.

This commit is contained in:
Evgeny Gerashchenko
2013-12-19 21:18:32 +04:00
parent cd8f5fae54
commit dd5766d878
4 changed files with 88 additions and 7095 deletions
@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Map;
public abstract class AbstractJetDiagnostics1Test extends BaseDiagnosticsTest {
public abstract class AbstractJetDiagnosticsTest extends BaseDiagnosticsTest {
@Override
protected void analyzeAndCheck(File testDataFile, List<TestFile> testFiles) {
File diff suppressed because it is too large Load Diff
@@ -16,6 +16,7 @@
package org.jetbrains.jet.checkers;
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -25,13 +26,15 @@ import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.jetbrains.jet.checkers.AbstractJetDiagnosticsTest;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@InnerTestClasses({JetDiagnosticsTestGenerated.Tests.class, JetDiagnosticsTestGenerated.Script.class, JetDiagnosticsTestGenerated.TailRecursion.class})
public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
@TestMetadata("compiler/testData/diagnostics/tests")
@InnerTestClasses({Tests.Annotations.class, Tests.BackingField.class, Tests.CallableReference.class, Tests.Cast.class, Tests.CheckArguments.class, Tests.ClassObjects.class, Tests.ControlFlowAnalysis.class, Tests.ControlStructures.class, Tests.DataClasses.class, Tests.DataFlow.class, Tests.DataFlowInfoTraversal.class, Tests.DeclarationChecks.class, Tests.DelegatedProperty.class, Tests.Deparenthesize.class, Tests.Enum.class, Tests.Evaluate.class, Tests.Extensions.class, Tests.FunctionLiterals.class, Tests.Generics.class, Tests.IncompleteCode.class, Tests.Inference.class, Tests.Infos.class, Tests.Inline.class, Tests.Inner.class, Tests.J_k.class, Tests.Jdk_annotations.class, Tests.Library.class, Tests.NullabilityAndAutoCasts.class, Tests.NullableTypes.class, Tests.Numbers.class, Tests.Objects.class, Tests.OperatorsOverloading.class, Tests.Overload.class, Tests.Override.class, Tests.Recovery.class, Tests.Redeclarations.class, Tests.Regressions.class, Tests.Resolve.class, Tests.Scopes.class, Tests.SenselessComparison.class, Tests.Shadowing.class, Tests.SmartCasts.class, Tests.Substitutions.class, Tests.Subtyping.class, Tests.Suppress.class, Tests.ThisAndSuper.class, Tests.Unit.class, Tests.Varargs.class, Tests.When.class})
public static class Tests extends AbstractJetDiagnostics1Test {
public static class Tests extends AbstractJetDiagnosticsTest {
@TestMetadata("Abstract.kt")
public void testAbstract() throws Exception {
doTest("compiler/testData/diagnostics/tests/Abstract.kt");
@@ -507,7 +510,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/annotations")
public static class Annotations extends AbstractJetDiagnostics1Test {
public static class Annotations extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInAnnotations() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/annotations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -625,7 +628,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/backingField")
public static class BackingField extends AbstractJetDiagnostics1Test {
public static class BackingField extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInBackingField() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -738,7 +741,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/callableReference")
public static class CallableReference extends AbstractJetDiagnostics1Test {
public static class CallableReference extends AbstractJetDiagnosticsTest {
@TestMetadata("abstractClassConstructors.kt")
public void testAbstractClassConstructors() throws Exception {
doTest("compiler/testData/diagnostics/tests/callableReference/abstractClassConstructors.kt");
@@ -982,7 +985,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/cast")
@InnerTestClasses({Cast.Bare.class, Cast.NeverSucceeds.class})
public static class Cast extends AbstractJetDiagnostics1Test {
public static class Cast extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInCast() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/cast"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1208,7 +1211,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/cast/bare")
public static class Bare extends AbstractJetDiagnostics1Test {
public static class Bare extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInBare() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/cast/bare"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1311,7 +1314,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/cast/neverSucceeds")
public static class NeverSucceeds extends AbstractJetDiagnostics1Test {
public static class NeverSucceeds extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNeverSucceeds() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/cast/neverSucceeds"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1348,7 +1351,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/checkArguments")
public static class CheckArguments extends AbstractJetDiagnostics1Test {
public static class CheckArguments extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInCheckArguments() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1376,7 +1379,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/classObjects")
public static class ClassObjects extends AbstractJetDiagnostics1Test {
public static class ClassObjects extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInClassObjects() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/classObjects"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1425,7 +1428,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/controlFlowAnalysis")
@InnerTestClasses({ControlFlowAnalysis.DefiniteReturn.class})
public static class ControlFlowAnalysis extends AbstractJetDiagnostics1Test {
public static class ControlFlowAnalysis extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInControlFlowAnalysis() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/controlFlowAnalysis"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1606,7 +1609,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn")
public static class DefiniteReturn extends AbstractJetDiagnostics1Test {
public static class DefiniteReturn extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDefiniteReturn() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1637,7 +1640,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/controlStructures")
public static class ControlStructures extends AbstractJetDiagnostics1Test {
public static class ControlStructures extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInControlStructures() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1720,7 +1723,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/dataClasses")
public static class DataClasses extends AbstractJetDiagnostics1Test {
public static class DataClasses extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDataClasses() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/dataClasses"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1834,7 +1837,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/dataFlow")
@InnerTestClasses({DataFlow.Local.class})
public static class DataFlow extends AbstractJetDiagnostics1Test {
public static class DataFlow extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDataFlow() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/dataFlow"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1860,7 +1863,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/dataFlow/local")
public static class Local extends AbstractJetDiagnostics1Test {
public static class Local extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInLocal() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/dataFlow/local"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -1936,7 +1939,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/dataFlowInfoTraversal")
public static class DataFlowInfoTraversal extends AbstractJetDiagnostics1Test {
public static class DataFlowInfoTraversal extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDataFlowInfoTraversal() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/dataFlowInfoTraversal"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2185,7 +2188,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/declarationChecks")
@InnerTestClasses({DeclarationChecks.MultiDeclarations.class})
public static class DeclarationChecks extends AbstractJetDiagnostics1Test {
public static class DeclarationChecks extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDeclarationChecks() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2306,7 +2309,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations")
public static class MultiDeclarations extends AbstractJetDiagnostics1Test {
public static class MultiDeclarations extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInMultiDeclarations() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2368,7 +2371,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/delegatedProperty")
@InnerTestClasses({DelegatedProperty.Inference.class})
public static class DelegatedProperty extends AbstractJetDiagnostics1Test {
public static class DelegatedProperty extends AbstractJetDiagnosticsTest {
@TestMetadata("absentErrorAboutInitializer.kt")
public void testAbsentErrorAboutInitializer() throws Exception {
doTest("compiler/testData/diagnostics/tests/delegatedProperty/absentErrorAboutInitializer.kt");
@@ -2534,7 +2537,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/delegatedProperty/inference")
public static class Inference extends AbstractJetDiagnostics1Test {
public static class Inference extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInference() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/delegatedProperty/inference"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2590,7 +2593,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/deparenthesize")
public static class Deparenthesize extends AbstractJetDiagnostics1Test {
public static class Deparenthesize extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDeparenthesize() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/deparenthesize"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2609,7 +2612,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/enum")
@InnerTestClasses({Enum.Inner.class})
public static class Enum extends AbstractJetDiagnostics1Test {
public static class Enum extends AbstractJetDiagnosticsTest {
@TestMetadata("AbstractEnum.kt")
public void testAbstractEnum() throws Exception {
doTest("compiler/testData/diagnostics/tests/enum/AbstractEnum.kt");
@@ -2725,7 +2728,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/enum/inner")
public static class Inner extends AbstractJetDiagnostics1Test {
public static class Inner extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInner() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/enum/inner"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2796,7 +2799,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/evaluate")
public static class Evaluate extends AbstractJetDiagnostics1Test {
public static class Evaluate extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInEvaluate() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/evaluate"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2884,7 +2887,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/extensions")
public static class Extensions extends AbstractJetDiagnostics1Test {
public static class Extensions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInExtensions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/extensions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -2963,7 +2966,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/functionLiterals")
@InnerTestClasses({FunctionLiterals.Return.class})
public static class FunctionLiterals extends AbstractJetDiagnostics1Test {
public static class FunctionLiterals extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInFunctionLiterals() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/functionLiterals"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3019,7 +3022,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/functionLiterals/return")
public static class Return extends AbstractJetDiagnostics1Test {
public static class Return extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInReturn() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/functionLiterals/return"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3101,7 +3104,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/generics")
@InnerTestClasses({Generics.TpAsReified.class, Generics.VarProjection.class})
public static class Generics extends AbstractJetDiagnostics1Test {
public static class Generics extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInGenerics() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3162,7 +3165,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/generics/tpAsReified")
public static class TpAsReified extends AbstractJetDiagnostics1Test {
public static class TpAsReified extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInTpAsReified() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/generics/tpAsReified"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3195,7 +3198,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/generics/varProjection")
public static class VarProjection extends AbstractJetDiagnostics1Test {
public static class VarProjection extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInVarProjection() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/generics/varProjection"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3233,7 +3236,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/incompleteCode")
@InnerTestClasses({IncompleteCode.DiagnosticWithSyntaxError.class})
public static class IncompleteCode extends AbstractJetDiagnostics1Test {
public static class IncompleteCode extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInIncompleteCode() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/incompleteCode"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3299,7 +3302,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError")
public static class DiagnosticWithSyntaxError extends AbstractJetDiagnostics1Test {
public static class DiagnosticWithSyntaxError extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3376,7 +3379,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/inference")
@InnerTestClasses({Inference.Constraints.class, Inference.NestedCalls.class, Inference.Regressions.class, Inference.ReportingImprovements.class, Inference.UpperBounds.class, Inference.Varargs.class})
public static class Inference extends AbstractJetDiagnostics1Test {
public static class Inference extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInference() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3527,7 +3530,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/constraints")
public static class Constraints extends AbstractJetDiagnostics1Test {
public static class Constraints extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInConstraints() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/constraints"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3560,7 +3563,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/nestedCalls")
public static class NestedCalls extends AbstractJetDiagnostics1Test {
public static class NestedCalls extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNestedCalls() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3623,7 +3626,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/regressions")
public static class Regressions extends AbstractJetDiagnostics1Test {
public static class Regressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInRegressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3846,7 +3849,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/reportingImprovements")
public static class ReportingImprovements extends AbstractJetDiagnostics1Test {
public static class ReportingImprovements extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInReportingImprovements() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3879,7 +3882,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/upperBounds")
public static class UpperBounds extends AbstractJetDiagnostics1Test {
public static class UpperBounds extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInUpperBounds() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/upperBounds"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3917,7 +3920,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inference/varargs")
public static class Varargs extends AbstractJetDiagnostics1Test {
public static class Varargs extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInVarargs() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inference/varargs"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3943,7 +3946,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/infos")
public static class Infos extends AbstractJetDiagnostics1Test {
public static class Infos extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInfos() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/infos"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -3962,7 +3965,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/inline")
@InnerTestClasses({Inline.BinaryExpressions.class, Inline.NonPublicMember.class, Inline.UnaryExpressions.class})
public static class Inline extends AbstractJetDiagnostics1Test {
public static class Inline extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInline() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4068,7 +4071,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inline/binaryExpressions")
public static class BinaryExpressions extends AbstractJetDiagnostics1Test {
public static class BinaryExpressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInBinaryExpressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline/binaryExpressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4116,7 +4119,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inline/nonPublicMember")
public static class NonPublicMember extends AbstractJetDiagnostics1Test {
public static class NonPublicMember extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNonPublicMember() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline/nonPublicMember"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4159,7 +4162,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inline/unaryExpressions")
public static class UnaryExpressions extends AbstractJetDiagnostics1Test {
public static class UnaryExpressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInUnaryExpressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inline/unaryExpressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4188,7 +4191,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/inner")
@InnerTestClasses({Inner.QualifiedExpression.class})
public static class Inner extends AbstractJetDiagnostics1Test {
public static class Inner extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInner() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inner"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4324,7 +4327,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/inner/qualifiedExpression")
public static class QualifiedExpression extends AbstractJetDiagnostics1Test {
public static class QualifiedExpression extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInQualifiedExpression() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/inner/qualifiedExpression"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4390,7 +4393,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/j+k")
public static class J_k extends AbstractJetDiagnostics1Test {
public static class J_k extends AbstractJetDiagnosticsTest {
@TestMetadata("accessClassObjectFromJava.kt")
public void testAccessClassObjectFromJava() throws Exception {
doTest("compiler/testData/diagnostics/tests/j+k/accessClassObjectFromJava.kt");
@@ -4534,7 +4537,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/jdk-annotations")
@InnerTestClasses({Jdk_annotations.Sql.class})
public static class Jdk_annotations extends AbstractJetDiagnostics1Test {
public static class Jdk_annotations extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInJdk_annotations() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/jdk-annotations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4555,7 +4558,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/jdk-annotations/sql")
public static class Sql extends AbstractJetDiagnostics1Test {
public static class Sql extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSql() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/jdk-annotations/sql"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4586,7 +4589,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/library")
public static class Library extends AbstractJetDiagnostics1Test {
public static class Library extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInLibrary() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/library"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4609,7 +4612,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/nullabilityAndAutoCasts")
public static class NullabilityAndAutoCasts extends AbstractJetDiagnostics1Test {
public static class NullabilityAndAutoCasts extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNullabilityAndAutoCasts() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/nullabilityAndAutoCasts"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4772,7 +4775,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/nullableTypes")
public static class NullableTypes extends AbstractJetDiagnostics1Test {
public static class NullableTypes extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNullableTypes() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/nullableTypes"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4815,7 +4818,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/numbers")
public static class Numbers extends AbstractJetDiagnostics1Test {
public static class Numbers extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNumbers() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4843,7 +4846,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/objects")
public static class Objects extends AbstractJetDiagnostics1Test {
public static class Objects extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInObjects() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/objects"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4881,7 +4884,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/operatorsOverloading")
public static class OperatorsOverloading extends AbstractJetDiagnostics1Test {
public static class OperatorsOverloading extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInOperatorsOverloading() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/operatorsOverloading"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4909,7 +4912,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/overload")
public static class Overload extends AbstractJetDiagnostics1Test {
public static class Overload extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInOverload() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/overload"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -4987,7 +4990,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/override")
public static class Override extends AbstractJetDiagnostics1Test {
public static class Override extends AbstractJetDiagnosticsTest {
@TestMetadata("AbstractFunImplemented.kt")
public void testAbstractFunImplemented() throws Exception {
doTest("compiler/testData/diagnostics/tests/override/AbstractFunImplemented.kt");
@@ -5185,7 +5188,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/recovery")
public static class Recovery extends AbstractJetDiagnostics1Test {
public static class Recovery extends AbstractJetDiagnosticsTest {
@TestMetadata("absentLeftHandSide.kt")
public void testAbsentLeftHandSide() throws Exception {
doTest("compiler/testData/diagnostics/tests/recovery/absentLeftHandSide.kt");
@@ -5198,7 +5201,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/redeclarations")
public static class Redeclarations extends AbstractJetDiagnostics1Test {
public static class Redeclarations extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInRedeclarations() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/redeclarations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5271,7 +5274,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/regressions")
public static class Regressions extends AbstractJetDiagnostics1Test {
public static class Regressions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInRegressions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/regressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5775,7 +5778,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/resolve")
@InnerTestClasses({Resolve.Invoke.class, Resolve.NestedCalls.class, Resolve.SpecialConstructions.class})
public static class Resolve extends AbstractJetDiagnostics1Test {
public static class Resolve extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInResolve() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/resolve"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5816,7 +5819,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/resolve/invoke")
public static class Invoke extends AbstractJetDiagnostics1Test {
public static class Invoke extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInvoke() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5859,7 +5862,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/resolve/nestedCalls")
public static class NestedCalls extends AbstractJetDiagnostics1Test {
public static class NestedCalls extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInNestedCalls() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/resolve/nestedCalls"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5882,7 +5885,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/resolve/specialConstructions")
public static class SpecialConstructions extends AbstractJetDiagnostics1Test {
public static class SpecialConstructions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSpecialConstructions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -5915,7 +5918,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/scopes")
public static class Scopes extends AbstractJetDiagnostics1Test {
public static class Scopes extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInScopes() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/scopes"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6133,7 +6136,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/senselessComparison")
public static class SenselessComparison extends AbstractJetDiagnostics1Test {
public static class SenselessComparison extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSenselessComparison() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/senselessComparison"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6146,7 +6149,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/shadowing")
public static class Shadowing extends AbstractJetDiagnostics1Test {
public static class Shadowing extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInShadowing() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/shadowing"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6205,7 +6208,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/smartCasts")
@InnerTestClasses({SmartCasts.Inference.class})
public static class SmartCasts extends AbstractJetDiagnostics1Test {
public static class SmartCasts extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSmartCasts() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/smartCasts"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6261,7 +6264,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/smartCasts/inference")
public static class Inference extends AbstractJetDiagnostics1Test {
public static class Inference extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInInference() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/smartCasts/inference"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6307,7 +6310,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/substitutions")
public static class Substitutions extends AbstractJetDiagnostics1Test {
public static class Substitutions extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSubstitutions() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/substitutions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6330,7 +6333,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/subtyping")
public static class Subtyping extends AbstractJetDiagnostics1Test {
public static class Subtyping extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSubtyping() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/subtyping"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6364,13 +6367,13 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
@TestMetadata("compiler/testData/diagnostics/tests/suppress")
@InnerTestClasses({Suppress.AllWarnings.class, Suppress.ManyWarnings.class, Suppress.OneWarning.class})
public static class Suppress extends AbstractJetDiagnostics1Test {
public static class Suppress extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInSuppress() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/suppress"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("compiler/testData/diagnostics/tests/suppress/allWarnings")
public static class AllWarnings extends AbstractJetDiagnostics1Test {
public static class AllWarnings extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInAllWarnings() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/suppress/allWarnings"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6418,7 +6421,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/suppress/manyWarnings")
public static class ManyWarnings extends AbstractJetDiagnostics1Test {
public static class ManyWarnings extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInManyWarnings() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/suppress/manyWarnings"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6471,7 +6474,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/suppress/oneWarning")
public static class OneWarning extends AbstractJetDiagnostics1Test {
public static class OneWarning extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInOneWarning() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/suppress/oneWarning"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6534,7 +6537,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/thisAndSuper")
public static class ThisAndSuper extends AbstractJetDiagnostics1Test {
public static class ThisAndSuper extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInThisAndSuper() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/thisAndSuper"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6602,7 +6605,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/unit")
public static class Unit extends AbstractJetDiagnostics1Test {
public static class Unit extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInUnit() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/unit"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6615,7 +6618,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/varargs")
public static class Varargs extends AbstractJetDiagnostics1Test {
public static class Varargs extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInVarargs() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/varargs"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6678,7 +6681,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/when")
public static class When extends AbstractJetDiagnostics1Test {
public static class When extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInWhen() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/when"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -6787,7 +6790,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/diagnostics/tests/script")
public static class Script extends AbstractJetDiagnostics1Test {
public static class Script extends AbstractJetDiagnosticsTest {
@TestMetadata("AccessForwardDeclarationInScript.ktscript")
public void testAccessForwardDeclarationInScript() throws Exception {
doTest("compiler/testData/diagnostics/tests/script/AccessForwardDeclarationInScript.ktscript");
@@ -6815,7 +6818,7 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnostics1Test {
}
@TestMetadata("compiler/testData/codegen/box/functions/tailRecursion")
public static class TailRecursion extends AbstractJetDiagnostics1Test {
public static class TailRecursion extends AbstractJetDiagnosticsTest {
public void testAllFilesPresentInTailRecursion() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/codegen/box/functions/tailRecursion"), Pattern.compile("^(.+)\\.kt$"), true);
}
@@ -22,7 +22,7 @@ import org.jetbrains.jet.generators.tests.generator.SimpleTestClassModel
import java.io.File
import java.util.regex.Pattern
import junit.framework.TestCase
import org.jetbrains.jet.checkers.AbstractJetDiagnostics1Test
import org.jetbrains.jet.checkers.AbstractJetDiagnosticsTest
import org.jetbrains.jet.resolve.AbstractResolveTest
import org.jetbrains.jet.parsing.AbstractJetParsingTest
import org.jetbrains.jet.codegen.generated.AbstractBlackBoxCodegenTest
@@ -83,7 +83,7 @@ fun main(args: Array<String>) {
testGroup("compiler/tests", "compiler/testData") {
testClass(javaClass<AbstractJetDiagnostics1Test>()) {
testClass(javaClass<AbstractJetDiagnosticsTest>()) {
model("diagnostics/tests")
model("diagnostics/tests/script", extension = "ktscript")
model("codegen/box/functions/tailRecursion")