blob: f789ce6eb9d916ff0aaf6703b7a2793c8fd5f189 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Lorenzo Bettini - Initial contribution and API
*******************************************************************************/
package org.eclipse.emf.parsley.tests.swtbot
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner
import org.junit.runner.RunWith
@RunWith(typeof(SWTBotJunit4ClassRunner))
public abstract class EmfParsleyDslUiAbstractTests extends EmfParsleySWTBotAbstractTests {
protected val TEST_PROJ_NAME = "my.emfparsley.proj"
protected val TEST_PROJ_NAME_BAD1 = "My-EmfParsley--project"
def createDslProjectWithWizard() {
createProjectWithoutTemplateInWorkspace(EMF_PARSLEY_CATEGORY,
NEW_EMF_PARSLEY_DSL_PROJECT, TEST_PROJ_NAME);
assertNoIssuesInProjectAfterAutoBuild();
}
def createDslProjectWithWizardFromBadProjectName1() {
createProjectWithoutTemplateInWorkspace(EMF_PARSLEY_CATEGORY,
NEW_EMF_PARSLEY_DSL_PROJECT, TEST_PROJ_NAME_BAD1);
assertNoIssuesInProjectAfterAutoBuild();
}
}