Search in sources :

Example 1 with CheckResourceUtil

use of com.avaloq.tools.ddk.check.ui.util.CheckResourceUtil 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)

Aggregations

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