[Esbox-commits] r2252 - trunk/org.maemo.esbox.tests/src/org/maemo/esbox/tests/common
topulkki at garage.maemo.org
topulkki at garage.maemo.org
Fri Oct 2 10:58:03 EEST 2009
Author: topulkki
Date: 2009-10-02 10:58:01 +0300 (Fri, 02 Oct 2009)
New Revision: 2252
Modified:
trunk/org.maemo.esbox.tests/src/org/maemo/esbox/tests/common/TestOProfileValgrindSupport.java
Log:
Modified an ESbox test to use SSHMachineFactory instead of direct initialization
Modified: trunk/org.maemo.esbox.tests/src/org/maemo/esbox/tests/common/TestOProfileValgrindSupport.java
===================================================================
--- trunk/org.maemo.esbox.tests/src/org/maemo/esbox/tests/common/TestOProfileValgrindSupport.java 2009-10-01 21:01:25 UTC (rev 2251)
+++ trunk/org.maemo.esbox.tests/src/org/maemo/esbox/tests/common/TestOProfileValgrindSupport.java 2009-10-02 07:58:01 UTC (rev 2252)
@@ -26,6 +26,7 @@
import org.maemo.mica.internal.api.common.core.sdk.MachineSDK;
import org.maemo.mica.internal.api.common.core.sdk.MachineSDKTarget;
import org.maemo.mica.internal.api.protocol.ssh.DeviceSSHLinuxMachine;
+import org.maemo.mica.internal.api.protocol.ssh.SSHMachineFactory;
import org.maemo.mica.protocol.ssh.SSHConfiguration;
@@ -63,8 +64,8 @@
}
if (armelTarget != null) {
- SSHConfiguration sshConfig = new SSHConfiguration();
- IMachine machine = new DeviceSSHLinuxMachine("foo", sshConfig, null);
+ SSHConfiguration sshConfig = new SSHConfiguration();
+ IMachine machine = SSHMachineFactory.createSSHMachine("foo", sshConfig, null);
ISDKTarget machineTarget = new MachineSDKTarget(new MachineSDK(
machine, "0.0", "foo"));
More information about the Esbox-commits
mailing list