Examples of MockPropertyChangeListener


Examples of org.apache.harmony.beans.tests.support.beancontext.mock.MockPropertyChangeListener

        // covered by testBcsPreSerializationHook
    }

    public void testSetDesignTime() {
        MockBeanContextSupport support = new MockBeanContextSupport();
        MockPropertyChangeListener l1 = new MockPropertyChangeListener();
        MockVetoableChangeListener l2 = new MockVetoableChangeListener();
        support.addPropertyChangeListener("designTime", l1);
        support.addVetoableChangeListener("designTime", l2);
        assertFalse(support.isDesignTime());
        support.records.assertRecord("initialize", null);
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.