| | |
| | | import org.opends.server.core.DirectoryServer; |
| | | |
| | | /** |
| | | * |
| | | * This fixture makes sure that a directory server instance is available |
| | | * with the core schema files loaded from the source tree's resource |
| | | * directory. |
| | |
| | | /** |
| | | * A factory used to obtain the schema fixture instance. |
| | | */ |
| | | @Deprecated |
| | | public static final FixtureFactory<SchemaFixture> FACTORY; |
| | | |
| | | static { |
| | |
| | | /** |
| | | * Internal factory implementation. |
| | | */ |
| | | @Deprecated |
| | | private static final class Factory implements |
| | | FixtureFactory<SchemaFixture> { |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Deprecated |
| | | public SchemaFixture setUp() throws Exception { |
| | | // This fixture requires the configuration fixture. |
| | | ConfigurationFixture fixture = ConfigurationFixture.FACTORY.setUp(); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Deprecated |
| | | public void tearDown() throws Exception { |
| | | // TODO: clean up the schema? |
| | | |
| | |
| | | /** |
| | | * Create a schema fixture. |
| | | */ |
| | | @Deprecated |
| | | private SchemaFixture() { |
| | | // No implementation required. |
| | | } |