@@ -152,6 +152,7 @@ public void testReaderToString()
152152 }
153153 }
154154
155+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
155156 public void testStringToOutputStream ()
156157 throws Exception
157158 {
@@ -183,6 +184,7 @@ public void testStringToOutputStream()
183184 deleteFile ( destination );
184185 }
185186
187+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
186188 public void testStringToWriter ()
187189 throws Exception
188190 {
@@ -240,6 +242,7 @@ public void testInputStreamToBufferedInputStream() throws Exception {
240242 }
241243 }
242244
245+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
243246 public void testStringToByteArray ()
244247 throws Exception
245248 {
@@ -255,6 +258,7 @@ public void testStringToByteArray()
255258 }
256259 }
257260
261+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
258262 public void testByteArrayToWriter ()
259263 throws Exception
260264 {
@@ -280,6 +284,7 @@ public void testByteArrayToWriter()
280284 deleteFile ( destination );
281285 }
282286
287+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
283288 public void testByteArrayToString ()
284289 throws Exception
285290 {
@@ -334,6 +339,7 @@ public void testStringToInputStream() throws Exception {
334339 assertEqualContent (str .getBytes ("UTF-8" ), bytes );
335340 }
336341
342+ @ SuppressWarnings ("deprecation" ) // testing deprecated method
337343 public void testByteArrayToOutputStream ()
338344 throws Exception
339345 {
0 commit comments