vm/src/test/java/org/apidesign/vm4brwsr/StringTest.java
changeset 595 784aaf9ee179
parent 572 e84419744dba
child 708 59d5596a9c6c
child 713 cff0775ae5aa
     1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/StringTest.java	Thu Jan 24 17:44:22 2013 +0100
     1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/StringTest.java	Mon Jan 28 12:18:24 2013 +0100
     1.3 @@ -75,6 +75,16 @@
     1.4          );
     1.5      }
     1.6  
     1.7 +    @Test public void getBytes() throws Exception {
     1.8 +        final String horse = "Žluťoučký kůň";
     1.9 +        final String expected = StringSample.getBytes(horse);
    1.10 +        assertExec(
    1.11 +            "Bytes look simplar",
    1.12 +            StringSample.class, "getBytes__Ljava_lang_String_2Ljava_lang_String_2",
    1.13 +            expected, horse
    1.14 +        );
    1.15 +    }
    1.16 +
    1.17      @Test(timeOut=10000) public void toStringConcatenation() throws Exception {
    1.18          assertExec(
    1.19              "Five executions should generate 5Hello World!",