@@ -1090,7 +1090,7 @@ public void jsonObjectNonAndWrongValues() {
10901090 fail ("Expected an exception" );
10911091 } catch (JSONException e ) {
10921092 assertEquals ("Expecting an exception message" ,
1093- "JSONObject[\" stringKey\" ] is not a Boolean." ,
1093+ "JSONObject[\" stringKey\" ] is not a Boolean (class java.lang.String : hello world!) ." ,
10941094 e .getMessage ());
10951095 }
10961096 try {
@@ -1106,7 +1106,7 @@ public void jsonObjectNonAndWrongValues() {
11061106 fail ("Expected an exception" );
11071107 } catch (JSONException e ) {
11081108 assertEquals ("Expecting an exception message" ,
1109- "JSONObject[\" trueKey\" ] is not a string." ,
1109+ "JSONObject[\" trueKey\" ] is not a string (class java.lang.Boolean : true) ." ,
11101110 e .getMessage ());
11111111 }
11121112 try {
@@ -1122,7 +1122,7 @@ public void jsonObjectNonAndWrongValues() {
11221122 fail ("Expected an exception" );
11231123 } catch (JSONException e ) {
11241124 assertEquals ("Expecting an exception message" ,
1125- "JSONObject[\" stringKey\" ] is not a double." ,
1125+ "JSONObject[\" stringKey\" ] is not a double (class java.lang.String : hello world!) ." ,
11261126 e .getMessage ());
11271127 }
11281128 try {
@@ -1138,7 +1138,7 @@ public void jsonObjectNonAndWrongValues() {
11381138 fail ("Expected an exception" );
11391139 } catch (JSONException e ) {
11401140 assertEquals ("Expecting an exception message" ,
1141- "JSONObject[\" stringKey\" ] is not a float." ,
1141+ "JSONObject[\" stringKey\" ] is not a float (class java.lang.String : hello world!) ." ,
11421142 e .getMessage ());
11431143 }
11441144 try {
@@ -1154,7 +1154,7 @@ public void jsonObjectNonAndWrongValues() {
11541154 fail ("Expected an exception" );
11551155 } catch (JSONException e ) {
11561156 assertEquals ("Expecting an exception message" ,
1157- "JSONObject[\" stringKey\" ] is not a int." ,
1157+ "JSONObject[\" stringKey\" ] is not a int (class java.lang.String : hello world!) ." ,
11581158 e .getMessage ());
11591159 }
11601160 try {
@@ -1170,7 +1170,7 @@ public void jsonObjectNonAndWrongValues() {
11701170 fail ("Expected an exception" );
11711171 } catch (JSONException e ) {
11721172 assertEquals ("Expecting an exception message" ,
1173- "JSONObject[\" stringKey\" ] is not a long." ,
1173+ "JSONObject[\" stringKey\" ] is not a long (class java.lang.String : hello world!) ." ,
11741174 e .getMessage ());
11751175 }
11761176 try {
@@ -1186,7 +1186,7 @@ public void jsonObjectNonAndWrongValues() {
11861186 fail ("Expected an exception" );
11871187 } catch (JSONException e ) {
11881188 assertEquals ("Expecting an exception message" ,
1189- "JSONObject[\" stringKey\" ] is not a JSONArray." ,
1189+ "JSONObject[\" stringKey\" ] is not a JSONArray (class java.lang.String : hello world!) ." ,
11901190 e .getMessage ());
11911191 }
11921192 try {
@@ -1202,7 +1202,7 @@ public void jsonObjectNonAndWrongValues() {
12021202 fail ("Expected an exception" );
12031203 } catch (JSONException e ) {
12041204 assertEquals ("Expecting an exception message" ,
1205- "JSONObject[\" stringKey\" ] is not a JSONObject." ,
1205+ "JSONObject[\" stringKey\" ] is not a JSONObject (class java.lang.String : hello world!) ." ,
12061206 e .getMessage ());
12071207 }
12081208 }
0 commit comments