Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ullrich Hafner <ullrich.hafner@gmail.com>
  • Loading branch information
rsandell and uhafner authored Dec 14, 2022
1 parent 0825351 commit 52738ee
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.tngtech.archunit.junit.ArchTest;
import com.tngtech.archunit.lang.ArchRule;

import com.tngtech.archunit.lang.syntax.ArchRuleDefinition;
import edu.hm.hafner.util.ArchitectureRules;

import io.jenkins.plugins.util.PluginArchitectureRules;
Expand Down Expand Up @@ -36,7 +35,7 @@ class PluginArchitectureTest {
static final ArchRule NO_FORBIDDEN_CLASSES_CALLED = ArchitectureRules.NO_FORBIDDEN_CLASSES_CALLED;

@ArchTest
static final ArchRule NO_PUBLIC_ARCHITECTURE_TESTS = ArchRuleDefinition.fields().that().areAnnotatedWith(ArchTest.class).should().notBePublic();
ONLY_PACKAGE_PRIVATE_ARCHITECTURE_TESTS = ArchitectureRules.ONLY_PACKAGE_PRIVATE_ARCHITECTURE_TESTS

@ArchTest
static final ArchRule NO_JENKINS_INSTANCE_CALL = PluginArchitectureRules.NO_JENKINS_INSTANCE_CALL;
Expand Down

0 comments on commit 52738ee

Please sign in to comment.