Search in sources :

Example 1 with AbstractTest

use of org.eclipse.linuxtools.profiling.tests.AbstractTest in project linuxtools by eclipse.

the class AbstractSWTBotTest method runPerfViewTest.

@Test
public void runPerfViewTest() throws Exception {
    SWTWorkbenchBot bot = new SWTWorkbenchBot();
    /*
         * - Method returns when the build is complete -
         * AbstractTest#createProjectAndBuild builds a single executable binary
         * under "Binaries".
         */
    proj = createProjectAndBuild(FrameworkUtil.getBundle(this.getClass()), PROJ_NAME);
    try {
        runPerfViewTestActions(bot);
    } catch (Exception e) {
        throw e;
    } finally {
        deleteProject(proj);
    }
}
Also used : SWTWorkbenchBot(org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot) WidgetNotFoundException(org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException) Test(org.junit.Test) AbstractTest(org.eclipse.linuxtools.profiling.tests.AbstractTest)

Aggregations

AbstractTest (org.eclipse.linuxtools.profiling.tests.AbstractTest)1 SWTWorkbenchBot (org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot)1 WidgetNotFoundException (org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException)1 Test (org.junit.Test)1