Skip to content

Commit df332f2

Browse files
committed
make jenkins happy
1 parent 832c4e5 commit df332f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/org/htmlunit/archunit/ArchitectureTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,10 @@ public void check(final JavaMethod method, final ConditionEvents events) {
662662
public static final ArchRule forbidObjectsRequireNonNull = noClasses()
663663
.that()
664664
.resideOutsideOfPackage("org.htmlunit.corejs..")
665+
666+
.and().doNotHaveFullyQualifiedName("org.htmlunit.html.DomNode") // strange but reports method fireAddition() on jenkins
667+
.and().doNotHaveFullyQualifiedName("org.htmlunit.html.HtmlPage") // strange but reports method notifyNodeAdded() on jenkins
668+
665669
.and().resideOutsideOfPackage("org.htmlunit.jetty..")
666670

667671
.should().callMethod(Objects.class, "requireNonNull", Object.class); // Objects.requireNonNull(Object) is forbidden, always add a message

0 commit comments

Comments
 (0)