vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java
branchTypeNickNames
changeset 405 e41809be6106
parent 306 f36b3c273de6
child 406 2670f519a46d
     1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java	Wed Dec 12 09:09:42 2012 +0100
     1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/StaticMethodTest.java	Thu Jan 03 11:20:40 2013 +0100
     1.3 @@ -201,7 +201,7 @@
     1.4      @Test public void javaScriptBody() throws Exception {
     1.5          assertExec(
     1.6              "JavaScript string",
     1.7 -            StaticMethod.class, "i2s__Ljava_lang_String_2II",
     1.8 +            StaticMethod.class, "i2s__sII",
     1.9              "333",
    1.10              330, 3
    1.11          );
    1.12 @@ -210,7 +210,7 @@
    1.13      @Test public void switchJarda() throws Exception {
    1.14          assertExec(
    1.15              "The expected value",
    1.16 -            StaticMethod.class, "swtch__Ljava_lang_String_2I",
    1.17 +            StaticMethod.class, "swtch__sI",
    1.18              "Jarda",
    1.19              0
    1.20          );
    1.21 @@ -219,7 +219,7 @@
    1.22      @Test public void switchDarda() throws Exception {
    1.23          assertExec(
    1.24              "The expected value",
    1.25 -            StaticMethod.class, "swtch__Ljava_lang_String_2I",
    1.26 +            StaticMethod.class, "swtch__sI",
    1.27              "Darda",
    1.28              1
    1.29          );
    1.30 @@ -227,7 +227,7 @@
    1.31      @Test public void switchParda() throws Exception {
    1.32          assertExec(
    1.33              "The expected value",
    1.34 -            StaticMethod.class, "swtch2__Ljava_lang_String_2I",
    1.35 +            StaticMethod.class, "swtch2__sI",
    1.36              "Parda",
    1.37              22
    1.38          );
    1.39 @@ -235,7 +235,7 @@
    1.40      @Test public void switchMarda() throws Exception {
    1.41          assertExec(
    1.42              "The expected value",
    1.43 -            StaticMethod.class, "swtch__Ljava_lang_String_2I",
    1.44 +            StaticMethod.class, "swtch__sI",
    1.45              "Marda",
    1.46              -433
    1.47          );
    1.48 @@ -243,7 +243,7 @@
    1.49      
    1.50      @Test public void checkNullCast() throws Exception {
    1.51          assertExec("Null can be cast to any type",
    1.52 -            StaticMethod.class, "castNull__Ljava_lang_String_2Z", 
    1.53 +            StaticMethod.class, "castNull__sZ", 
    1.54              null, true
    1.55          );
    1.56      }