@@ -27,25 +27,23 @@ void invalidKeywordsChars() throws Exception {
2727
2828 // Tests for [core#105] ("eager number parsing misses errors")
2929 @ Test
30- void mangledIntsBytes () throws Exception {
31- _testMangledNumbersInt (MODE_INPUT_STREAM );
32- _testMangledNumbersInt (MODE_INPUT_STREAM_THROTTLED );
33- _testMangledNumbersInt (MODE_DATA_INPUT );
30+ void mangledRootIntsBytes () throws Exception {
31+ _testMangledRootNumbersInt (MODE_INPUT_STREAM );
32+ _testMangledRootNumbersInt (MODE_INPUT_STREAM_THROTTLED );
33+ _testMangledRootNumbersInt (MODE_DATA_INPUT );
3434 }
3535
3636 @ Test
37- void mangledFloatsBytes () throws Exception {
38- _testMangledNumbersFloat (MODE_INPUT_STREAM );
39- _testMangledNumbersFloat (MODE_INPUT_STREAM_THROTTLED );
40-
41- // 02-Jun-2017, tatu: Fails as expected, unlike int one. Bit puzzling...
42- _testMangledNumbersFloat (MODE_DATA_INPUT );
37+ void mangledRootFloatsBytes () throws Exception {
38+ _testMangledRootNumbersFloat (MODE_INPUT_STREAM );
39+ _testMangledRootNumbersFloat (MODE_INPUT_STREAM_THROTTLED );
40+ _testMangledRootNumbersFloat (MODE_DATA_INPUT );
4341 }
4442
4543 @ Test
46- void mangledNumbersChars () throws Exception {
47- _testMangledNumbersInt (MODE_READER );
48- _testMangledNumbersFloat (MODE_READER );
44+ void mangledRootNumbersChars () throws Exception {
45+ _testMangledRootNumbersInt (MODE_READER );
46+ _testMangledRootNumbersFloat (MODE_READER );
4947 }
5048
5149 /*
@@ -103,7 +101,7 @@ private void doTestInvalidKeyword1(int mode, String value)
103101 }
104102 }
105103
106- private void _testMangledNumbersInt (int mode ) throws Exception
104+ private void _testMangledRootNumbersInt (int mode ) throws Exception
107105 {
108106 JsonParser p = createParser (JSON_F , mode , "123true" );
109107 try {
@@ -115,7 +113,7 @@ private void _testMangledNumbersInt(int mode) throws Exception
115113 p .close ();
116114 }
117115
118- private void _testMangledNumbersFloat (int mode ) throws Exception
116+ private void _testMangledRootNumbersFloat (int mode ) throws Exception
119117 {
120118 // Also test with floats
121119 JsonParser p = createParser (JSON_F , mode , "1.5false" );
0 commit comments