Got rid of "namespace" word in test data.
This commit is contained in:
@@ -309,11 +309,6 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/NamedArgumentsAndDefaultValues.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamespaceQualified.kt")
|
||||
public void testNamespaceQualified() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/NamespaceQualified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Nullability.kt")
|
||||
public void testNullability() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/Nullability.kt");
|
||||
@@ -344,6 +339,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/PackageInExpressionPosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PackageQualified.kt")
|
||||
public void testPackageQualified() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/PackageQualified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrimaryConstructors.kt")
|
||||
public void testPrimaryConstructors() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/PrimaryConstructors.kt");
|
||||
@@ -404,9 +404,9 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/SafeCallNonNullReceiverReturnNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SafeCallOnFakeNamespace.kt")
|
||||
public void testSafeCallOnFakeNamespace() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/SafeCallOnFakeNamespace.kt");
|
||||
@TestMetadata("SafeCallOnFakePackage.kt")
|
||||
public void testSafeCallOnFakePackage() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/SafeCallOnFakePackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ShiftFunctionTypes.kt")
|
||||
@@ -688,9 +688,9 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/backingField/kt462BackingFieldsResolve.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt782namespaceLevel.kt")
|
||||
public void testKt782namespaceLevel() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/backingField/kt782namespaceLevel.kt");
|
||||
@TestMetadata("kt782packageLevel.kt")
|
||||
public void testKt782packageLevel() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/backingField/kt782packageLevel.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("qualifiedWithThis.kt")
|
||||
@@ -2652,9 +2652,9 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/enum/classObjectOfPrivateEnum.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dontCreateNamespaceTypeForEnumEntry.kt")
|
||||
public void testDontCreateNamespaceTypeForEnumEntry() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/enum/dontCreateNamespaceTypeForEnumEntry.kt");
|
||||
@TestMetadata("dontCreatePackageTypeForEnumEntry.kt")
|
||||
public void testDontCreatePackageTypeForEnumEntry() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/enum/dontCreatePackageTypeForEnumEntry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("entryShouldBeOfEnumType.kt")
|
||||
|
||||
+3
-3
@@ -46,9 +46,9 @@ public class TopLevelMembersInvocationTestGenerated extends AbstractTopLevelMemb
|
||||
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionDifferentPackage");
|
||||
}
|
||||
|
||||
@TestMetadata("functionInMultiFileNamespace")
|
||||
public void testFunctionInMultiFileNamespace() throws Exception {
|
||||
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionInMultiFileNamespace");
|
||||
@TestMetadata("functionInMultiFilePackage")
|
||||
public void testFunctionInMultiFilePackage() throws Exception {
|
||||
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionInMultiFilePackage");
|
||||
}
|
||||
|
||||
@TestMetadata("functionSamePackage")
|
||||
|
||||
+48
-48
@@ -31,7 +31,7 @@ import org.jetbrains.jet.codegen.generated.AbstractBlackBoxCodegenTest;
|
||||
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("compiler/testData/codegen/box")
|
||||
@InnerTestClasses({BlackBoxCodegenTestGenerated.Arrays.class, BlackBoxCodegenTestGenerated.BinaryOp.class, BlackBoxCodegenTestGenerated.Bridges.class, BlackBoxCodegenTestGenerated.BuiltinStubMethods.class, BlackBoxCodegenTestGenerated.CallableReference.class, BlackBoxCodegenTestGenerated.Casts.class, BlackBoxCodegenTestGenerated.Classes.class, BlackBoxCodegenTestGenerated.Closures.class, BlackBoxCodegenTestGenerated.Constants.class, BlackBoxCodegenTestGenerated.ControlStructures.class, BlackBoxCodegenTestGenerated.DefaultArguments.class, BlackBoxCodegenTestGenerated.DelegatedProperty.class, BlackBoxCodegenTestGenerated.Elvis.class, BlackBoxCodegenTestGenerated.Enum.class, BlackBoxCodegenTestGenerated.ExclExcl.class, BlackBoxCodegenTestGenerated.ExtensionFunctions.class, BlackBoxCodegenTestGenerated.ExtensionProperties.class, BlackBoxCodegenTestGenerated.FakeOverride.class, BlackBoxCodegenTestGenerated.FieldRename.class, BlackBoxCodegenTestGenerated.Finally.class, BlackBoxCodegenTestGenerated.Functions.class, BlackBoxCodegenTestGenerated.InnerNested.class, BlackBoxCodegenTestGenerated.Instructions.class, BlackBoxCodegenTestGenerated.Intrinsics.class, BlackBoxCodegenTestGenerated.Labels.class, BlackBoxCodegenTestGenerated.LocalClasses.class, BlackBoxCodegenTestGenerated.MultiDecl.class, BlackBoxCodegenTestGenerated.Namespace.class, BlackBoxCodegenTestGenerated.Objects.class, BlackBoxCodegenTestGenerated.OperatorConventions.class, BlackBoxCodegenTestGenerated.PrimitiveTypes.class, BlackBoxCodegenTestGenerated.Properties.class, BlackBoxCodegenTestGenerated.Reflection.class, BlackBoxCodegenTestGenerated.SafeCall.class, BlackBoxCodegenTestGenerated.SamConstructors.class, BlackBoxCodegenTestGenerated.Strings.class, BlackBoxCodegenTestGenerated.Super.class, BlackBoxCodegenTestGenerated.ToArray.class, BlackBoxCodegenTestGenerated.Traits.class, BlackBoxCodegenTestGenerated.TypeInfo.class, BlackBoxCodegenTestGenerated.TypeMapping.class, BlackBoxCodegenTestGenerated.UnaryOp.class, BlackBoxCodegenTestGenerated.Unit.class, BlackBoxCodegenTestGenerated.Vararg.class, BlackBoxCodegenTestGenerated.When.class})
|
||||
@InnerTestClasses({BlackBoxCodegenTestGenerated.Arrays.class, BlackBoxCodegenTestGenerated.BinaryOp.class, BlackBoxCodegenTestGenerated.Bridges.class, BlackBoxCodegenTestGenerated.BuiltinStubMethods.class, BlackBoxCodegenTestGenerated.CallableReference.class, BlackBoxCodegenTestGenerated.Casts.class, BlackBoxCodegenTestGenerated.Classes.class, BlackBoxCodegenTestGenerated.Closures.class, BlackBoxCodegenTestGenerated.Constants.class, BlackBoxCodegenTestGenerated.ControlStructures.class, BlackBoxCodegenTestGenerated.DefaultArguments.class, BlackBoxCodegenTestGenerated.DelegatedProperty.class, BlackBoxCodegenTestGenerated.Elvis.class, BlackBoxCodegenTestGenerated.Enum.class, BlackBoxCodegenTestGenerated.ExclExcl.class, BlackBoxCodegenTestGenerated.ExtensionFunctions.class, BlackBoxCodegenTestGenerated.ExtensionProperties.class, BlackBoxCodegenTestGenerated.FakeOverride.class, BlackBoxCodegenTestGenerated.FieldRename.class, BlackBoxCodegenTestGenerated.Finally.class, BlackBoxCodegenTestGenerated.Functions.class, BlackBoxCodegenTestGenerated.InnerNested.class, BlackBoxCodegenTestGenerated.Instructions.class, BlackBoxCodegenTestGenerated.Intrinsics.class, BlackBoxCodegenTestGenerated.Labels.class, BlackBoxCodegenTestGenerated.LocalClasses.class, BlackBoxCodegenTestGenerated.MultiDecl.class, BlackBoxCodegenTestGenerated.Objects.class, BlackBoxCodegenTestGenerated.OperatorConventions.class, BlackBoxCodegenTestGenerated.Package.class, BlackBoxCodegenTestGenerated.PrimitiveTypes.class, BlackBoxCodegenTestGenerated.Properties.class, BlackBoxCodegenTestGenerated.Reflection.class, BlackBoxCodegenTestGenerated.SafeCall.class, BlackBoxCodegenTestGenerated.SamConstructors.class, BlackBoxCodegenTestGenerated.Strings.class, BlackBoxCodegenTestGenerated.Super.class, BlackBoxCodegenTestGenerated.ToArray.class, BlackBoxCodegenTestGenerated.Traits.class, BlackBoxCodegenTestGenerated.TypeInfo.class, BlackBoxCodegenTestGenerated.TypeMapping.class, BlackBoxCodegenTestGenerated.UnaryOp.class, BlackBoxCodegenTestGenerated.Unit.class, BlackBoxCodegenTestGenerated.Vararg.class, BlackBoxCodegenTestGenerated.When.class})
|
||||
public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
@@ -2506,9 +2506,9 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inNamespace.kt")
|
||||
public void testInNamespace() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/fieldRename/inNamespace.kt");
|
||||
@TestMetadata("inPackage.kt")
|
||||
public void testInPackage() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/fieldRename/inPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
@@ -3837,49 +3837,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/namespace")
|
||||
public static class Namespace extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInNamespace() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/codegen/box/namespace"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxPrimitiveTypeInClinit.kt")
|
||||
public void testBoxPrimitiveTypeInClinit() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/boxPrimitiveTypeInClinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("checkCast.kt")
|
||||
public void testCheckCast() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/checkCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incrementProperty.kt")
|
||||
public void testIncrementProperty() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/incrementProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokespecial.kt")
|
||||
public void testInvokespecial() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/invokespecial.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("namespaceQualifiedMethod.kt")
|
||||
public void testNamespaceQualifiedMethod() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/namespaceQualifiedMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullablePrimitiveNoFieldInitializer.kt")
|
||||
public void testNullablePrimitiveNoFieldInitializer() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/nullablePrimitiveNoFieldInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelPropAndVarInInner.kt")
|
||||
public void testPrivateTopLevelPropAndVarInInner() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/namespace/privateTopLevelPropAndVarInInner.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/objects")
|
||||
public static class Objects extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInObjects() throws Exception {
|
||||
@@ -4116,6 +4073,49 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/package")
|
||||
public static class Package extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInPackage() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/codegen/box/package"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxPrimitiveTypeInClinit.kt")
|
||||
public void testBoxPrimitiveTypeInClinit() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/boxPrimitiveTypeInClinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("checkCast.kt")
|
||||
public void testCheckCast() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/checkCast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incrementProperty.kt")
|
||||
public void testIncrementProperty() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/incrementProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("invokespecial.kt")
|
||||
public void testInvokespecial() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/invokespecial.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullablePrimitiveNoFieldInitializer.kt")
|
||||
public void testNullablePrimitiveNoFieldInitializer() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("packageQualifiedMethod.kt")
|
||||
public void testPackageQualifiedMethod() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/packageQualifiedMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelPropAndVarInInner.kt")
|
||||
public void testPrivateTopLevelPropAndVarInInner() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/primitiveTypes")
|
||||
public static class PrimitiveTypes extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInPrimitiveTypes() throws Exception {
|
||||
@@ -5246,9 +5246,9 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
suite.addTestSuite(Labels.class);
|
||||
suite.addTestSuite(LocalClasses.class);
|
||||
suite.addTest(MultiDecl.innerSuite());
|
||||
suite.addTestSuite(Namespace.class);
|
||||
suite.addTestSuite(Objects.class);
|
||||
suite.addTest(OperatorConventions.innerSuite());
|
||||
suite.addTestSuite(Package.class);
|
||||
suite.addTestSuite(PrimitiveTypes.class);
|
||||
suite.addTestSuite(Properties.class);
|
||||
suite.addTestSuite(Reflection.class);
|
||||
|
||||
@@ -267,16 +267,6 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
|
||||
doParsingTest("compiler/testData/psi/MultiVariableDeclarations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamespaceBlockFirst.kt")
|
||||
public void testNamespaceBlockFirst() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/NamespaceBlockFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamespaceModifiers.kt")
|
||||
public void testNamespaceModifiers() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/NamespaceModifiers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedComments.kt")
|
||||
public void testNestedComments() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/NestedComments.kt");
|
||||
@@ -302,6 +292,16 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
|
||||
doParsingTest("compiler/testData/psi/ObjectLiteralAsStatement.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PackageBlockFirst.kt")
|
||||
public void testPackageBlockFirst() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/PackageBlockFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PackageModifiers.kt")
|
||||
public void testPackageModifiers() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/PackageModifiers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameMising.kt")
|
||||
public void testParameterNameMising() throws Exception {
|
||||
doParsingTest("compiler/testData/psi/ParameterNameMising.kt");
|
||||
|
||||
@@ -82,11 +82,6 @@ public class ResolveTestGenerated extends AbstractResolveTest {
|
||||
doTest("compiler/testData/resolve/LocalObjects.resolve");
|
||||
}
|
||||
|
||||
@TestMetadata("Namespaces.resolve")
|
||||
public void testNamespaces() throws Exception {
|
||||
doTest("compiler/testData/resolve/Namespaces.resolve");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedObjects.resolve")
|
||||
public void testNestedObjects() throws Exception {
|
||||
doTest("compiler/testData/resolve/NestedObjects.resolve");
|
||||
@@ -102,6 +97,11 @@ public class ResolveTestGenerated extends AbstractResolveTest {
|
||||
doTest("compiler/testData/resolve/Objects.resolve");
|
||||
}
|
||||
|
||||
@TestMetadata("Packages.resolve")
|
||||
public void testPackages() throws Exception {
|
||||
doTest("compiler/testData/resolve/Packages.resolve");
|
||||
}
|
||||
|
||||
@TestMetadata("PrimaryConstructorParameters.resolve")
|
||||
public void testPrimaryConstructorParameters() throws Exception {
|
||||
doTest("compiler/testData/resolve/PrimaryConstructorParameters.resolve");
|
||||
|
||||
Reference in New Issue
Block a user