Examples of verifyServiceIsPublic()


Examples of org.codehaus.dna.tools.verifier.ComponentVerifier.verifyServiceIsPublic()

    public void testVerifyServiceIsPublicThatPasses()
        throws Exception
    {
        final ComponentVerifier verifier = new ComponentVerifier();
        final List issues = new ArrayList();
        verifier.verifyServiceIsPublic( Object.class, issues );
        assertNoIssues( issues );
    }

    public void testVerifyServiceIsPublicThatNoPasses()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.tools.verifier.ComponentVerifier.verifyServiceIsPublic()

    public void testVerifyServiceIsPublicThatNoPasses()
        throws Exception
    {
        final ComponentVerifier verifier = new ComponentVerifier();
        final List issues = new ArrayList();
        verifier.verifyServiceIsPublic( LifecycleExtendingService.class, issues );
        assertSingleIssue( issues, "Service " + LifecycleExtendingService.class.getName() +
                                   " must be public.", true, false );
    }

    public void testVerifyServiceIsaInterfaceThatPasses()
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.