From: Kai Moritz Date: Thu, 21 Nov 2019 08:28:24 +0000 (+0100) Subject: Removed redundant logging-messages in test-cases X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=e378c374e11858a842a9b3608e6fb411689e91ce;p=facebook-errors Removed redundant logging-messages in test-cases --- diff --git a/src/test/java/de/juplo/facebook/errors/GraphApiErrorResponseErrorHandlerIntegrationTest.java b/src/test/java/de/juplo/facebook/errors/GraphApiErrorResponseErrorHandlerIntegrationTest.java index 55025e7..254b51b 100644 --- a/src/test/java/de/juplo/facebook/errors/GraphApiErrorResponseErrorHandlerIntegrationTest.java +++ b/src/test/java/de/juplo/facebook/errors/GraphApiErrorResponseErrorHandlerIntegrationTest.java @@ -31,8 +31,6 @@ public class GraphApiErrorResponseErrorHandlerIntegrationTest @Test public void testNoError() { - LOG.info("testNoError"); - requestFactory.setBody("{ \"message\": \"Hello World!\" }"); @@ -105,9 +103,6 @@ public class GraphApiErrorResponseErrorHandlerIntegrationTest @Test public void testValidError() { - LOG.info("testValidError"); - - requestFactory.setBody( "{\n" + " \"error\":\n" + @@ -135,9 +130,6 @@ public class GraphApiErrorResponseErrorHandlerIntegrationTest @Test public void testUnmappedError() { - LOG.info("testUnmappedError"); - - requestFactory.setBody( "{\n" + " \"error\":\n" + @@ -171,9 +163,6 @@ public class GraphApiErrorResponseErrorHandlerIntegrationTest @Test public void testInvlalidError() { - LOG.info("testInvalidError"); - - requestFactory.setBody( "{\n" + " \"error\":\n" + diff --git a/src/test/java/de/juplo/facebook/errors/GraphApiExceptionTest.java b/src/test/java/de/juplo/facebook/errors/GraphApiExceptionTest.java index f2591d1..f8bd9aa 100644 --- a/src/test/java/de/juplo/facebook/errors/GraphApiExceptionTest.java +++ b/src/test/java/de/juplo/facebook/errors/GraphApiExceptionTest.java @@ -30,8 +30,6 @@ public class GraphApiExceptionTest @Test public void testError1() { - LOG.info("testError1"); - String str = "{\n" + " \"error\":\n" + @@ -51,9 +49,6 @@ public class GraphApiExceptionTest @Test public void testError2() { - LOG.info("testError2"); - - String str = "{\n" + " \"error\":\n" + @@ -76,9 +71,6 @@ public class GraphApiExceptionTest @Test public void testError4() { - LOG.info("testError4"); - - String str = "{\n" + " \"error\": {\n" + @@ -102,9 +94,6 @@ public class GraphApiExceptionTest @Test public void testError12() { - LOG.info("testError12"); - - String str = "{\n" + " \"error\":\n" + @@ -128,9 +117,6 @@ public class GraphApiExceptionTest @Test public void testError21() { - LOG.info("testError21"); - - String str = "{\n" + " \"error\":\n" + @@ -153,9 +139,6 @@ public class GraphApiExceptionTest @Test public void testError100() { - LOG.info("testError100"); - - String str = "{\n" + " \"error\":\n" + @@ -179,8 +162,6 @@ public class GraphApiExceptionTest @Test public void testError102() { - LOG.info("testError102"); - String str ="{\"error\":{\"message\":\"A user access token is required to request this resource.\",\"type\":\"OAuthException\",\"code\":102,\"fbtrace_id\":\"DhdMyf23Ki7\"}}"; byte[] message = str.getBytes(); GraphApiException e = GraphApiException.create (status, headers, message); @@ -193,8 +174,6 @@ public class GraphApiExceptionTest @Test public void testError104() { - LOG.info("testError104"); - String str ="{\"error\":{\"message\":\"An access token is required to request this resource.\",\"type\":\"OAuthException\",\"code\":104,\"fbtrace_id\":\"E2Jjkj5++LL\"}}"; byte[] message = str.getBytes(); GraphApiException e = GraphApiException.create (status, headers, message); @@ -219,8 +198,6 @@ public class GraphApiExceptionTest @Test public void testError200() { - LOG.info("testError200"); - String str ="{\n" + " \"error\": {\n" + " \"message\": \"(#200) The user hasn't authorized the application to perform this action\",\n" + @@ -238,9 +215,6 @@ public class GraphApiExceptionTest @Test public void testError613() { - LOG.info("testError613"); - - String str = "{\n" + " \"error\":\n" + @@ -263,8 +237,6 @@ public class GraphApiExceptionTest @Test public void testError2200() { - LOG.info("testError2200"); - String str ="{\"error\":{\"message\":\"(#2200) callback verification failed: \",\"type\":\"OAuthException\",\"code\":2200,\"fbtrace_id\":\"ESLjoZKvPXg\"}}"; byte[] message = str.getBytes(); GraphApiException e = GraphApiException.create (status, headers, message); @@ -276,9 +248,6 @@ public class GraphApiExceptionTest @Test public void testUnmappedError() { - LOG.info("testUnmappedError"); - - String str = "{\n" + " \"error\":\n" + @@ -307,8 +276,6 @@ public class GraphApiExceptionTest @Test public void testUnmappedErrors() { - LOG.info("testUnmappedErrors"); - String str; byte[] message; GraphApiException e; @@ -419,8 +386,6 @@ public class GraphApiExceptionTest @Test public void testInvlalidErrors() { - LOG.info("testInvalidErrors"); - String str; byte[] message; GraphApiException e;