Package ca.odell.glazedlists.impl.testing.GlazedListsTests

Examples of ca.odell.glazedlists.impl.testing.GlazedListsTests.SerializableListener


        assertEquals(serializableList, serializedCopy);
    }

    public void testSerializableListeners() throws IOException, ClassNotFoundException {
        EventList<String> serializableList = new BasicEventList<String>();
        SerializableListener listener = new SerializableListener();
        serializableList.addListEventListener(listener);

        serializableList.addAll(GlazedListsTests.stringToList("Szarka"));
        assertEquals(serializableList, SerializableListener.getLastSource());
View Full Code Here


        final EventList<String> nickNames = u.getNickNames();
        final EventList<Email> emails = u.getEmailAddresses();
       
        UnserializableListener listener = new UnserializableListener();
        nickNames.addListEventListener(listener);
        SerializableListener serListener = new SerializableListener();
        nickNames.addListEventListener(serListener);
        nickNames.add("Testit");
        assertEquals(nickNames, UnserializableListener.getLastSource());
        assertEquals(nickNames, SerializableListener.getLastSource());
       
View Full Code Here

TOP

Related Classes of ca.odell.glazedlists.impl.testing.GlazedListsTests.SerializableListener

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.