test fix?
This commit is contained in:
@@ -10,8 +10,20 @@ import org.jetbrains.jet.parsing.JetParsingTest;
|
|||||||
* @author yole
|
* @author yole
|
||||||
*/
|
*/
|
||||||
public class CompileEnvironmentTest extends TestCase {
|
public class CompileEnvironmentTest extends TestCase {
|
||||||
|
private CompileEnvironment environment;
|
||||||
|
|
||||||
|
protected void setUp() throws Exception {
|
||||||
|
super.setUp();
|
||||||
|
environment = new CompileEnvironment();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void tearDown() throws Exception {
|
||||||
|
environment.dispose();
|
||||||
|
super.tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public void testSmoke() {
|
public void testSmoke() {
|
||||||
CompileEnvironment environment = new CompileEnvironment();
|
|
||||||
environment.setJavaRuntime(CompileEnvironment.findActiveRtJar());
|
environment.setJavaRuntime(CompileEnvironment.findActiveRtJar());
|
||||||
environment.initializeKotlinRuntime();
|
environment.initializeKotlinRuntime();
|
||||||
final String testDataDir = JetParsingTest.getTestDataDir() + "/compiler/smoke/";
|
final String testDataDir = JetParsingTest.getTestDataDir() + "/compiler/smoke/";
|
||||||
|
|||||||
Reference in New Issue
Block a user