use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.
the class CreaterepoResourceChangeListenerTest method setUp.
/**
* Create a new test project and open the .repo file.
*
* @throws Exception
*/
@Before
public void setUp() throws Exception {
testProject = new TestCreaterepoProject();
navigator = TestUtils.enterProjectFolder(bot);
assertTrue(testProject.getProject().exists());
TestUtils.openRepoFile(bot, navigator);
}
use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.
the class CreaterepoGeneralPropertyPageTest method setUpBeforeClass.
/**
* Initialize the test project.
*
* @throws CoreException
*/
@BeforeClass
public static void setUpBeforeClass() throws CoreException {
testProject = new TestCreaterepoProject();
assertTrue(testProject.getProject().exists());
bot = new SWTWorkbenchBot();
testProject.restoreDefaults();
try {
bot.shell(ICreaterepoTestConstants.MAIN_SHELL).activate();
} catch (WidgetNotFoundException e) {
// cannot activate main shell, continue anyways
}
TestUtils.openResourcePerspective(bot);
navigator = TestUtils.enterProjectFolder(bot);
}
use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.
the class CreaterepoPreferencePageTest method setUpBeforeClass.
/**
* Initialize the test project.
*
* @throws CoreException
*/
@BeforeClass
public static void setUpBeforeClass() throws CoreException {
testProject = new TestCreaterepoProject();
assertTrue(testProject.getProject().exists());
bot = new SWTWorkbenchBot();
testProject.restoreDefaults();
try {
bot.shell(ICreaterepoTestConstants.MAIN_SHELL).activate();
} catch (WidgetNotFoundException e) {
// cannot activate main shell, continue anyways
}
}
use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.
the class CreaterepoTreeTest method setUpBeforeClass.
/**
* Initialize the test project.
*
* @throws CoreException
*/
@BeforeClass
public static void setUpBeforeClass() throws CoreException {
testProject = new TestCreaterepoProject();
assertTrue(testProject.getProject().exists());
}
use of org.eclipse.linuxtools.internal.rpm.createrepo.form.tests.TestCreaterepoProject in project linuxtools by eclipse.
the class CreaterepoDeltaPropertyPageTest method setUpBeforeClass.
/**
* Initialize the test project.
*
* @throws CoreException
*/
@BeforeClass
public static void setUpBeforeClass() throws CoreException {
testProject = new TestCreaterepoProject();
assertTrue(testProject.getProject().exists());
bot = new SWTWorkbenchBot();
testProject.restoreDefaults();
try {
bot.shell(ICreaterepoTestConstants.MAIN_SHELL).activate();
} catch (WidgetNotFoundException e) {
// cannot activate main shell, continue anyways
}
TestUtils.openResourcePerspective(bot);
navigator = TestUtils.enterProjectFolder(bot);
}
Aggregations