org.eclipse.emf.facet.util.tests.swtbot.internal.exported
Class SWTBotUtils
java.lang.Object
org.eclipse.emf.facet.util.tests.swtbot.internal.exported.SWTBotUtils
public final class SWTBotUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getToolbarButton
public static SWTBotToolbarButton getToolbarButton(java.lang.String tooltipPrefix,
int index,
SWTWorkbenchBot pBot)
captureScreenShot
public static void captureScreenShot(java.lang.String imageName)
waitUntilNotEmpty
public static void waitUntilNotEmpty(SWTBotTree tree,
int timeout)
waitUntilAssertListSize
public static void waitUntilAssertListSize(int expected,
java.util.List<?> list)
executeCommand
public static void executeCommand(java.lang.String commandID)
closeWelcomeAndEditorsAndShells
public static void closeWelcomeAndEditorsAndShells()
- Clears the workbench UI : close the welcome page if present, all editors, and all shells. This method is meant to
be called between tests, in order to ensure that if one test fails and leaves a dialog open, subsequent tests can
still pass.
deleteAllProjects
public static void deleteAllProjects()
throws CoreException
- Throws:
CoreException
startDebugDumpingIfEnabled
public static void startDebugDumpingIfEnabled()