You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by jd...@apache.org on 2014/06/11 22:37:21 UTC

git commit: Improve readability of expect test output

Repository: jclouds
Updated Branches:
  refs/heads/master a6c89d915 -> 446671a2a


Improve readability of expect test output


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/446671a2
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/446671a2
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/446671a2

Branch: refs/heads/master
Commit: 446671a2a7433f201b87f40e4d9960d80aa1f804
Parents: a6c89d9
Author: Jeremy Daggett <je...@rackspace.com>
Authored: Fri Jun 6 11:40:44 2014 -0700
Committer: Jeremy Daggett <je...@rackspace.com>
Committed: Wed Jun 11 15:35:45 2014 -0500

----------------------------------------------------------------------
 .../org/jclouds/rest/internal/BaseRestApiExpectTest.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/446671a2/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java b/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java
index 4bb59ea..dfeca27 100644
--- a/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java
+++ b/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java
@@ -453,13 +453,14 @@ public abstract class BaseRestApiExpectTest<S> {
 
             if (response == null) {
                StringBuilder payload = new StringBuilder("\n");
-               payload.append("the following request is not configured:\n");
+               payload.append("\n----------------------------------------\n");
+               payload.append("The following request is not configured:\n");
                payload.append("----------------------------------------\n");
                payload.append(renderRequest(input));
-               payload.append("----------------------------------------\n");
-               payload.append("configured requests:\n");
+               payload.append("\n----------------------------------------\n");
+               payload.append("Configured requests:\n");
                for (HttpRequest request : requestToResponse.keySet()) {
-                  payload.append("----------------------------------------\n");
+                  payload.append("\n----------------------------------------\n");
                   payload.append(renderRequest(request));
                }
                response = HttpResponse.builder().statusCode(500).message("no response configured for request").payload(