MCPcopy Index your code
hub / github.com/apache/groovy / testAppendString2

Method testAppendString2

src/test/groovy/groovy/lang/GStringTest.java:46–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 public void testAppendString2() {
47 DummyGString a = new DummyGString(new Object[]{"James"}, new String[]{"Hello "});
48 GString result = a.plus(" how are you?");
49 System.out.println("Strings: " + FormatHelper.toString(result.getStrings()));
50 System.out.println("Values: " + FormatHelper.toString(result.getValues()));
51 assertEquals("Hello James how are you?", result.toString());
52 }
53
54 public void testAppendGString() {
55 DummyGString a = new DummyGString(new Object[]{"James"});

Callers

nothing calls this directly

Calls 7

toStringMethod · 0.95
getStringsMethod · 0.95
getValuesMethod · 0.95
toStringMethod · 0.95
plusMethod · 0.45
printlnMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected