Updated Branches:
  refs/heads/master cb98a4717 -> 1043d851a

Correct jcloud -> jclouds typos


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

Branch: refs/heads/master
Commit: 1043d851a7a68dfb1edcbbd394882f107d749da9
Parents: cb98a47
Author: Andrew Gaul <[email protected]>
Authored: Sun Dec 1 11:36:08 2013 -0800
Committer: Andrew Gaul <[email protected]>
Committed: Sun Dec 1 11:36:08 2013 -0800

----------------------------------------------------------------------
 .../cloudstack/features/SessionApiExpectTest.java       | 12 ++++++------
 apis/cloudstack/src/test/resources/loginresponse.json   |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/1043d851/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SessionApiExpectTest.java
----------------------------------------------------------------------
diff --git 
a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SessionApiExpectTest.java
 
b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SessionApiExpectTest.java
index 79e19c3..99907ad 100644
--- 
a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SessionApiExpectTest.java
+++ 
b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SessionApiExpectTest.java
@@ -47,14 +47,14 @@ public class SessionApiExpectTest extends 
BaseCloudStackExpectTest<SessionApi> {
                                   .endpoint("http://localhost:8080/client/api";)
                                   .addQueryParam("response", "json")
                                   .addQueryParam("command", "login")
-                                  .addQueryParam("username", "jcloud")
-                                  .addQueryParam("domain", "Partners/jCloud")
+                                  .addQueryParam("username", "jclouds")
+                                  .addQueryParam("domain", "Partners/jclouds")
                                   .addQueryParam("password", 
"30e14b3727225d833aad2206acea1275")
                                   .addHeader("Accept", 
"application/json").build();
 
    public void testLoginWhenResponseIs2xxIncludesJSessionId() throws 
IOException {
-      String domain = "Partners/jCloud";
-      String user = "jcloud";
+      String domain = "Partners/jclouds";
+      String user = "jclouds";
       String password = "jcl0ud";
       String md5password = 
base16().lowerCase().encode(md5().hashString(password, UTF_8).asBytes());
 
@@ -70,9 +70,9 @@ public class SessionApiExpectTest extends 
BaseCloudStackExpectTest<SessionApi> {
             .build());
 
       assertEquals(client.loginUserInDomainWithHashOfPassword(user, domain, 
md5password).toString(),
-         
LoginResponse.builder().timeout(1800).lastName("Kiran").registered(false).username("jcloud").firstName("Vijay")
+         
LoginResponse.builder().timeout(1800).lastName("Kiran").registered(false).username("jclouds").firstName("Vijay")
             
.domainId("11").accountType(Account.Type.DOMAIN_ADMIN).userId("19").sessionKey(
-            
"uYT4/MNiglgAKiZRQkvV8QP8gn0=").jSessionId(jSessionId).accountName("jcloud").build().toString());
+            
"uYT4/MNiglgAKiZRQkvV8QP8gn0=").jSessionId(jSessionId).accountName("jclouds").build().toString());
    }
 
    public void testLogout() throws IOException {

http://git-wip-us.apache.org/repos/asf/jclouds/blob/1043d851/apis/cloudstack/src/test/resources/loginresponse.json
----------------------------------------------------------------------
diff --git a/apis/cloudstack/src/test/resources/loginresponse.json 
b/apis/cloudstack/src/test/resources/loginresponse.json
index 41df202..7e1c955 100644
--- a/apis/cloudstack/src/test/resources/loginresponse.json
+++ b/apis/cloudstack/src/test/resources/loginresponse.json
@@ -1 +1 @@
-{ "loginresponse" : { "timeout" : "1800", "lastname" : "Kiran", "registered" : 
"false", "username" : "jcloud", "firstname" : "Vijay", "domainid" : "11", 
"type" : "2", "userid" : "19", "sessionkey" : "uYT4/MNiglgAKiZRQkvV8QP8gn0=", 
"account" : "jcloud" } }
\ No newline at end of file
+{ "loginresponse" : { "timeout" : "1800", "lastname" : "Kiran", "registered" : 
"false", "username" : "jclouds", "firstname" : "Vijay", "domainid" : "11", 
"type" : "2", "userid" : "19", "sessionkey" : "uYT4/MNiglgAKiZRQkvV8QP8gn0=", 
"account" : "jclouds" } }

Reply via email to