Package junit.extensions.jfcunit.eventdata

Examples of junit.extensions.jfcunit.eventdata.StringEventData


    @Test
    public void testChangeDefaultThrottleAndApprove() {
       
        final JFormattedTextField defaultThrottleTextBox = configDialog.getDefaultThrottleTextBox();
        getHelper().sendString(new StringEventData(this, defaultThrottleTextBox, "999"));

        final JButton okButton = configDialog.getOkButton();
        getHelper().enterClickAndLeave(new MouseEventData(this, okButton));       
       
        Map<String, Object> changedProperties = configDialog.getGlobalConfig();
View Full Code Here


    }

    @Test
    public void testChangeDefaultThrottleAndCancel() {
        final JFormattedTextField defaultThrottleTextBox = configDialog.getDefaultThrottleTextBox();
        getHelper().sendString(new StringEventData(this, defaultThrottleTextBox, "999"));

        final JButton cancelButton = configDialog.getCancelButton();
        getHelper().enterClickAndLeave(new MouseEventData(this, cancelButton));       
       
        Map<String, Object> changedProperties = configDialog.getGlobalConfig();
View Full Code Here

TOP

Related Classes of junit.extensions.jfcunit.eventdata.StringEventData

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.