Add Contract tests for JS

This commit is contained in:
Roman Artemev
2018-11-01 17:43:36 +03:00
committed by romanart
parent caad0d5a74
commit b010d9eef8
17 changed files with 340 additions and 1 deletions
@@ -989,6 +989,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/contracts"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("cfgDependendValInitialization.kt")
public void testCfgDependendValInitialization() throws Exception {
runTest("compiler/testData/codegen/boxInline/contracts/cfgDependendValInitialization.kt");
}
@TestMetadata("complexInitializer.kt")
public void testComplexInitializer() throws Exception {
runTest("compiler/testData/codegen/boxInline/contracts/complexInitializer.kt");
@@ -1009,6 +1014,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/contracts/definiteNestedValInitialization.kt");
}
@TestMetadata("definiteValInitInInitializer.kt")
public void testDefiniteValInitInInitializer() throws Exception {
runTest("compiler/testData/codegen/boxInline/contracts/definiteValInitInInitializer.kt");
}
@TestMetadata("definiteValInitialization.kt")
public void testDefiniteValInitialization() throws Exception {
runTest("compiler/testData/codegen/boxInline/contracts/definiteValInitialization.kt");