Package org.jasig.portal.services.persondir.support.legacy

Examples of org.jasig.portal.services.persondir.support.legacy.PersonDirInfo.validate()


     * Test that the validate() method of an entirely new PDI
     * throws IllegalStateException.
     */
    public void testValidateBare() {
        PersonDirInfo pdi = new PersonDirInfo();
        assertNotNull(pdi.validate());
    }
   
    /**
     * Test that a PersonDirInfo which has no uid query set throws
     * IllegalStateException on validation attempt.
View Full Code Here


     * IllegalStateException on validation attempt.
     */
    public void testValidateNoUid() {
        PersonDirInfo pdi = new PersonDirInfo();
        pdi.setLdapRefName("someserver");
        assertNotNull(pdi.validate());
    }
   
    /**
     * Test that validating valid PDIs returns no error messages.
     */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.