Skip to content

Commit

Permalink
Cleanup Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Sep 27, 2024
1 parent b87b040 commit c54cf82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/java/edu/kit/kastel/ArchitectureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@
import com.tngtech.archunit.junit.ArchTest;
import com.tngtech.archunit.lang.ArchRule;

@AnalyzeClasses(packages = "edu.kit.kastel")
@AnalyzeClasses(packages = "edu.kit.kastel.sdq.intelligrade")
class ArchitectureTest {
private static final String ARTEMIS_4J_PACKAGE = "edu.kit.kastel.sdq.artemis4j..";

@ArchTest
static final ArchRule noForEachInCollectionsOrStream = noClasses()
.that()
.resideOutsideOfPackage(ARTEMIS_4J_PACKAGE)
.should()
.callMethod(Stream.class, "forEach", Consumer.class)
.orShould()
Expand Down

0 comments on commit c54cf82

Please sign in to comment.