Author: akazakov
Date: 2012-05-10 20:52:37 -0400 (Thu, 10 May 2012)
New Revision: 40941
Modified:
trunk/seam/tests/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeam2FacetInstallDelegateTest.java
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java
Log:
https://issues.jboss.org/browse/JBIDE-11490 tests for Seam 2.3
Modified:
trunk/seam/tests/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeam2FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeam2FacetInstallDelegateTest.java 2012-05-11
00:50:41 UTC (rev 40940)
+++
trunk/seam/tests/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeam2FacetInstallDelegateTest.java 2012-05-11
00:52:37 UTC (rev 40941)
@@ -262,7 +262,7 @@
return true;
}
- protected boolean checkTestProject() {
+ protected boolean shouldCheckTestProject() {
return true;
}
@@ -295,7 +295,7 @@
SeamProjectsSet seamProjectsSet = new SeamProjectsSet(war);
assertTrue(seamProjectsSet.getWarProject().exists());
- assertTrue(!checkTestProject() || seamProjectsSet.getTestProject().exists());
+ assertTrue(!shouldCheckTestProject() || seamProjectsSet.getTestProject().exists());
assertTrue(seamProjectsSet.getEjbProject().exists());
assertTrue(seamProjectsSet.getEarProject().exists());
@@ -355,7 +355,7 @@
assertOnlyContainsTheseFiles(onlyInWar, warLibs);
- if(checkTestProject()) {
+ if(shouldCheckTestProject()) {
assertOnlyContainsTheseFiles(onlyInTest, testLibs);
}
}else{
@@ -369,7 +369,7 @@
assertContainsNoneOfTheseFiles(onlyInWar, warLibs);
- if(checkTestProject()) {
+ if(shouldCheckTestProject()) {
assertContainsNoneOfTheseFiles(onlyInTest, testLibs);
}
}
Modified:
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java 2012-05-11
00:50:41 UTC (rev 40940)
+++
trunk/seam/tests/org.jboss.tools.seam230.core.test/src/org/jboss/tools/seam/core/test/project/facet/Seam230FacetInstallDelegateTest.java 2012-05-11
00:52:37 UTC (rev 40941)
@@ -75,6 +75,11 @@
}
@Override
+ protected boolean shouldCheckTestProject() {
+ return true;
+ }
+
+ @Override
protected IDataModel createSeamDataModel(String deployType) {
IDataModel dataModel = super.createSeamDataModel(deployType);
dataModel.setStringProperty(