Test data split between compiledJava tests and compiledKotlin tests
Basically, this commit splits test data from the from java-txt-kt to two pairs java-txt and kt-txt. This commit leads to some duplication in test data. This is temporary: in the platform types branch the test data for LoadJava tests will be changed dramatically, so duplication will go away
This commit is contained in:
@@ -44,15 +44,11 @@ import static com.intellij.openapi.roots.ModuleRootModificationUtil.updateModel;
|
||||
import static org.jetbrains.jet.test.util.DescriptorValidator.ValidationVisitor.FORBID_ERROR_TYPES;
|
||||
|
||||
public abstract class AbstractLazyResolveByStubTest extends KotlinCodeInsightTestCase {
|
||||
protected void doTestCheckingPrimaryConstructorsAndAccessors(String testFileName) throws Exception {
|
||||
protected void doTest(String testFileName) throws Exception {
|
||||
doTest(testFileName, true, true);
|
||||
}
|
||||
|
||||
protected void doTestNotCheckingPrimaryConstructors(String testFileName) throws Exception {
|
||||
doTest(testFileName, false, false);
|
||||
}
|
||||
|
||||
public void doTest(@NotNull final String path, final boolean checkPrimaryConstructors, final boolean checkPropertyAccessors)
|
||||
private void doTest(@NotNull final String path, final boolean checkPrimaryConstructors, final boolean checkPropertyAccessors)
|
||||
throws Exception {
|
||||
configureByFile(path);
|
||||
configureModule(getModule(), JetWithJdkAndRuntimeLightProjectDescriptor.INSTANCE);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user