Examples of performMenu()


Examples of org.netbeans.jellytools.actions.ActionNoBlock.performMenu()

        File scalaHomeDir = new File(scalaHome);
        assertTrue("Environment Variable SCALA_HOME=" + scalaHome + " doesn't point to an existing directory", scalaHomeDir.exists());
        assertTrue("Environment Variable SCALA_HOME=" + scalaHome + " doesn't point to a directory", scalaHomeDir.isDirectory());
        ActionNoBlock openScalaShell = new ActionNoBlock("Window|Other|Interactive Scala Shell", null);
        // TODO: If the Action Interactive Sacla Shell is missing the test will block here. Some check before this point, if it exist, would be nice.
        openScalaShell.performMenu();
        TopComponentOperator scalaConsole = new TopComponentOperator("Scala Console");
        assertTrue("Scala Console not showing", scalaConsole.isShowing());
        // TODO: Same as before, a test for existence would be nice.
        JTextPaneOperator theConsole = new JTextPaneOperator(scalaConsole);
        assertTrue("Scala Console is not Enabled", theConsole.isEnabled());
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.