- Sort Score
- Result 10 results
- Languages All
Results 31 - 38 of 38 for testEqualsNullSafe (0.09 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
/** * Tests {@code RepositoryPolicy}. * */ class RepositoryPolicyTest { @Test void testHashCodeNullSafe() { new RepositoryPolicy().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new RepositoryPolicy().equals(null)); new RepositoryPolicy().equals(new RepositoryPolicy()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
/** * Tests {@code Resource}. * */ class ResourceTest { @Test void testHashCodeNullSafe() { new Resource().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Resource().equals(null)); new Resource().equals(new Resource()); } @Test void testEqualsIdentity() { Resource thing = new Resource();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
/** * Tests {@code Build}. * */ class BuildTest { @Test void testHashCodeNullSafe() { new Build().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Build().equals(null)); new Build().equals(new Build()); } @Test void testEqualsIdentity() { Build thing = new Build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
/** * Tests {@code Scm}. * */ class ScmTest { @Test void testHashCodeNullSafe() { new Scm().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Scm().equals(null)); new Scm().equals(new Scm()); } @Test void testEqualsIdentity() { Scm thing = new Scm();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
assertNotNull(build2); assertEquals("myOutputDirectory", build2.getOutputDirectory()); model.setBuild(null); assertNull(model.getBuild()); } @Test void testEqualsNullSafe() { assertNotEquals(null, new Model()); new Model().equals(new Model()); } @Test void testEqualsIdentity() { Model thing = new Model();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
* Tests {@code DependencyManagement}. * */ class DependencyManagementTest { @Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
/** * Tests {@code Organization}. * */ class OrganizationTest { @Test void testHashCodeNullSafe() { new Organization().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
ArtifactVersion v2 = newArtifactVersion("1.0"); assertTrue(v1.equals(v2)); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() { assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0)