From 97dfd746478b266fe5ec3709b0139ad706b856d6 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Thu, 5 Jul 2012 18:11:05 +0400 Subject: [PATCH] Replaced creating compiler configuration for useless "js" configuration with empty compiler configuration. --- .../test/org/jetbrains/k2js/test/TestWithEnvironment.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/js/js.tests/test/org/jetbrains/k2js/test/TestWithEnvironment.java b/js/js.tests/test/org/jetbrains/k2js/test/TestWithEnvironment.java index a4f73232b8f..9a00a1942c8 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/TestWithEnvironment.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/TestWithEnvironment.java @@ -20,9 +20,8 @@ import com.intellij.openapi.project.Project; import com.intellij.testFramework.UsefulTestCase; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.jetbrains.jet.CompileCompilerDependenciesTest; import org.jetbrains.jet.cli.jvm.compiler.JetCoreEnvironment; -import org.jetbrains.jet.lang.resolve.java.CompilerSpecialMode; +import org.jetbrains.jet.config.CompilerConfiguration; /** * @author Pavel Talanov @@ -51,9 +50,6 @@ public abstract class TestWithEnvironment extends UsefulTestCase { } protected void createEnvironmentWithMockJdkAndIdeaAnnotations() { - myEnvironment = JetCoreEnvironment.createCoreEnvironmentForJVM( - getTestRootDisposable(), - CompileCompilerDependenciesTest.compilerConfigurationForTests(CompilerSpecialMode.JS, true) - ); + myEnvironment = JetCoreEnvironment.createCoreEnvironmentForJVM(getTestRootDisposable(), new CompilerConfiguration()); } }