eu.etaxonomy.taxeditor.navigation,
eu.etaxonomy.taxeditor.printpublisher,
eu.etaxonomy.taxeditor.store,
- org.apache.log4j
-Eclipse-RegisterBuddy: org.apache.log4j
+ org.apache.log4j,
+ org.hamcrest,
+ org.eclipse.swtbot.eclipse.core,
+ org.eclipse.swtbot.eclipse.finder
+Eclipse-RegisterBuddy: org.apache.log4j, org.eclipse.swtbot.swt.finder
Bundle-ClassPath: .,
lib/byte-buddy-0.5.1.jar,
lib/org.springframework.context-3.2.2.RELEASE.jar,
lib/unitils-dbunit-3.4.2.jar,
lib/unitils-spring-3.4.2.jar,
lib/dbunit-2.4.9.jar
+Export-Package: org.hamcrest
package eu.etaxonomy.taxeditor.application.menu.general;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
import eu.etaxonomy.taxeditor.test.AbstractEditorTest;\r
\r
/**\r
* Open all "General -> New" menus\r
- * \r
+ *\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class NewMenuTest extends AbstractEditorTest {\r
\r
@Test\r
openNewWizardFor("Taxon");\r
utils.cancel();\r
}\r
- \r
+\r
\r
@Test\r
public void canOpenNewWizardForReference(){\r
openNewWizardFor("Reference");\r
utils.cancel();\r
}\r
- \r
- \r
+\r
+\r
@Test\r
public void canOpenNewWizardForName(){\r
openNewWizardFor("Name");\r
utils.cancel();\r
}\r
- \r
- \r
+\r
+\r
@Test\r
public void canOpenNewWizardForTeam(){\r
openNewWizardFor("Team");\r
utils.cancel();\r
}\r
- \r
- \r
+\r
+\r
@Test\r
public void canOpenNewWizardForPerson(){\r
openNewWizardFor("Person");\r
utils.cancel();\r
}\r
- \r
+\r
@Test\r
public void canOpenNewWizardForSpecimen(){\r
openNewWizardFor("Specimen");\r
utils.cancel();\r
}\r
- \r
- \r
+\r
+\r
@Test\r
public void canOpenNewWizardForClassification(){\r
openNewWizardFor("Classification");\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.navigation.navigator.contextmenu;\r
\r
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;\r
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;\r
import org.junit.Before;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
import eu.etaxonomy.taxeditor.test.AbstractEditorTest;\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class ClassificationTest extends AbstractEditorTest {\r
\r
private SWTBotView navigatorView;\r
private SWTBotTree tree;\r
\r
- @Before\r
+ @Override\r
+ @Before\r
public void setup() {\r
super.setup();\r
navigatorView = utils.view("Taxon Navigator");\r
tree = utils.tree(navigatorView.getWidget());\r
}\r
- \r
+\r
@Test\r
public void canDeleteClassification() throws Exception {\r
tree.select(0);\r
bot.waitUntil(Conditions.shellIsActive("Confirm Deletion"));\r
utils.ok();\r
}\r
- \r
+\r
@Test\r
public void canCreateClassification() throws Exception {\r
tree.setFocus();\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.newWizard;\r
\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
import eu.etaxonomy.taxeditor.test.AbstractEditorTest;\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class NewTaxonWizardTest extends AbstractEditorTest {\r
\r
@Override\r
bot.menu("General").menu("New").menu("Taxon").click();\r
bot.waitUntil(Conditions.shellIsActive("New Entity"));\r
}\r
- \r
+\r
@Test\r
public void unalteredDialogCanNotBefinished() {\r
boolean finishIsEnabled = bot.button("Finish").isEnabled();\r
Assert.assertEquals(false, finishIsEnabled);\r
utils.cancel();\r
}\r
- \r
+\r
@Test\r
public void canCreateNewTaxonMinimal(){\r
utils.openFilteredSelection(0, "Choose a Classification");\r
bot.textWithLabel("New Taxon").setText(newTaxonName);\r
bot.waitUntil(Conditions.widgetIsEnabled(bot.button("Finish")));\r
utils.finish();\r
- \r
+\r
// bot.waitUntil(Conditions.waitForEditor(WithPartId.withPartId(MultiPageTaxonEditor.ID)));\r
// Assert.assertEquals(newTaxonName, bot.activeEditor().getTitle());\r
}\r
- \r
- \r
\r
- \r
+\r
+\r
+\r
}\r
package eu.etaxonomy.taxeditor.ui.dialogs;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
import eu.etaxonomy.taxeditor.test.AbstractEditorTest;\r
\r
-\r
+@Ignore\r
public class LoginDialogTest extends AbstractEditorTest{\r
- \r
+\r
@Test\r
public void canLoginAsAdmin() throws Exception {\r
bot.menu("General").menu("Login").click();\r
bot.textWithLabel("Password").setText("00000");\r
utils.ok();\r
}\r
- \r
+\r
@Test\r
public void canCancelLogin() throws Exception {\r
bot.menu("General").menu("Login").click();\r
bot.waitUntil(Conditions.shellIsActive("Login"));\r
utils.cancel();\r
}\r
- \r
+\r
}\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.ui.selection;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
/**\r
- * This test will only test the selection element itself. The test may have to start other \r
- * dialogs open windows before to get at the selection element. Any errors on the way \r
+ * This test will only test the selection element itself. The test may have to start other\r
+ * dialogs open windows before to get at the selection element. Any errors on the way\r
* should be handled by different tests.\r
- * \r
+ *\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class ClassificationSelectionElementTest extends AbstractSelectionElementTest{\r
@Override\r
public void setup() {\r
bot.menu("General").menu("New").menu("Taxon").click();\r
bot.waitUntil(Conditions.shellIsActive("New Entity"));\r
}\r
- \r
+\r
@Test\r
public void canSelectClassification() {\r
utils.openFilteredSelection(0, "Choose a Classification");\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.ui.selection;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
/**\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class NameSelectionElementTest extends AbstractSelectionElementTest {\r
@Override\r
public void setup() {\r
bot.menu("General").menu("New").menu("Taxon").click();\r
bot.waitUntil(Conditions.shellIsActive("New Entity"));\r
}\r
- \r
+\r
@Test\r
public void canSelectName() {\r
utils.openFilteredSelection(3, "Choose a name");\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.ui.selection;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
/**\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class TaxonNodeSelectionElementTest extends AbstractSelectionElementTest {\r
@Override\r
public void setup() {\r
bot.menu("General").menu("New").menu("Taxon").click();\r
bot.waitUntil(Conditions.shellIsActive("New Entity"));\r
}\r
- \r
+\r
@Test\r
public void canSelectTaxon() {\r
utils.openFilteredSelection(1, "Select parent taxon");\r
utils.cancel();\r
}\r
- \r
+\r
}\r
/**\r
- * \r
+ *\r
*/\r
package eu.etaxonomy.taxeditor.ui.selection;\r
\r
import org.eclipse.swtbot.eclipse.finder.waits.Conditions;\r
+import org.junit.Ignore;\r
import org.junit.Test;\r
\r
/**\r
- * This test will only test the selection element itself. The test may have to start other \r
- * dialogs open windows before to get at the selection element. Any errors on the way \r
+ * This test will only test the selection element itself. The test may have to start other\r
+ * dialogs open windows before to get at the selection element. Any errors on the way\r
* should be handled by different tests.\r
- * \r
+ *\r
* @author n.hoffmann\r
*\r
*/\r
+@Ignore\r
public class TaxonSelectionElementTest extends AbstractSelectionElementTest {\r
@Override\r
public void setup() {\r
bot.menu("General").menu("New").menu("Taxon").click();\r
bot.waitUntil(Conditions.shellIsActive("New Entity"));\r
}\r
- \r
+\r
@Test\r
public void canSelectTaxon() {\r
utils.openFilteredSelection(2, "Choose a taxon");\r