Examples of Plop


Examples of org.apache.felix.ipojo.runtime.core.services.Plop

    @Test
    public void testDuplicateMethod() {
        ipojoHelper.createComponentInstance("plopimpl", "plop");
        ServiceReference ref = ipojoHelper.getServiceReferenceByName(Plop.class.getName(), "plop");
        assertNotNull("Check plop", ref);
        Plop plop = (Plop) osgiHelper.getServiceObject(ref);
        Object o = plop.getPlop();
        assertEquals("Check result", "plop", o);
        ipojoHelper.dispose();
    }
View Full Code Here

Examples of org.apache.felix.ipojo.test.scenarios.manipulation.service.Plop

    public void testDuplicateMethod() {
        IPOJOHelper helper = new IPOJOHelper(this);
        helper.createComponentInstance("plopimpl", "plop");
        ServiceReference ref = helper.getServiceReferenceByName(Plop.class.getName(), "plop");
        assertNotNull("Check plop", ref);
        Plop plop = (Plop) getServiceObject(ref);
        Object o = plop.getPlop();
        assertEquals("Check result", "plop", o);
        helper.dispose();
    }
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.