MultiDomainServerStateTest.java revision a11a0561f324860f1381a3b57212e20ede1ad05f
/*
* 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 2013-2014 ForgeRock AS
* Portions Copyright 2014-2015 ForgeRock AS
*/
@SuppressWarnings("javadoc")
public class MultiDomainServerStateTest extends ReplicationTestCase
{
public void setBaseDNs() throws Exception
{
}
public Object[][] decodeAndEncodeData()
{
return new Object[][] {
{ "", "" },
{ "o=test1:", "o=test1:;" },
{ ";;o=test1:;;", ":;o=test1:;" },
{ "o=test1:" + csn1 + ";o=test2:" + csn2 + ";;o=test6:", ":;o=test1:" + csn1 + ";o=test2:" + csn2 + ";o=test6:;" },
};
}
{
}
public Object[][] copyCtorData()
{
return new Object[][] {
{ "" },
};
}
{
}
@Test
public void testUpdateCSN() throws Exception
{
}
@Test
public void testUpdateServerState() throws Exception
{
}
@Test
public void testUpdateMultiDomainServerState() throws Exception
{
}
public void testEqualsTo() throws Exception
{
}
public void testIsEmpty() throws Exception
{
}
public void testRemoveCSN() throws Exception
{
}
private MultiDomainServerState getLastAliveCSNs()
{
return lastAliveCSNs;
}
public void testGetOldestCSNExcluding_null() throws Exception
{
}
public void testGetOldestCSNExcluding_empty() throws Exception
{
}
public void testGetOldestCSNExcluding_currentOldestCSN_givesNewOldestCSN() throws Exception
{
}
public void testGetOldestCSNExcluding_CSNOlderThanCurrentOldestCSN_givesNewOldestCSN() throws Exception
{
}
public void testGetOldestCSNExcluding_CSNNewerThanCurrentOldestCSN_givesNewOldestCSN() throws Exception
{
}
}