Package org.apache.harmony.beans.tests.support.mock

Examples of org.apache.harmony.beans.tests.support.mock.SerializedVCListener


    public void testSerialization() throws IOException, ClassNotFoundException {
        MockSource source = new MockSource();
        VetoableChangeSupport support = new VetoableChangeSupport(source);

        String propertyName1 = "text";
        SerializedVCListener serialized = new SerializedVCListener(
                propertyName1);
        support.addVetoableChangeListener(propertyName1, serialized);

        String propertyName2 = "top";
        NonSerializedVCListener nonSerialized = new NonSerializedVCListener(
View Full Code Here


     public void testSerialization_Compatibility() throws Exception {
         MockSource source = new MockSource();
         VetoableChangeSupport support = new VetoableChangeSupport(source);
         final String propertyName1 = "text";
         SerializedVCListener serialized = new SerializedVCListener(
                 propertyName1);
         support.addVetoableChangeListener(propertyName1, serialized);
         final String propertyName2 = "top";
         NonSerializedVCListener nonSerialized = new NonSerializedVCListener(
View Full Code Here

TOP

Related Classes of org.apache.harmony.beans.tests.support.mock.SerializedVCListener

Copyright © 2018 www.massapicom. 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.