@@ -29,25 +29,23 @@ void invalidKeywordsChars() throws Exception {
2929
3030 // Tests for [core#105] ("eager number parsing misses errors")
3131 @ Test
32- void mangledIntsBytes () throws Exception {
33- _testMangledNumbersInt (MODE_INPUT_STREAM );
34- _testMangledNumbersInt (MODE_INPUT_STREAM_THROTTLED );
35- _testMangledNumbersInt (MODE_DATA_INPUT );
32+ void mangledRootIntsBytes () throws Exception {
33+ _testMangledRootNumbersInt (MODE_INPUT_STREAM );
34+ _testMangledRootNumbersInt (MODE_INPUT_STREAM_THROTTLED );
35+ _testMangledRootNumbersInt (MODE_DATA_INPUT );
3636 }
3737
3838 @ Test
39- void mangledFloatsBytes () throws Exception {
40- _testMangledNumbersFloat (MODE_INPUT_STREAM );
41- _testMangledNumbersFloat (MODE_INPUT_STREAM_THROTTLED );
42-
43- // 02-Jun-2017, tatu: Fails as expected, unlike int one. Bit puzzling...
44- _testMangledNumbersFloat (MODE_DATA_INPUT );
39+ void mangledRootFloatsBytes () throws Exception {
40+ _testMangledRootNumbersFloat (MODE_INPUT_STREAM );
41+ _testMangledRootNumbersFloat (MODE_INPUT_STREAM_THROTTLED );
42+ _testMangledRootNumbersFloat (MODE_DATA_INPUT );
4543 }
4644
4745 @ Test
48- void mangledNumbersChars () throws Exception {
49- _testMangledNumbersInt (MODE_READER );
50- _testMangledNumbersFloat (MODE_READER );
46+ void mangledRootNumbersChars () throws Exception {
47+ _testMangledRootNumbersInt (MODE_READER );
48+ _testMangledRootNumbersFloat (MODE_READER );
5149 }
5250
5351 /*
@@ -104,7 +102,7 @@ private void doTestInvalidKeyword1(int mode, String value)
104102 }
105103 }
106104
107- private void _testMangledNumbersInt (int mode )
105+ private void _testMangledRootNumbersInt (int mode )
108106 {
109107 JsonParser p = createParser (JSON_F , mode , "123true" );
110108 try {
@@ -116,7 +114,7 @@ private void _testMangledNumbersInt(int mode)
116114 p .close ();
117115 }
118116
119- private void _testMangledNumbersFloat (int mode )
117+ private void _testMangledRootNumbersFloat (int mode )
120118 {
121119 // Also test with floats
122120 JsonParser p = createParser (JSON_F , mode , "1.5false" );
0 commit comments