- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for assertNotEquals (0.06 sec)
-
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
HandleGuid guid3 = new HandleGuid(); assertEquals(guid1, guid2); assertEquals(guid1.hashCode(), guid2.hashCode()); assertNotEquals(guid1, guid3); assertNotEquals(guid1.hashCode(), guid3.hashCode()); assertNotEquals(guid1, null); assertNotEquals(guid1, "not a guid"); } @Test public void testHandleGuidToString() { UUID uuid = UUID.randomUUID();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2); Smb2LeaseKey key3 = new Smb2LeaseKey(testBytes3); assertEquals(key1, key2); assertNotEquals(key1, key3); assertNotEquals(key1, null); assertNotEquals(key1, "not a lease key"); assertEquals(key1, key1); // reflexive } @Test @DisplayName("Should implement hashCode correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
package jcifs.https; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URLStreamHandler;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
JavaPathType.Modular bar = JavaPathType.patchModule("bar"); assertEquals(foo1, foo2); assertEquals(foo1.hashCode(), foo2.hashCode()); assertNotEquals(foo1, bar); assertNotEquals(foo1.hashCode(), bar.hashCode()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 13 14:20:26 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
package jcifs.util; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.security.MessageDigest;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
MIEName b = new MIEName(new ASN1ObjectIdentifier("1.2.4"), "X"); MIEName c = new MIEName(new ASN1ObjectIdentifier("1.2.3"), null); assertNotEquals(a, b); assertNotEquals(a, c); assertNotEquals(a, new Object()); } } @Test @DisplayName("Mockito presence: no collaborator interactions to verify") void noDependenciesToMock() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
NtlmPasswordAuthentication auth4 = new NtlmPasswordAuthentication("DIFFERENT_DOMAIN", "user", "password"); assertEquals(auth1, auth2); assertNotEquals(auth1, auth3); assertNotEquals(auth1, auth4); assertNotEquals(auth1, new Object()); } // Test hashCode method @Test void testHashCode() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.Session; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; class RequestImplementationTest { @Test void testArtifactResolverRequestEquality() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
ServerMessageBlock smb3 = new TestServerMessageBlock(); smb3.mid = 200; assertEquals(smb1, smb2); assertNotEquals(smb1, smb3); assertEquals(smb1.hashCode(), smb2.hashCode()); assertNotEquals(smb1.hashCode(), smb3.hashCode()); assertNotEquals(smb1, new Object()); } @Test void testToString() { smb.command = ServerMessageBlock.SMB_COM_ECHO;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Test non-equal trees (different share) assertNotEquals(tree1, tree3); // Test non-equal trees (different service) assertNotEquals(tree1, tree4); // Test with different object type assertNotEquals(tree1, new Object()); // Test with null assertNotEquals(tree1, null); } @Test void testToString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)