/*
* 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 2006-2008 Sun Microsystems, Inc.
* Portions Copyright 2014-2015 ForgeRock AS
*/
/**
* This class defines a set of tests for the
* org.opends.server.protocol.ldap.ModifyDNRequestProtocolOp class.
*/
/**
* The protocol op type for modify DN requests.
*/
/**
* The protocol op type for modify DN responses.
*/
/**
* The DN for modify DN requests in this test case.
*/
/**
* The alt DN for modify DN requests in this test case.
*/
/**
* The new DN for modify DN requests in this test case.
*/
/**
* The alt new DN for modify DN requests in this test case.
*/
/**
* The new superiour DN for modify DN requests in this test case.
*/
/**
* The alt new superiour DN for modify DN requests in this test case.
*/
/**
* Test to make sure the class processes the right LDAP op type.
*
* @throws Exception If the test failed unexpectedly.
*/
@Test
{
newRdn, true);
}
/**
* Test to make sure the class returns the correct protocol name.
*
* @throws Exception If the test failed unexpectedly.
*/
@Test
{
newRdn, true);
}
/**
* Test the constructors to make sure the right objects are constructed.
*
* @throws Exception If the test failed unexpectedly.
*/
@Test
{
}
/**
* Test the decode method when an null element is passed
*
* @throws Exception If the test failed unexpectedly.
*/
{
}
/**
* Test the decode method when an empty element is passed
*
* @throws Exception If the test failed unexpectedly.
*/
{
}
/**
* Test the decode method when the wrong number of elements is passed
*
* @throws Exception If the test failed unexpectedly.
*/
{
}
/**
* Test the decode method when invalid attributes in element is passed
*
* @throws Exception If the test failed unexpectedly.
*/
{
}
/**
* Test the decode method when an element w/ wrong op type is passed.
*
* @throws Exception If the test failed unexpectedly.
*/
{
writer.writeBoolean(true);
}
/**
* Test the encode and decode methods with null params
*
* @throws Exception If the test failed unexpectedly.
*/
{
}
/**
* Test the encode and decode methods and corner cases.
*
* @throws Exception If the test failed unexpectedly.
*/
@Test
{
}
/**
* Test the toString (single line) method.
*
* @throws Exception If the test fails unexpectedly.
*/
@Test
{
key.append("ModifyDNRequest(dn=").append(dn).append(", newRDN=").append(newRdn).append(", ").append("deleteOldRDN=").append(true).append(", newSuperior=")
}
/**
* Test the toString (multi line) method.
*
* @throws Exception If the test fails unexpectedly.
*/
@Test
{
int i;
int indent;
indent = 5;
for (i=0 ; i < indent; i++)
{
}
}
}