| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.api; |
| | | |
| | |
| | | assertEquals(ditMap.size(), 0); |
| | | } |
| | | |
| | | @BeforeClass() |
| | | @BeforeClass |
| | | public void beforeClass() |
| | | throws Exception |
| | | { |
| | |
| | | dn9 = DN.valueOf(dn9String); |
| | | } |
| | | |
| | | @Test() |
| | | @Test |
| | | public void testDITCacheMapBasicOps() |
| | | throws Exception |
| | | { |
| | |
| | | "dc=com"))); |
| | | } |
| | | |
| | | @Test() |
| | | @Test |
| | | public void testDITCacheMapGetSubTree() |
| | | throws Exception |
| | | { |
| | |
| | | assertTrue(subtreeSet.contains(dn3String)); |
| | | } |
| | | |
| | | @Test() |
| | | @Test |
| | | public void testDITCacheMapKeyAndEntrySet() |
| | | throws Exception |
| | | { |
| | |
| | | assertTrue(ditMap.isEmpty()); |
| | | } |
| | | |
| | | @Test() |
| | | @Test |
| | | public void testDITCacheMapRemoveSubTree() |
| | | throws Exception |
| | | { |