Skip to content
Permalink
Browse files
Removed use of diamond operator in tests.
  • Loading branch information
Adrian Cole authored and Adrian Cole committed Oct 25, 2014
1 parent 4194866 commit 56c586bdf3987740f1a76140a603af8bb1c042db
Showing 1 changed file with 3 additions and 10 deletions.
@@ -24,7 +24,6 @@
import static org.testng.Assert.assertNull;
import static org.testng.Assert.assertTrue;

import java.util.HashMap;
import java.util.Map;

import org.jclouds.logging.Logger;
@@ -54,17 +53,15 @@

import com.google.common.base.Optional;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;

/**
* Tests parsing and Guice wiring of RouterApi
*/
@Test(groups = "live", testName = "LBaaSApiLiveTest")
public class LBaaSApiLiveTest extends BaseNeutronApiLiveTest {

private Logger logger = getLoggingModule().createLoggerFactory().getLogger(LBaaSApiLiveTest.class.getName());

private Map<String, Network> networks;
private Map<String, Subnet> subnets;
private Map<String, Network> networks = Maps.newLinkedHashMap();
private Map<String, Subnet> subnets = Maps.newLinkedHashMap();

public void testLBaaSPresence() throws Exception {
for (String region : api.getConfiguredRegions()) {
@@ -84,8 +81,6 @@ public void testLBaaSPresence() throws Exception {

@BeforeClass
public void createSubnets() {
networks = new HashMap<>();
subnets = new HashMap<>();
for (String region : api.getConfiguredRegions()) {
Optional<LBaaSApi> lbaasApiExtension = api.getLBaaSApi(region);
if (!lbaasApiExtension.isPresent()) {
@@ -122,8 +117,6 @@ public void deleteSubnets() {
}
}
}
networks = null;
subnets = null;
}

public void testCreateUpdateAndDeletePool() {

0 comments on commit 56c586b

Please sign in to comment.