Package net.sourceforge.marathon

Examples of net.sourceforge.marathon.MessageList.assertEmpty()


        MockComponentListener listener = new MockComponentListener(events, "popup");
        BasicComboPopup popup = (BasicComboPopup) dialog.getComboBox().getAccessibleContext().getAccessibleChild(0);
        popup.getList().addFocusListener(listener);
        popup.getList().addMouseListener(listener);
        assertEquals("a", mComboBox.getText());
        events.assertEmpty();
        mComboBox.setText("b");
        events.assertNextMessageInList("popup:mouseEntered");
        events.assertNextMessageInList("popup:mousePressed");
        events.assertNextMessageInList("popup:mouseReleased");
    }
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.