| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2014 ForgeRock AS |
| | | * Portions Copyright 2013-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.tools; |
| | | |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @BeforeClass() |
| | | @BeforeClass |
| | | public void setup() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @AfterClass() |
| | | @AfterClass |
| | | public void cleanup() |
| | | throws Exception |
| | | { |
| | |
| | | /** |
| | | * Tries to rebuild an index but the index doesn't exist in the base DN. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRebuildIndexOnNonExistentShouldFail() |
| | | { |
| | | final String[] args = { |
| | |
| | | /** |
| | | * Tries to rebuild a valid index. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRebuildIndexShouldSuccess() |
| | | { |
| | | final String[] args = { |