- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 45 for assertNotEquals (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (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()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (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() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
package jcifs.smb1.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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
SID sid2 = new SID(adminSidBytes, 0); SID sid3 = new SID("S-1-1-0"); // Everyone assertEquals(sid1, sid1); assertEquals(sid1, sid2); assertNotEquals(sid1, sid3); assertNotEquals(sid1, null); assertNotEquals(sid1, new Object()); } /** * Test the hashCode method. * * @throws SmbException if the SID string is invalid */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
HandleInfo info2 = manager.getHandleByGuid(guid2); assertNotNull(info1); assertNotNull(info2); assertNotEquals(info1.getPath(), info2.getPath()); assertNotEquals(info1.getType(), info2.getType()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0)