Author: akazakov
Date: 2010-10-19 18:24:31 -0400 (Tue, 19 Oct 2010)
New Revision: 25924
Added:
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam221CR2FacetInstallDelegateTest.java
Modified:
trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/META-INF/MANIFEST.MF
trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam220CR1FacetInstallDelegateTest.java
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/META-INF/MANIFEST.MF
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite221CR2.java
Log:
https://jira.jboss.org/browse/JBIDE-7358 Fixed Seam tests
Modified: trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/META-INF/MANIFEST.MF 2010-10-19
20:55:00 UTC (rev 25923)
+++ trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/META-INF/MANIFEST.MF 2010-10-19
22:24:31 UTC (rev 25924)
@@ -12,6 +12,7 @@
org.eclipse.wst.validation,
org.eclipse.wst.common.project.facet.core,
org.eclipse.core.runtime,
- org.eclipse.wst.common.frameworks
+ org.eclipse.wst.common.frameworks,
+ org.jboss.tools.seam211GA.core.test
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified:
trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam220CR1FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam220CR1FacetInstallDelegateTest.java 2010-10-19
20:55:00 UTC (rev 25923)
+++
trunk/seam/tests/org.jboss.tools.seam220CR1.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam220CR1FacetInstallDelegateTest.java 2010-10-19
22:24:31 UTC (rev 25924)
@@ -16,7 +16,7 @@
/**
* @author Alexey Kazakov
*/
-public class Seam220CR1FacetInstallDelegateTest extends Seam2FacetInstallDelegateTest {
+public class Seam220CR1FacetInstallDelegateTest extends Seam211GAFacetInstallDelegateTest
{
public Seam220CR1FacetInstallDelegateTest(String name) {
super(name);
Modified: trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/META-INF/MANIFEST.MF 2010-10-19
20:55:00 UTC (rev 25923)
+++ trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/META-INF/MANIFEST.MF 2010-10-19
22:24:31 UTC (rev 25924)
@@ -10,6 +10,9 @@
org.jboss.tools.tests,
org.jboss.tools.seam.core.test,
org.eclipse.wst.validation,
+ org.eclipse.wst.common.project.facet.core,
+ org.eclipse.core.runtime,
+ org.eclipse.wst.common.frameworks,
org.jboss.tools.seam220CR1.core.test
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified:
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite221CR2.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite221CR2.java 2010-10-19
20:55:00 UTC (rev 25923)
+++
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam20XFacetTestSuite221CR2.java 2010-10-19
22:24:31 UTC (rev 25924)
@@ -10,10 +10,18 @@
******************************************************************************/
package org.jboss.tools.seam.core.test.project.facet;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
/**
* @author eskimo
*
*/
-public class Seam20XFacetTestSuite221CR2 extends Seam20XFacetTestSuite220CR1 {
+public class Seam20XFacetTestSuite221CR2 extends Seam20XFacetTestSuite201GA {
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Seam 2.2.1.CR2 tests");
+ suite.addTest(new Seam2FacetInstallDelegateTestSetup(new
TestSuite(Seam221CR2FacetInstallDelegateTest.class)));
+ return suite;
+ }
}
\ No newline at end of file
Added:
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam221CR2FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam221CR2FacetInstallDelegateTest.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam221CR2FacetInstallDelegateTest.java 2010-10-19
22:24:31 UTC (rev 25924)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.core.test.project.facet;
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class Seam221CR2FacetInstallDelegateTest extends
Seam220CR1FacetInstallDelegateTest {
+
+ public Seam221CR2FacetInstallDelegateTest(String name) {
+ super(name);
+ }
+
+ @Override
+ protected Set<String> getTestLibs() {
+ Set<String> libs = new HashSet<String>();
+
+ libs.add("testng-jdk15.jar");
+ libs.add("hibernate-all.jar");
+ libs.add("jboss-embedded-all.jar");
+ libs.add("thirdparty-all.jar");
+ libs.add("jboss-embedded-api.jar");
+ libs.add("core.jar");
+
+ return libs;
+ }
+}
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam221CR2.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam221CR2FacetInstallDelegateTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain