From ac9a0d2718d1be543e999056d00b000b08b06ec6 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Thu, 3 Dec 2020 15:38:44 +0100 Subject: [PATCH] Remove ignored test suites Signed-off-by: Mahmoud Ben Hassine --- .../batch/core/test/IgnoredTestSuite.java | 38 ------------------- .../batch/core/IgnoredTestSuite.java | 38 ------------------- .../batch/integration/IgnoredTestSuite.java | 38 ------------------- .../batch/sample/TestSuite.java | 33 ---------------- 4 files changed, 147 deletions(-) delete mode 100644 spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/IgnoredTestSuite.java delete mode 100644 spring-batch-core/src/test/java/org/springframework/batch/core/IgnoredTestSuite.java delete mode 100644 spring-batch-integration/src/test/java/org/springframework/batch/integration/IgnoredTestSuite.java delete mode 100644 spring-batch-samples/src/test/java/org/springframework/batch/sample/TestSuite.java diff --git a/spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/IgnoredTestSuite.java b/spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/IgnoredTestSuite.java deleted file mode 100644 index 48730ec65..000000000 --- a/spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/IgnoredTestSuite.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2010 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.springframework.batch.core.test; - -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.springframework.batch.core.test.step.FaultTolerantStepFactoryBeanIntegrationTests; -import org.springframework.batch.core.test.step.FaultTolerantStepFactoryBeanRollbackIntegrationTests; - -/** - * A test suite that is ignored, but can be resurrected to help debug ordering - * issues in tests. - * - * @author Dave Syer - * - */ -@RunWith(Suite.class) -@SuiteClasses(value = { FaultTolerantStepFactoryBeanIntegrationTests.class, FaultTolerantStepFactoryBeanRollbackIntegrationTests.class }) -@Ignore -public class IgnoredTestSuite { - -} diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/IgnoredTestSuite.java b/spring-batch-core/src/test/java/org/springframework/batch/core/IgnoredTestSuite.java deleted file mode 100644 index 96251fef3..000000000 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/IgnoredTestSuite.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2009-2010 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.springframework.batch.core; - -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.springframework.batch.core.repository.dao.JdbcJobInstanceDaoTests; -import org.springframework.batch.core.step.tasklet.AsyncChunkOrientedStepIntegrationTests; - -/** - * A test suite that is ignored, but can be resurrected to help debug ordering - * issues in tests. - * - * @author Dave Syer - * - */ -@RunWith(Suite.class) -@SuiteClasses(value = { AsyncChunkOrientedStepIntegrationTests.class, JdbcJobInstanceDaoTests.class }) -@Ignore -public class IgnoredTestSuite { - -} diff --git a/spring-batch-integration/src/test/java/org/springframework/batch/integration/IgnoredTestSuite.java b/spring-batch-integration/src/test/java/org/springframework/batch/integration/IgnoredTestSuite.java deleted file mode 100644 index 1b893146d..000000000 --- a/spring-batch-integration/src/test/java/org/springframework/batch/integration/IgnoredTestSuite.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.springframework.batch.integration; - -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.springframework.batch.integration.chunk.RemoteChunkFaultTolerantStepJmsIntegrationTests; -import org.springframework.batch.integration.partition.JmsIntegrationTests; - -/* - * Copyright 2009-2010 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * A test suite that is ignored, but can be resurrected to help debug ordering issues in tests. - * - * @author Dave Syer - * - */ -@RunWith(Suite.class) -@SuiteClasses(value = { JmsIntegrationTests.class, - RemoteChunkFaultTolerantStepJmsIntegrationTests.class }) -@Ignore -public class IgnoredTestSuite { - -} diff --git a/spring-batch-samples/src/test/java/org/springframework/batch/sample/TestSuite.java b/spring-batch-samples/src/test/java/org/springframework/batch/sample/TestSuite.java deleted file mode 100644 index a89a1b6d3..000000000 --- a/spring-batch-samples/src/test/java/org/springframework/batch/sample/TestSuite.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2006-2009 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.springframework.batch.sample; - -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; - -/** - * Temporary test suite to find bug in build. - * - */ -@Ignore -@RunWith(Suite.class) -@SuiteClasses({SkipSampleFunctionalTests.class, CustomerFilterJobFunctionalTests.class}) -public class TestSuite { - -}