Tests regenerated

This commit is contained in:
Andrey Breslav
2014-09-08 18:49:21 +04:00
parent cb07c65b7d
commit 32c8d3a96d
100 changed files with 21437 additions and 10163 deletions
@@ -16,6 +16,7 @@
package org.jetbrains.jet.codegen;
import com.intellij.testFramework.TestDataPath;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.jetbrains.jet.JetTestUtils;
@@ -28,6 +29,7 @@ import java.util.regex.Pattern;
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("compiler/testData/codegen/topLevelMemberInvocation")
@TestDataPath("$PROJECT_ROOT")
public class TopLevelMembersInvocationTestGenerated extends AbstractTopLevelMembersInvocationTest {
public void testAllFilesPresentInTopLevelMemberInvocation() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/topLevelMemberInvocation"), Pattern.compile("^([^\\.]+)$"), false);
@@ -35,37 +37,44 @@ public class TopLevelMembersInvocationTestGenerated extends AbstractTopLevelMemb
@TestMetadata("extensionFunction")
public void testExtensionFunction() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/extensionFunction/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/extensionFunction/");
doTest(fileName);
}
@TestMetadata("functionDifferentPackage")
public void testFunctionDifferentPackage() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionDifferentPackage/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/functionDifferentPackage/");
doTest(fileName);
}
@TestMetadata("functionInMultiFilePackage")
public void testFunctionInMultiFilePackage() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionInMultiFilePackage/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/functionInMultiFilePackage/");
doTest(fileName);
}
@TestMetadata("functionSamePackage")
public void testFunctionSamePackage() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/functionSamePackage/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/functionSamePackage/");
doTest(fileName);
}
@TestMetadata("property")
public void testProperty() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/property/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/property/");
doTest(fileName);
}
@TestMetadata("propertyWithGetter")
public void testPropertyWithGetter() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/propertyWithGetter/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/propertyWithGetter/");
doTest(fileName);
}
@TestMetadata("twoModules")
public void testTwoModules() throws Exception {
doTest("compiler/testData/codegen/topLevelMemberInvocation/twoModules/");
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/topLevelMemberInvocation/twoModules/");
doTest(fileName);
}
}