StateTest.java revision 540ea316e77eb38f09a74b07365964c2a1161d8e
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at legal-notices/CDDLv1_0.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2015 ForgeRock AS
*/
public class StateTest extends DirectoryServerTestCase
{
private TreeName indexTreeName;
private PersistItStorage storage;
public void startServer() throws Exception {
}
{
}
public void tearDown() {
}
@Test
public void testDefaultValuesForNotExistingEntries() throws Exception
{
}
@Test
public void testCreateNewFlagHasDefaultValue() throws Exception
{
addFlags();
}
@Test
public void testCreateStateTrustedIsAlsoCompacted() throws Exception
{
}
@Test
public void testCreateWithTrustedAndCompacted() throws Exception
{
}
@Test
public void testUpdateNotSetDefault() throws Exception
{
}
@Test
public void testAddFlags() throws Exception
{
}
@Test
public void testRemoveFlags() throws Exception
{
}
@Test
public void testDeleteRecord() throws Exception
{
{
{
}
});
}
{
when(indexCfg.getIndexType()).thenReturn(TestCaseUtils.newSortedSet(IndexType.PRESENCE, IndexType.EQUALITY));
return backendCfg;
}
{
}
private void createEmptyFlag() throws Exception {
}
{
{
{
}
});
}
{
{
{
}
});
}
{
{
{
}
});
}
}