From 0396126a8fbc17e11b23195485b8f2ccc039465e Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Wed, 1 Jun 2011 12:05:42 -0700 Subject: [PATCH] cleaned up slicehost test --- .../SlicehostComputeServiceLiveTest.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/providers/slicehost/src/test/java/org/jclouds/slicehost/compute/SlicehostComputeServiceLiveTest.java b/providers/slicehost/src/test/java/org/jclouds/slicehost/compute/SlicehostComputeServiceLiveTest.java index fc8c04d84b..ec18651adf 100644 --- a/providers/slicehost/src/test/java/org/jclouds/slicehost/compute/SlicehostComputeServiceLiveTest.java +++ b/providers/slicehost/src/test/java/org/jclouds/slicehost/compute/SlicehostComputeServiceLiveTest.java @@ -18,16 +18,7 @@ */ package org.jclouds.slicehost.compute; -import static org.jclouds.compute.util.ComputeServiceUtils.getCores; -import static org.testng.Assert.assertEquals; - import org.jclouds.compute.BaseComputeServiceLiveTest; -import org.jclouds.compute.ComputeServiceContextFactory; -import org.jclouds.compute.domain.OsFamily; -import org.jclouds.compute.domain.Template; -import org.jclouds.rest.RestContext; -import org.jclouds.slicehost.SlicehostAsyncClient; -import org.jclouds.slicehost.SlicehostClient; import org.jclouds.ssh.jsch.config.JschSshClientModule; import org.testng.annotations.Test; @@ -43,27 +34,11 @@ public class SlicehostComputeServiceLiveTest extends BaseComputeServiceLiveTest provider = "slicehost"; } - @Test - public void testTemplateBuilder() { - Template defaultTemplate = client.templateBuilder().build(); - assertEquals(defaultTemplate.getImage().getOperatingSystem().is64Bit(), true); - assertEquals(defaultTemplate.getImage().getOperatingSystem().getVersion(), "10.04"); - assertEquals(defaultTemplate.getImage().getOperatingSystem().getFamily(), OsFamily.UBUNTU); - assertEquals(defaultTemplate.getLocation().getId(), "slicehost"); - assertEquals(getCores(defaultTemplate.getHardware()), 0.25d); - } - @Override protected JschSshClientModule getSshModule() { return new JschSshClientModule(); } - public void testAssignability() throws Exception { - @SuppressWarnings("unused") - RestContext tmContext = new ComputeServiceContextFactory().createContext( - provider, identity, credential).getProviderSpecificContext(); - } - @Test(expectedExceptions = UnsupportedOperationException.class) public void testSuspendResume() throws Exception { super.testSuspendResume();