assertEquals("repeatedArgs: a, b, a, b, a, b, a, b",
m.testLotsOfUsageOfArgsAsSafeHtml("a", "b").asString());
assertEquals("\"~\" ~~ \"~~~~ \"\"", m.testWithXsAsSafeHtml().asString());
assertEquals("お好你好好", m.unicodeAsSafeHtml("好", "好").asString());
assertEquals("", m.emptyAsSafeHtml().asString());
assertEquals("{quoted}", m.quotedBracesAsSafeHtml().asString());
}
public void testTypedMessages() {
TestTypedMessages typed = GWT.create(TestTypedMessages.class);
String expected = "int(0) float(1.5), long(0), boolean(true), Object([], char(a), byte(127), short(-32768);";