| | |
| | | import org.forgerock.opendj.ldap.responses.GenericExtendedResult; |
| | | import org.forgerock.opendj.ldap.responses.Responses; |
| | | import org.forgerock.opendj.ldap.responses.Result; |
| | | import org.forgerock.testng.ForgeRockTestCase; |
| | | import org.opends.server.admin.std.meta.VirtualAttributeCfgDefn.Scope; |
| | | import org.opends.server.core.BindOperation; |
| | | import org.opends.server.core.CompareOperation; |
| | |
| | | import org.opends.server.protocols.ldap.LDAPControl; |
| | | import org.opends.server.protocols.ldap.LDAPFilter; |
| | | import org.opends.server.DirectoryServerTestCase; |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.Attributes; |
| | | import org.opends.server.types.DirectoryException; |
| | |
| | | import org.opends.server.types.Operation; |
| | | import org.opends.server.types.SearchResultEntry; |
| | | import org.opends.server.types.SearchResultReference; |
| | | import org.testng.annotations.AfterGroups; |
| | | import org.testng.annotations.BeforeGroups; |
| | | import org.testng.annotations.DataProvider; |
| | | import org.testng.annotations.Test; |
| | |
| | | */ |
| | | @BeforeGroups(groups = "needRunningServer") |
| | | public void startServer() throws Exception { |
| | | EmbeddedServerTestCaseUtils.startServer(); |
| | | } |
| | | |
| | | /** |
| | | * Stops the server at the end of the test class. |
| | | */ |
| | | @AfterGroups(groups = "needRunningServer") |
| | | public void shutDownServer() { |
| | | // Stops the server. |
| | | EmbeddedServerTestCaseUtils.shutDownServer(); |
| | | TestCaseUtils.startServer(); |
| | | } |
| | | |
| | | /** |