From af22f44488ca057b5e644afd3bdf93eece0c9621 Mon Sep 17 00:00:00 2001 From: "n.hoffmann" Date: Mon, 10 Oct 2011 13:13:07 +0000 Subject: [PATCH] Working on tests --- .gitattributes | 1 + .gitignore | 1 + eu.etaxonomy.taxeditor.test/.classpath | 3 +- .../META-INF/MANIFEST.MF | 2 +- eu.etaxonomy.taxeditor.test/build.properties | 3 +- eu.etaxonomy.taxeditor.test/pom.xml | 66 +++++++++++++++++++ 6 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 eu.etaxonomy.taxeditor.test/pom.xml diff --git a/.gitattributes b/.gitattributes index cc8c8fd5f..7e17bb120 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1322,6 +1322,7 @@ eu.etaxonomy.taxeditor.test/.settings/org.eclipse.jdt.core.prefs -text eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF -text eu.etaxonomy.taxeditor.test/build.properties -text eu.etaxonomy.taxeditor.test/ide/eclipse/EDITor[!!-~]Tests.launch -text +eu.etaxonomy.taxeditor.test/pom.xml -text eu.etaxonomy.taxeditor.test/src/main/resources/log4j.xml -text eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/application/menu/general/NewMenuTest.java -text eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/navigation/navigator/contextmenu/ClassificationTest.java -text diff --git a/.gitignore b/.gitignore index 4042679d7..a6d296165 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ eu.etaxonomy.taxeditor.store/.settings eu.etaxonomy.taxeditor.store/hibernate.log eu.etaxonomy.taxeditor.store/target eu.etaxonomy.taxeditor.test/screenshots/*.jpeg +eu.etaxonomy.taxeditor.test/target eu.etaxonomy.taxeditor/.settings eu.etaxonomy.taxeditor/target /runtime-taxeditor.product diff --git a/eu.etaxonomy.taxeditor.test/.classpath b/eu.etaxonomy.taxeditor.test/.classpath index c5d344b0e..c45eced95 100644 --- a/eu.etaxonomy.taxeditor.test/.classpath +++ b/eu.etaxonomy.taxeditor.test/.classpath @@ -4,6 +4,5 @@ - - + diff --git a/eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF b/eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF index 998796316..37c5526ed 100644 --- a/eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF +++ b/eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: eu.etaxonomy.taxeditor.test Bundle-SymbolicName: eu.etaxonomy.taxeditor.test;singleton:=true -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 3.0.6.qualifier Bundle-ActivationPolicy: lazy Bundle-Vendor: EDIT Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/eu.etaxonomy.taxeditor.test/build.properties b/eu.etaxonomy.taxeditor.test/build.properties index dbd5f74b8..137d6a59c 100644 --- a/eu.etaxonomy.taxeditor.test/build.properties +++ b/eu.etaxonomy.taxeditor.test/build.properties @@ -1,4 +1,3 @@ -source.. = src_/ -output.. = bin/ +source.. = src/test/java/ bin.includes = META-INF/,\ . diff --git a/eu.etaxonomy.taxeditor.test/pom.xml b/eu.etaxonomy.taxeditor.test/pom.xml new file mode 100644 index 000000000..8d5d8146b --- /dev/null +++ b/eu.etaxonomy.taxeditor.test/pom.xml @@ -0,0 +1,66 @@ + + + + + eu.etaxonomy + taxeditor-parent + 3.0.6-SNAPSHOT + + + 4.0.0 + eu.etaxonomy.taxeditor.test + eclipse-test-plugin + + UI Test Bundle + Holds all UI tests for the Taxonomic Editor + + + + + + + + + + + + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho.version} + true + + + org.eclipse.tycho + target-platform-configuration + ${tycho.version} + + p2 + + + + org.eclipse.tycho + maven-osgi-test-plugin + ${tycho.version} + + true + false + eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product + + + + p2-installable-unit + eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product + 0.0.0 + + + + + + + \ No newline at end of file -- 2.34.1