mirror of https://github.com/apache/jclouds.git
Moving LoginWithPasswordCredentialsTest in CloudStack from o.j.c.loaders to o.j.c.functions
Comparefe888fb9
on 1.5.x with28e8f266
on master
This commit is contained in:
parent
fe888fb932
commit
7ac78fd271
|
@ -16,7 +16,7 @@
|
||||||
* specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
package org.jclouds.cloudstack.loaders;
|
package org.jclouds.cloudstack.functions;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.anyObject;
|
import static org.easymock.EasyMock.anyObject;
|
||||||
import static org.easymock.EasyMock.createMock;
|
import static org.easymock.EasyMock.createMock;
|
||||||
|
@ -47,7 +47,7 @@ public class LoginWithPasswordCredentialsTest {
|
||||||
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
||||||
Credentials cred = new Credentials("Test/Domain/User", "koffiedik");
|
Credentials cred = new Credentials("Test/Domain/User", "koffiedik");
|
||||||
|
|
||||||
obj.load(cred);
|
obj.apply(cred);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -61,7 +61,7 @@ public class LoginWithPasswordCredentialsTest {
|
||||||
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
||||||
Credentials cred = new Credentials("Domain/User", "koffiedik");
|
Credentials cred = new Credentials("Domain/User", "koffiedik");
|
||||||
|
|
||||||
obj.load(cred);
|
obj.apply(cred);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -75,6 +75,6 @@ public class LoginWithPasswordCredentialsTest {
|
||||||
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
LoginWithPasswordCredentials obj = new LoginWithPasswordCredentials(client);
|
||||||
Credentials cred = new Credentials("User", "koffiedik");
|
Credentials cred = new Credentials("User", "koffiedik");
|
||||||
|
|
||||||
obj.load(cred);
|
obj.apply(cred);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue