Java 类javax.naming.ldap.ManageReferralControl 实例源码

项目:cn1    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl()'<p>
 * <p>Here we are testing the constructor method that create an object of the class
 * ManageReferralControl, wich has no enter parameters.<p>
 * <p>The expected result is a non null and critical instance of this class.<p> 
 */
public void testManageReferralControl() {

    ManageReferralControl mrf=new ManageReferralControl();
    assertNotNull(mrf);
    assertTrue(mrf.isCritical());

}
项目:cn1    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter in this case is true.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean001() {

    ManageReferralControl mrc = new ManageReferralControl(true);
    assertNotNull(mrc);
    assertTrue(mrc.isCritical());

}
项目:cn1    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter is false.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean002() {

    ManageReferralControl mrc = new ManageReferralControl(false);
    assertNotNull(mrc);
    assertFalse(mrc.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl()'<p>
 * <p>Here we are testing the constructor method that create an object of the class
 * ManageReferralControl, wich has no enter parameters.<p>
 * <p>The expected result is a non null and critical instance of this class.<p> 
 */
public void testManageReferralControl() {

    ManageReferralControl mrf=new ManageReferralControl();
    assertNotNull(mrf);
    assertTrue(mrf.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter in this case is true.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean001() {

    ManageReferralControl mrc = new ManageReferralControl(true);
    assertNotNull(mrc);
    assertTrue(mrc.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter is false.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean002() {

    ManageReferralControl mrc = new ManageReferralControl(false);
    assertNotNull(mrc);
    assertFalse(mrc.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl()'<p>
 * <p>Here we are testing the constructor method that create an object of the class
 * ManageReferralControl, wich has no enter parameters.<p>
 * <p>The expected result is a non null and critical instance of this class.<p> 
 */
public void testManageReferralControl() {

    ManageReferralControl mrf=new ManageReferralControl();
    assertNotNull(mrf);
    assertTrue(mrf.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter in this case is true.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean001() {

    ManageReferralControl mrc = new ManageReferralControl(true);
    assertNotNull(mrc);
    assertTrue(mrc.isCritical());

}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test method for 'javax.naming.ldap.ManageReferralControl.ManageReferralControl(boolean)'<p>
 * <p>Here we are testing the constructor method that create an object of the class, wich has as a 
 * parameter, the criticality of the object. The enter parameter is false.<p>
 * <p>The expected result is an object with the mention criticality.<p>
 */
public void testManageReferralControlBoolean002() {

    ManageReferralControl mrc = new ManageReferralControl(false);
    assertNotNull(mrc);
    assertFalse(mrc.isCritical());

}
项目:cn1    文件:TestManageReferralControl.java   
/**
 * <p>Test Method for 'javax.naming.ldap.ManageReferralControl.getID()'<p>
 * <p>Here we are testing the ID of this object. The expected ID is the 
 * String : "2.16.840.1.113730.3.4.2."<p>
 */
public void testGetID(){

    ManageReferralControl mrc = new ManageReferralControl();
    assertEquals("2.16.840.1.113730.3.4.2",mrc.getID());
}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test Method for 'javax.naming.ldap.ManageReferralControl.getID()'<p>
 * <p>Here we are testing the ID of this object. The expected ID is the 
 * String : "2.16.840.1.113730.3.4.2."<p>
 */
public void testGetID(){

    ManageReferralControl mrc = new ManageReferralControl();
    assertEquals("2.16.840.1.113730.3.4.2",mrc.getID());
}
项目:freeVM    文件:TestManageReferralControl.java   
/**
 * <p>Test Method for 'javax.naming.ldap.ManageReferralControl.getID()'<p>
 * <p>Here we are testing the ID of this object. The expected ID is the 
 * String : "2.16.840.1.113730.3.4.2."<p>
 */
public void testGetID(){

    ManageReferralControl mrc = new ManageReferralControl();
    assertEquals("2.16.840.1.113730.3.4.2",mrc.getID());
}