mirror of https://github.com/apache/jclouds.git
Issue 694: Correcting imports
This commit is contained in:
parent
2a2af9b322
commit
029bbd1ad3
|
@ -23,14 +23,12 @@ import org.jclouds.compute.callables.RunScriptOnNodeUsingSsh;
|
||||||
import org.jclouds.compute.domain.ExecResponse;
|
import org.jclouds.compute.domain.ExecResponse;
|
||||||
import org.jclouds.compute.domain.NodeMetadata;
|
import org.jclouds.compute.domain.NodeMetadata;
|
||||||
import org.jclouds.domain.Credentials;
|
import org.jclouds.domain.Credentials;
|
||||||
|
import org.jclouds.javax.annotation.Nullable;
|
||||||
import org.jclouds.scriptbuilder.statements.login.UserAdd;
|
import org.jclouds.scriptbuilder.statements.login.UserAdd;
|
||||||
import org.jclouds.ssh.SshClient;
|
import org.jclouds.ssh.SshClient;
|
||||||
import org.testng.annotations.BeforeMethod;
|
import org.testng.annotations.BeforeMethod;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.jclouds.compute.options.RunScriptOptions.Builder.wrapInInitScript;
|
import static org.jclouds.compute.options.RunScriptOptions.Builder.wrapInInitScript;
|
||||||
import static org.jclouds.scriptbuilder.domain.Statements.exec;
|
import static org.jclouds.scriptbuilder.domain.Statements.exec;
|
||||||
|
@ -95,7 +93,7 @@ public class RunScriptOnNodeUsingSshTest {
|
||||||
testMe.call();
|
testMe.call();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void simpleRootTestWithSudoPassword() throws IOException {
|
public void simpleRootTestWithSudoPassword() {
|
||||||
node = createMock(NodeMetadata.class);
|
node = createMock(NodeMetadata.class);
|
||||||
expect(node.getCredentials()).andReturn(new Credentials("tester", "notalot"));
|
expect(node.getCredentials()).andReturn(new Credentials("tester", "notalot"));
|
||||||
expect(node.getAdminPassword()).andReturn("testpassword!").atLeastOnce();
|
expect(node.getAdminPassword()).andReturn("testpassword!").atLeastOnce();
|
||||||
|
|
Loading…
Reference in New Issue