Package org.eclipse.swtbot.swt.finder.widgets

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.backgroundColor()


     * @throws Exception
     */
    @Test public void colorSchemeApplied() throws Exception {
        // Rule 5 applies
        final SWTBotButton button = bot.button("BuTToN");
        assertEquals(123, button.backgroundColor().getGreen());
        assertEquals(213, button.foregroundColor().getGreen());
        Display.getDefault().syncExec(new Runnable() {
            public void run() {
                assertEquals(null, button.widget.getBackgroundImage());
            }
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.