diff --git a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/TemplateClientLiveTest.java b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/TemplateClientLiveTest.java index b2f795a644..4fc59ff138 100644 --- a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/TemplateClientLiveTest.java +++ b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/TemplateClientLiveTest.java @@ -18,16 +18,21 @@ */ package org.jclouds.cloudstack.features; -import static org.jclouds.cloudstack.options.ListTemplatesOptions.Builder.zoneId; -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertTrue; - -import java.util.Set; - -import org.jclouds.cloudstack.domain.Template; +import com.google.common.base.Predicate; +import com.google.common.collect.Iterables; +import org.jclouds.cloudstack.domain.*; +import org.jclouds.cloudstack.options.CreateTemplateOptions; +import org.jclouds.cloudstack.options.ListNetworksOptions; +import org.jclouds.cloudstack.options.ListVolumesOptions; +import org.testng.annotations.AfterGroups; import org.testng.annotations.Test; -import com.google.common.collect.Iterables; +import javax.annotation.Nullable; +import java.util.Random; +import java.util.Set; + +import static org.jclouds.cloudstack.options.ListTemplatesOptions.Builder.zoneId; +import static org.testng.Assert.*; /** * Tests behavior of {@code TemplateClientLiveTest} @@ -37,6 +42,9 @@ import com.google.common.collect.Iterables; @Test(groups = "live", singleThreaded = true, testName = "TemplateClientLiveTest") public class TemplateClientLiveTest extends BaseCloudStackClientLiveTest { + private VirtualMachine vm; + private Template template; + public void testListTemplates() throws Exception { Set