Search in sources :

Example 6 with TestCreaterepoProject

use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.

the class CreaterepoCommandCreatorTest method setUpBeforeClass.

/**
 * Initialize the project.
 *
 * @throws Exception
 */
@BeforeClass
public static void setUpBeforeClass() throws Exception {
    testProject = new TestCreaterepoProject();
    assertTrue(testProject.getProject().exists());
}
Also used : TestCreaterepoProject(org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject) BeforeClass(org.junit.BeforeClass)

Example 7 with TestCreaterepoProject

use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.

the class CreaterepoTest method setUpBeforeClass.

/**
 * Initialize the test project. Will fail immediately if it cannot find
 * the createrepo command.
 *
 * @throws CoreException
 */
@BeforeClass
public static void setUpBeforeClass() throws CoreException {
    Assume.assumeTrue(Createrepo.isCorrectVersion().isOK());
    testProject = new TestCreaterepoProject();
    assertTrue(testProject.getProject().exists());
}
Also used : TestCreaterepoProject(org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject) BeforeClass(org.junit.BeforeClass)

Aggregations

TestCreaterepoProject (org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject)7 BeforeClass (org.junit.BeforeClass)6 SWTWorkbenchBot (org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot)3 WidgetNotFoundException (org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException)3 Before (org.junit.Before)1