|
|
|
@@ -31,7 +31,7 @@ import org.jetbrains.jet.repl.AbstractReplInterpreterTest;
|
|
|
|
|
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
|
|
|
|
@SuppressWarnings("all")
|
|
|
|
|
@TestMetadata("compiler/testData/repl")
|
|
|
|
|
@InnerTestClasses({ReplInterpreterTestGenerated.Classes.class, ReplInterpreterTestGenerated.Multiline.class, ReplInterpreterTestGenerated.Objects.class, ReplInterpreterTestGenerated.Reflection.class})
|
|
|
|
|
@InnerTestClasses({ReplInterpreterTestGenerated.Classes.class, ReplInterpreterTestGenerated.Multiline.class, ReplInterpreterTestGenerated.Objects.class, ReplInterpreterTestGenerated.PrimitiveTypes.class, ReplInterpreterTestGenerated.Reflection.class})
|
|
|
|
|
public class ReplInterpreterTestGenerated extends AbstractReplInterpreterTest {
|
|
|
|
|
public void testAllFilesPresentInRepl() throws Exception {
|
|
|
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/repl"), Pattern.compile("^(.+)\\.repl$"), true);
|
|
|
|
@@ -196,6 +196,24 @@ public class ReplInterpreterTestGenerated extends AbstractReplInterpreterTest {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("compiler/testData/repl/primitiveTypes")
|
|
|
|
|
public static class PrimitiveTypes extends AbstractReplInterpreterTest {
|
|
|
|
|
public void testAllFilesPresentInPrimitiveTypes() throws Exception {
|
|
|
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/repl/primitiveTypes"), Pattern.compile("^(.+)\\.repl$"), true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("arrayOfBoxed.repl")
|
|
|
|
|
public void testArrayOfBoxed() throws Exception {
|
|
|
|
|
doTest("compiler/testData/repl/primitiveTypes/arrayOfBoxed.repl");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("boxingOnPurpose.repl")
|
|
|
|
|
public void testBoxingOnPurpose() throws Exception {
|
|
|
|
|
doTest("compiler/testData/repl/primitiveTypes/boxingOnPurpose.repl");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("compiler/testData/repl/reflection")
|
|
|
|
|
public static class Reflection extends AbstractReplInterpreterTest {
|
|
|
|
|
public void testAllFilesPresentInReflection() throws Exception {
|
|
|
|
@@ -215,6 +233,7 @@ public class ReplInterpreterTestGenerated extends AbstractReplInterpreterTest {
|
|
|
|
|
suite.addTestSuite(Classes.class);
|
|
|
|
|
suite.addTestSuite(Multiline.class);
|
|
|
|
|
suite.addTestSuite(Objects.class);
|
|
|
|
|
suite.addTestSuite(PrimitiveTypes.class);
|
|
|
|
|
suite.addTestSuite(Reflection.class);
|
|
|
|
|
return suite;
|
|
|
|
|
}
|
|
|
|
|