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

Method testAppendGString2

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

Source from the content-addressed store, hash-verified

59 }
60
61 public void testAppendGString2() {
62 DummyGString a = new DummyGString(new Object[]{"James"}, new String[]{"Hello "});
63 DummyGString b = new DummyGString(new Object[]{"Bob"}, new String[]{"Hello "});
64 GString result = a.plus(b);
65 assertEquals("Hello JamesHello Bob", result.toString());
66 }
67
68 public void testEqualsAndHashCode() {
69 DummyGString a = new DummyGString(new Object[]{Integer.valueOf(1)});

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.95
plusMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected