Skip to content

Commit

Permalink
adding archunit test for threadgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
larrydiamond committed Sep 29, 2023
1 parent d71d013 commit a4f6b39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/ldiamond/sqgraph/ArchitectureUnitTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public class ArchitectureUnitTests {
@ArchTest
static final ArchRule no_treeset = noClasses().should().callConstructor(java.util.TreeSet.class).because("Use ConcurrentSkipListSet");

@ArchTest
static final ArchRule no_threadgroup = noClasses().should().callConstructor(java.lang.ThreadGroup.class).because("Use ExecutorService");

@ArchTest
static final ArchRule no_treemap = noClasses().should().callConstructor(java.util.TreeMap.class).because("Use ConcurrentSkipListMap");

Expand Down

0 comments on commit a4f6b39

Please sign in to comment.