mirror of https://github.com/apache/jclouds.git
Address Checkstyle violations in tests
This commit is contained in:
parent
9408df2d6d
commit
c1fc551f60
|
@ -35,7 +35,10 @@ import javax.ws.rs.core.MediaType;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertFalse;
|
||||||
|
import static org.testng.Assert.assertNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests parsing and Guice wiring of NetworkApi
|
* Tests parsing and Guice wiring of NetworkApi
|
||||||
|
|
|
@ -28,7 +28,9 @@ import org.jclouds.openstack.neutron.v2_0.options.UpdateNetworkOptions;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertNotNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests parsing and Guice wiring of NetworkApi
|
* Tests parsing and Guice wiring of NetworkApi
|
||||||
|
|
|
@ -34,7 +34,10 @@ import org.testng.annotations.Test;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertFalse;
|
||||||
|
import static org.testng.Assert.assertNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests parsing and Guice wiring of PortApi
|
* Tests parsing and Guice wiring of PortApi
|
||||||
|
|
|
@ -17,13 +17,24 @@
|
||||||
package org.jclouds.openstack.neutron.v2_0.features;
|
package org.jclouds.openstack.neutron.v2_0.features;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import org.jclouds.openstack.neutron.v2_0.domain.*;
|
import org.jclouds.openstack.neutron.v2_0.domain.BulkPort;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.IP;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.NetworkType;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.ReferenceWithName;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.Port;
|
||||||
import org.jclouds.openstack.neutron.v2_0.internal.BaseNeutronApiLiveTest;
|
import org.jclouds.openstack.neutron.v2_0.internal.BaseNeutronApiLiveTest;
|
||||||
import org.jclouds.openstack.neutron.v2_0.options.*;
|
import org.jclouds.openstack.neutron.v2_0.options.CreateNetworkOptions;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.options.CreatePortBulkOptions;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.options.CreatePortOptions;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.options.CreateSubnetOptions;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.options.UpdatePortOptions;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertFalse;
|
||||||
|
import static org.testng.Assert.assertNotNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests PortApi in combination with the Network & SubnetApi
|
* Tests PortApi in combination with the Network & SubnetApi
|
||||||
|
|
|
@ -33,7 +33,10 @@ import org.testng.annotations.Test;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertFalse;
|
||||||
|
import static org.testng.Assert.assertNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests parsing and Guice wiring of SubnetApi
|
* Tests parsing and Guice wiring of SubnetApi
|
||||||
|
|
|
@ -18,7 +18,12 @@ package org.jclouds.openstack.neutron.v2_0.features;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import org.jclouds.openstack.neutron.v2_0.domain.*;
|
import org.jclouds.openstack.neutron.v2_0.domain.AllocationPool;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.BulkSubnet;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.HostRoute;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.NetworkType;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.ReferenceWithName;
|
||||||
|
import org.jclouds.openstack.neutron.v2_0.domain.Subnet;
|
||||||
import org.jclouds.openstack.neutron.v2_0.internal.BaseNeutronApiLiveTest;
|
import org.jclouds.openstack.neutron.v2_0.internal.BaseNeutronApiLiveTest;
|
||||||
import org.jclouds.openstack.neutron.v2_0.options.CreateNetworkOptions;
|
import org.jclouds.openstack.neutron.v2_0.options.CreateNetworkOptions;
|
||||||
import org.jclouds.openstack.neutron.v2_0.options.CreateSubnetBulkOptions;
|
import org.jclouds.openstack.neutron.v2_0.options.CreateSubnetBulkOptions;
|
||||||
|
@ -27,7 +32,9 @@ import org.jclouds.openstack.neutron.v2_0.options.UpdateSubnetOptions;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertNotNull;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests subnet api in combination with the network api
|
* Tests subnet api in combination with the network api
|
||||||
|
|
Loading…
Reference in New Issue