Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for assertNotEquals (0.11 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/WinErrorTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    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 static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.anyString;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

    package jcifs.smb;
    
    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.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top