Fixed CliTest.
This commit is contained in:
@@ -64,7 +64,8 @@ public class CliTest {
|
||||
private void executeCompilerCompareOutput(@NotNull String[] args) {
|
||||
try {
|
||||
String actual = normalize(executeCompilerGrabOutput(args))
|
||||
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$");
|
||||
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$")
|
||||
.replace("\\", "/");
|
||||
|
||||
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ import java.util.Collections;
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class AbstractLazyResolveTest {
|
||||
public abstract class AbstractLazyResolveTest {
|
||||
private final Disposable rootDisposable = new Disposable() {
|
||||
@Override
|
||||
public void dispose() {
|
||||
@@ -48,7 +48,7 @@ public class AbstractLazyResolveTest {
|
||||
};
|
||||
|
||||
protected final CompilerDependencies
|
||||
compilerDependencies = CompileCompilerDependenciesTest.compilerDependenciesForTests(CompilerSpecialMode.REGULAR, true);
|
||||
compilerDependencies = CompileCompilerDependenciesTest.compilerDependenciesForTests(CompilerSpecialMode.JDK_HEADERS, true);
|
||||
protected final JetCoreEnvironment jetCoreEnvironment = new JetCoreEnvironment(rootDisposable, compilerDependencies);
|
||||
protected final Project project = jetCoreEnvironment.getProject();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user