From 4d2b164e9ae0b74b63903e9e24ff1b0184fde771 Mon Sep 17 00:00:00 2001 From: Matthew Swift <matthew.swift@forgerock.com> Date: Wed, 27 Nov 2013 21:13:01 +0000 Subject: [PATCH] Initial work towards OPENDJ-1195: Realign the SDK developer guide with the SDK trunk once the new Maven module and package layout has been validated --- opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/opendj-grizzly/src/test/java/com/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java b/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java similarity index 96% rename from opendj-grizzly/src/test/java/com/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java rename to opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java index 9a562e3..3e08ebc 100644 --- a/opendj-grizzly/src/test/java/com/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java +++ b/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java @@ -25,17 +25,23 @@ * Portions copyright 2011-2013 ForgeRock AS */ -package com.forgerock.opendj.grizzly; +package org.forgerock.opendj.grizzly; -import static java.util.Arrays.*; - -import static org.fest.assertions.Assertions.*; -import static org.forgerock.opendj.ldap.Connections.*; -import static org.forgerock.opendj.ldap.ErrorResultException.*; -import static org.forgerock.opendj.ldap.TestCaseUtils.*; -import static org.mockito.Matchers.*; -import static org.mockito.Mockito.*; -import static org.testng.Assert.*; +import static java.util.Arrays.asList; +import static org.fest.assertions.Assertions.assertThat; +import static org.forgerock.opendj.ldap.Connections.newFixedConnectionPool; +import static org.forgerock.opendj.ldap.Connections.newHeartBeatConnectionFactory; +import static org.forgerock.opendj.ldap.Connections.newLoadBalancer; +import static org.forgerock.opendj.ldap.ErrorResultException.newErrorResult; +import static org.forgerock.opendj.ldap.TestCaseUtils.findFreeSocketAddress; +import static org.forgerock.opendj.ldap.TestCaseUtils.getServerSocketAddress; +import static org.mockito.Matchers.any; +import static org.mockito.Matchers.anyInt; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; import java.util.Arrays; import java.util.concurrent.Callable; -- Gitblit v1.10.0