()
| 36 | } |
| 37 | |
| 38 | public void testAppendString() { |
| 39 | DummyGString a = new DummyGString(new Object[]{"James"}); |
| 40 | GString result = a.plus(" how are you?"); |
| 41 | assertEquals("Hello James! how are you?", result.toString()); |
| 42 | assertEquals('J', a.charAt(6)); |
| 43 | assertEquals("o J", a.subSequence(4, 7)); |
| 44 | } |
| 45 | |
| 46 | public void testAppendString2() { |
| 47 | DummyGString a = new DummyGString(new Object[]{"James"}, new String[]{"Hello "}); |
nothing calls this directly
no test coverage detected