Skip to content

Commit 4f9a6fe

Browse files
committed
fix ordering
1 parent 123172c commit 4f9a6fe

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

src/main/java/it/aboutbits/archunit/toolbox/ArchitectureTestBase.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ public abstract class ArchitectureTestBase {
3030
"org.assertj.core.api.Assertions.assertThatThrownBy",
3131
"org.junit.jupiter.api.Assertions.assertThrows",
3232
"org.junit.jupiter.api.Assertions.assertDoesNotThrow",
33-
"org.junit.jupiter.api.Assertions.assertTrue",
34-
"org.junit.jupiter.api.Assertions.assertFalse",
35-
"org.junit.jupiter.api.Assertions.assertEquals",
36-
"org.junit.jupiter.api.Assertions.assertNotEquals",
37-
"org.junit.jupiter.api.Assertions.assertNull",
38-
"org.junit.jupiter.api.Assertions.assertNotNull",
39-
"org.junit.jupiter.api.Assertions.assertArrayEquals",
40-
"org.junit.jupiter.api.Assertions.assertIterableEquals",
41-
"org.junit.jupiter.api.Assertions.assertInstanceOf",
4233
// assertThat (allowed is only org.assertj.core.api.Assertions.assertThat)
4334
"org.assertj.core.api.AssertionsForClassTypes.assertThat",
4435
"org.assertj.core.api.AssertionsForClassTypes.assertThatCode",
@@ -60,6 +51,16 @@ public abstract class ArchitectureTestBase {
6051
"org.junit.Assert.assertThrows",
6152
"org.junit.Assert.assertTrue",
6253
"org.junit.Assert.fail",
54+
// use assertThat (org.assertj.core.api.Assertions.assertThat)
55+
"org.junit.jupiter.api.Assertions.assertArrayEquals",
56+
"org.junit.jupiter.api.Assertions.assertEquals",
57+
"org.junit.jupiter.api.Assertions.assertFalse",
58+
"org.junit.jupiter.api.Assertions.assertInstanceOf",
59+
"org.junit.jupiter.api.Assertions.assertIterableEquals",
60+
"org.junit.jupiter.api.Assertions.assertNotEquals",
61+
"org.junit.jupiter.api.Assertions.assertNotNull",
62+
"org.junit.jupiter.api.Assertions.assertNull",
63+
"org.junit.jupiter.api.Assertions.assertTrue",
6364
"org.testcontainers.shaded.org.hamcrest.MatcherAssert.assertThat"
6465
)
6566
);

0 commit comments

Comments
 (0)