Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/maven/org.junit-junit-bom-5.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup authored Feb 6, 2024
2 parents cdadbf5 + 3d35aeb commit 4c080d7
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean equals(Object o) {
@Override
public String toString() {
if (this.id != null) {
return this.id.toString();
return this.id;
}
return this.anchor.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressWarnings("PMD.TooManyMethods")
@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class AccessTokenTest {

private static final ZoneId ZONE_ID = ZoneId.of( "Europe/Berlin" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@

import org.junit.jupiter.api.Test;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class IdentifierTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class RoleTest {

private static final String TEST_ROLE_NAME = "ADMINISTRATOR";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,19 @@
import com.sitepark.ies.userrepository.core.domain.entity.role.Ref;
import com.sitepark.ies.userrepository.core.domain.entity.role.UserLevelRoles;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressWarnings({
"PMD.AvoidDuplicateLiterals",
"PMD.TooManyMethods",
"PMD.GodClass"
})
@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL",
"NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS"
})
class UserTest {

private static Identity TEST_IDENTITY = LdapIdentity.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressWarnings({
"PMD.JUnitTestContainsTooManyAsserts",
"PMD.AvoidDuplicateLiterals",
"PMD.TooManyMethods"
})
@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class UserValidityTest {

private static final ZoneId ZONE_ID = ZoneId.of( "Europe/Berlin" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressWarnings("PMD.TooManyMethods")
@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class LdapIdentityTest {

private static final String USER_DN = "userdn";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@

import com.sitepark.ies.userrepository.core.domain.entity.Anchor;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import nl.jqno.equalsverifier.EqualsVerifier;

@SuppressFBWarnings({
"PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES",
"NP_NULL_PARAM_DEREF_NONVIRTUAL"
})
class RefTest {

@Test
Expand Down

0 comments on commit 4c080d7

Please sign in to comment.