Skip to content

Commit

Permalink
Move test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Jul 16, 2024
1 parent f69dc84 commit 5c52d95
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.test.spring.boot.db;
package org.flowable.test.persistence;

import static org.assertj.core.api.Assertions.assertThat;
import static org.flowable.test.spring.boot.db.EntityParameterTypesOverview.getColumnType;
import static org.flowable.test.spring.boot.db.EntityParameterTypesOverview.getParameterType;
import static org.flowable.test.persistence.EntityParameterTypesOverview.getColumnType;
import static org.flowable.test.persistence.EntityParameterTypesOverview.getParameterType;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
Expand All @@ -39,8 +39,8 @@
import javax.xml.transform.stream.StreamResult;

import org.apache.commons.lang3.StringUtils;
import org.flowable.test.spring.boot.db.EntityHelperUtil.EntityMappingPackageInformation;
import org.flowable.test.spring.boot.db.EntityHelperUtil.EntityPackageTestArgumentsProvider;
import org.flowable.test.persistence.EntityHelperUtil.EntityMappingPackageInformation;
import org.flowable.test.persistence.EntityHelperUtil.EntityPackageTestArgumentsProvider;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ArgumentsSource;
import org.w3c.dom.Document;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.test.spring.boot.db;
package org.flowable.test.persistence;

import static org.junit.jupiter.api.Assertions.assertFalse;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.test.spring.boot.db;
package org.flowable.test.persistence;

import java.util.HashMap;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.test.spring.boot.db;
package org.flowable.test.persistence;

import static org.assertj.core.api.Assertions.assertThat;

Expand All @@ -27,20 +27,19 @@
import org.flowable.common.engine.impl.AbstractEngineConfiguration;
import org.flowable.common.engine.impl.db.DbSqlSession;
import org.flowable.engine.ProcessEngine;
import org.flowable.rest.app.FlowableRestApplication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ArgumentsSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import flowable.Application;

/**
* This test was introduced after the major refactoring of the varchar / nvarchar mappings of colum types in the MyBatis files.
* The @{@link EngineMappingsValidationTest} tests the mapping xml's itself, this test compares the expected column types with the real JDBC metadata.
* Since it runs on the QA env, it will be validated for each database.
*/
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(classes = FlowableRestApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class TableColumnTypeValidationTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.cmmn.test.db;
package org.flowable.cmmn.test.persistence;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down

0 comments on commit 5c52d95

Please sign in to comment.