TSK-1552: Updated archunit version to 0.16.0 (#1483)

This commit is contained in:
tge20 2021-02-11 15:45:33 +01:00 committed by GitHub
parent 4697104678
commit 1a65a55948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -18,12 +18,11 @@ import pro.taskana.common.api.exceptions.SystemException;
import pro.taskana.common.api.security.UserPrincipal;
import pro.taskana.common.internal.JobServiceImpl;
import pro.taskana.common.internal.transaction.TaskanaTransactionProvider;
import pro.taskana.task.internal.TaskServiceImpl;
/** This is the runner for Tasks jobs. */
public class JobRunner {
private static final Logger LOGGER = LoggerFactory.getLogger(TaskServiceImpl.class);
private static final Logger LOGGER = LoggerFactory.getLogger(JobRunner.class);
private final TaskanaEngine taskanaEngine;
private final JobServiceImpl jobService;
private TaskanaTransactionProvider<Object> txProvider;

View File

@ -62,6 +62,8 @@ class ArchitectureTest {
ArchRule myRule =
classes()
.that()
.haveNameNotMatching(".*ScheduledJob.Type")
.and()
.resideInAPackage("..api..")
.should()
.onlyDependOnClassesThat()
@ -167,6 +169,8 @@ class ArchitectureTest {
.and()
.haveSimpleNameNotEndingWith("AbstractTaskanaJob")
.and()
.haveNameNotMatching(".*ScheduledJob.Type")
.and()
.resideInAPackage("..common..")
.and()
.resideOutsideOfPackage("..common.test..")
@ -208,6 +212,8 @@ class ArchitectureTest {
void classesShouldNotUseJunit5Assertions() {
ArchRule rule =
noClasses()
.that()
.haveSimpleNameNotEndingWith("ArchitectureTest")
.should()
.dependOnClassesThat()
.haveFullyQualifiedName(org.junit.jupiter.api.Assertions.class.getName())

View File

@ -65,7 +65,7 @@
<version.arquillian.managed.wildfly>3.0.1.Final</version.arquillian.managed.wildfly>
<!-- test dependencies -->
<version.archunit>0.15.0</version.archunit>
<version.archunit>0.16.0</version.archunit>
<version.equalsverifier>3.5.4</version.equalsverifier>
<version.openpojo>0.8.13</version.openpojo>
<version.jacoco>0.8.6</version.jacoco>