diff truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java @ 22168:ffadd23c63c8

Introducing Portaal into the isolated world of each and any TruffleLanguage.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Mon, 14 Sep 2015 05:32:13 +0200
parents 92906003d607
children 796f0fef110e
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java	Thu Sep 10 16:26:31 2015 +0200
+++ b/truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java	Mon Sep 14 05:32:13 2015 +0200
@@ -42,7 +42,7 @@
 
 import com.oracle.truffle.api.source.Source;
 import com.oracle.truffle.tck.TruffleTCK;
-import com.oracle.truffle.api.vm.TruffleVM;
+import com.oracle.truffle.api.vm.Portaal;
 import static org.junit.Assert.*;
 import org.junit.Test;
 
@@ -53,13 +53,13 @@
 public class SLTckTest extends TruffleTCK {
     @Test
     public void testVerifyPresence() {
-        TruffleVM vm = TruffleVM.newVM().build();
+        Portaal vm = Portaal.createNew().build();
         assertTrue("Our language is present", vm.getLanguages().containsKey("application/x-sl"));
     }
 
     @Override
-    protected TruffleVM prepareVM() throws Exception {
-        TruffleVM vm = TruffleVM.newVM().build();
+    protected Portaal prepareVM() throws Exception {
+        Portaal vm = Portaal.createNew().build();
         // @formatter:off
         vm.eval(
             Source.fromText(