Examples of verifyImplementsServices()


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

        throws Exception
    {
        final ComponentVerifier verifier = new ComponentVerifier();
        final List issues = new ArrayList();
        final Class[] services = new Class[]{ActionListener.class};
        verifier.verifyImplementsServices( ActionListenerComponent.class, services, issues );
        assertNoIssues( issues );
    }

    public void testVerifyImplementsServicesThatNoPasses()
        throws Exception
View Full Code Here

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

        throws Exception
    {
        final ComponentVerifier verifier = new ComponentVerifier();
        final List issues = new ArrayList();
        final Class[] services = new Class[]{ActionListener.class};
        verifier.verifyImplementsServices( Object.class, services, issues );
        assertSingleIssue( issues, "The metadata declares that the class " +
                                   "supports the service " +
                                   ActionListener.class.getName() +
                                   " but the class does not implement the " +
                                   "service interface.", true, false );
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.