Skip to content

Commit

Permalink
chore(integration-test): ensure test execution in build
Browse files Browse the repository at this point in the history
- fixes test case source names to ensure inclusion by surefire

related to CAM-4817
  • Loading branch information
ThorbenLindhauer committed Nov 17, 2015
1 parent 942535d commit 1142b9f
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 15 deletions.
Expand Up @@ -65,7 +65,7 @@
* @author Daniel Meyer
*
*/
public class CompetingVariableFetchingAndDeletion extends ConcurrencyTestCase {
public class CompetingVariableFetchingAndDeletionTest extends ConcurrencyTestCase {

private ThreadControl asyncThread;

Expand Down
14 changes: 7 additions & 7 deletions qa/integration-tests-engine/pom.xml
Expand Up @@ -244,16 +244,16 @@
<excludes>
<!-- HEMERA-2453 -->
<exclude>**/JobExecutorRequestContextLocalInvocationTest.java</exclude>
<exclude>**_OTHERS.java</exclude>
<exclude>**/*_OTHERS.java</exclude>
<exclude>**/SpringPAExpressionResolvingTest.java</exclude>
<exclude>**/SpringServletPALifecycleTest.java</exclude>
<exclude>**/ManagedDomainTestCase_JBOSS.java</exclude>
<exclude>**/TestManagedDomain_JBOSS.java</exclude>
<!-- CAM-1778 -->
<exclude>**/TestWarDeploymentWithProcessEnginePlugin.java</exclude>
<exclude>**/TestWarDeploymentWithProcessEnginePlugin.exclude</exclude>
<exclude>**/JavascriptScriptEngineSupportTest.java</exclude>
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -325,7 +325,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/ManagedDomainTestCase_JBOSS.java</include>
<include>**/TestManagedDomain_JBOSS.java</include>
</includes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
Expand Down Expand Up @@ -467,10 +467,10 @@
<excludes>
<!-- HEMERA-2453 -->
<exclude>**/JobExecutorRequestContextLocalInvocationTest.java</exclude>
<exclude>**_OTHERS.java</exclude>
<exclude>**/*_OTHERS.java</exclude>
<exclude>**/SpringPAExpressionResolvingTest.java</exclude>
<exclude>**/SpringServletPALifecycleTest.java</exclude>
<exclude>**/ManagedDomainTestCase_JBOSS.java</exclude>
<exclude>**/TestManagedDomain_JBOSS.java</exclude>
<!-- CAM-1778 -->
<exclude>**/TestWarDeploymentWithProcessEnginePlugin.java</exclude>
<exclude>**/TestWarDeploymentWithProcessEnginePlugin.exclude</exclude>
Expand Down Expand Up @@ -566,7 +566,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/ManagedDomainTestCase_JBOSS.java</include>
<include>**/TestManagedDomain_JBOSS.java</include>
</includes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
Expand Down
Expand Up @@ -29,7 +29,7 @@
*
*/
@RunWith(Arquillian.class)
public class PostDeployFailureTest_JBOSS {
public class TestPostDeployFailure_JBOSS {

private static final String DEPLOYMENT = "DEPLOYMENT";

Expand Down
Expand Up @@ -27,11 +27,11 @@
*
*/
@RunWith(Arquillian.class)
public class PostDeployFailureTest_OTHERS extends AbstractFoxPlatformIntegrationTest {
public class TestPostDeployFailure_OTHERS extends AbstractFoxPlatformIntegrationTest {

@Deployment(name="fail")
public static WebArchive createDeployment1() {
return PostDeployFailureTest_JBOSS.createDeployment1();
return TestPostDeployFailure_JBOSS.createDeployment1();
}

@Deployment(name="checker")
Expand Down
Expand Up @@ -41,7 +41,7 @@
* @author Daniel Meyer
*/
@RunWith(Arquillian.class)
public class JavaDelegateResolution_ClientAsLibInWebModule extends AbstractFoxPlatformIntegrationTest {
public class TestJavaDelegateResolution_ClientAsLibInWebModule extends AbstractFoxPlatformIntegrationTest {

@Deployment
public static EnterpriseArchive createProcessArchiveDeplyoment() {
Expand Down
Expand Up @@ -30,7 +30,7 @@
*
*/
@RunWith(Arquillian.class)
public class JobExecutorActivateFalseTest_JBOSS extends AbstractFoxPlatformIntegrationTest {
public class TestJobExecutorActivateFalse_JBOSS extends AbstractFoxPlatformIntegrationTest {

@Deployment(name="deployment1")
public static WebArchive processArchive() {
Expand Down
Expand Up @@ -32,7 +32,7 @@
*
*/
@RunWith(Arquillian.class)
public class ManagedDomainTestCase_JBOSS {
public class TestManagedDomain_JBOSS {

@Deployment @TargetsContainer("test-domain")
public static WebArchive create1() {
Expand Down
Expand Up @@ -30,7 +30,7 @@
*
*/
@RunWith(Arquillian.class)
public class ProcessEngineJndiBindingTest_JBOSS extends AbstractFoxPlatformIntegrationTest {
public class TestProcessEngineJndiBinding_JBOSS extends AbstractFoxPlatformIntegrationTest {

@Deployment
public static WebArchive app1() {
Expand Down
Expand Up @@ -328,6 +328,12 @@
<property name="maxJobsPerAcquisition">3</property>
</properties>
</job-acquisition>
<job-acquisition name="second">
<acquisition-strategy>SEQUENTIAL</acquisition-strategy>
</job-acquisition>
<job-acquisition name="third">
<acquisition-strategy>SEQUENTIAL</acquisition-strategy>
</job-acquisition>
</job-acquisitions>
</job-executor>
</subsystem>
Expand Down

0 comments on commit 1142b9f

Please sign in to comment.