No octal, but we do have \0.
()
| 179 | * No octal, but we do have \0. |
| 180 | */ |
| 181 | @Test |
| 182 | public void testOctal000() |
| 183 | { |
| 184 | IonString value = (IonString) oneValue("\"0\\0000\""); |
| 185 | String str = value.stringValue(); |
| 186 | assertEquals(5, str.length()); |
| 187 | assertEquals('0', str.charAt(0)); |
| 188 | assertEquals( 0 , str.charAt(1)); |
| 189 | assertEquals('0', str.charAt(2)); |
| 190 | assertEquals('0', str.charAt(3)); |
| 191 | assertEquals('0', str.charAt(4)); |
| 192 | } |
| 193 | |
| 194 | @Test |
| 195 | public void testUnicodeCharacters() |
nothing calls this directly
no test coverage detected