| | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.InitialDirectoryServerFixture; |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | |
| | | */ |
| | | @Test() |
| | | public void testEntryToAndFromDatabase() throws Exception { |
| | | InitialDirectoryServerFixture.FACTORY.setUp(); |
| | | // Make sure that the server is up and running. |
| | | TestCaseUtils.startServer(); |
| | | |
| | | // Convert the test LDIF string to a byte array |
| | | byte[] originalLDIFBytes = StaticUtils.getBytes(ldifString); |
| | |
| | | } |
| | | } |
| | | reader.close(); |
| | | |
| | | InitialDirectoryServerFixture.FACTORY.tearDown(); |
| | | } |
| | | } |