Package org.jasig.portal.channels.error.error2xml

Examples of org.jasig.portal.channels.error.error2xml.IThrowableToElement.supports()


    public  final void testUnsupported(){
        IThrowableToElement throwableToElement
            = getThrowableToElementInstance();
        Throwable unsupportedThrowable = unsupportedThrowable();
        if (unsupportedThrowable != null)
            assertFalse(throwableToElement.supports(Throwable.class));
    }
   
    /**
     * Test that supports() returns true for a supported throwable.
     */
 
View Full Code Here


    public final void testSupported(){
        IThrowableToElement throwableToElement
            = getThrowableToElementInstance();
        Throwable supportedThrowable = supportedThrowable();
        if (supportedThrowable != null)
            assertTrue(throwableToElement.supports(supportedThrowable.getClass()));
    }
   
   
    /**
     * Return an instance of the IThrowableToElement specifically to be tested
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.