Issue 694: Correcting imports

This commit is contained in:
Adam Lowe 2011-09-30 20:45:59 +01:00
parent 2a2af9b322
commit 029bbd1ad3
1 changed files with 2 additions and 4 deletions

View File

@ -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();