Search in sources :

Example 1 with SwtWizardBot

use of com.avaloq.tools.ddk.test.ui.swtbot.SwtWizardBot in project dsl-devkit by dsldevkit.

the class CheckCatalogWizardTest method setUp.

/**
 * Start again the Check project wizard before every test.
 * <p>
 * Initializes this test class pre-loading grammar access instances, which might involve bundle activation and class loading.
 * </p>
 */
@Before
public void setUp() {
    wizard = new SwtWizardBot();
    project = createProject();
    for (Grammar g : new CheckResourceUtil().getGrammars()) {
        // make sure all grammars accessible for combo field.
        g.getName();
    }
}
Also used : SwtWizardBot(com.avaloq.tools.ddk.test.ui.swtbot.SwtWizardBot) Grammar(org.eclipse.xtext.Grammar) CheckResourceUtil(com.avaloq.tools.ddk.check.ui.util.CheckResourceUtil) Before(org.junit.Before)

Example 2 with SwtWizardBot

use of com.avaloq.tools.ddk.test.ui.swtbot.SwtWizardBot in project dsl-devkit by dsldevkit.

the class CheckProjectWizardTest method setUp.

/**
 * Start again the Check project wizard before every test.
 */
@Before
public void setUp() {
    wizard = new SwtWizardBot();
    wizard.openNewWizard(CHECK_PROJECT_WIZARD_NAME);
}
Also used : SwtWizardBot(com.avaloq.tools.ddk.test.ui.swtbot.SwtWizardBot) Before(org.junit.Before)

Aggregations

SwtWizardBot (com.avaloq.tools.ddk.test.ui.swtbot.SwtWizardBot)2 Before (org.junit.Before)2 CheckResourceUtil (com.avaloq.tools.ddk.check.ui.util.CheckResourceUtil)1 Grammar (org.eclipse.xtext.Grammar)1