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

Method testAppendGString

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

Source from the content-addressed store, hash-verified

52 }
53
54 public void testAppendGString() {
55 DummyGString a = new DummyGString(new Object[]{"James"});
56 DummyGString b = new DummyGString(new Object[]{"Bob"});
57 GString result = a.plus(b);
58 assertEquals("Hello James!Hello Bob!", result.toString());
59 }
60
61 public void testAppendGString2() {
62 DummyGString a = new DummyGString(new Object[]{"James"}, new String[]{"Hello "});

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.95
plusMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected