vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/VMTest.java
branchlauncher
changeset 370 ed48023d1d85
parent 360 86f3ea771e24
child 372 3485327d3080
     1.1 --- a/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/VMTest.java	Thu Dec 20 21:54:33 2012 +0100
     1.2 +++ b/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/VMTest.java	Sun Dec 23 17:02:34 2012 +0100
     1.3 @@ -26,7 +26,7 @@
     1.4  import java.util.logging.Level;
     1.5  import java.util.logging.Logger;
     1.6  import javax.script.Invocable;
     1.7 -import org.apidesign.bck2brwsr.launcher.Bck2BrwsrLauncher;
     1.8 +import org.apidesign.bck2brwsr.launcher.MethodInvocation;
     1.9  import org.testng.Assert;
    1.10  import org.testng.ITest;
    1.11  import org.testng.annotations.Factory;
    1.12 @@ -138,11 +138,11 @@
    1.13  
    1.14          @Test(groups = "run") public void executeCode() throws Throwable {
    1.15              if (type == 1) {
    1.16 -                Bck2BrwsrLauncher.MethodInvocation c = (Bck2BrwsrLauncher.MethodInvocation) inst;
    1.17 +                MethodInvocation c = (MethodInvocation) inst;
    1.18                  JS.exec();
    1.19                  value = c.toString();
    1.20              } else if (type == 2) {
    1.21 -                Bck2BrwsrLauncher.MethodInvocation c = (Bck2BrwsrLauncher.MethodInvocation) inst;
    1.22 +                MethodInvocation c = (MethodInvocation) inst;
    1.23                  BROWSER.exec();
    1.24                  value = c.toString();
    1.25              } else {