Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 53 for assertNotEquals (0.06 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            DefaultToolchain tc1 = new DefaultJavaToolChain(tm1, null);
            DefaultToolchain tc2 = new DefaultJavaToolChain(tm2, null);
    
            assertEquals(tc1, tc1);
            assertNotEquals(tc1, tc2);
            assertNotEquals(tc2, tc1);
            assertEquals(tc2, tc2);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @Test
            @DisplayName("Should not be equal to null")
            void testNotEqualToNull() {
                assertNotEquals(data1, null);
            }
    
            @Test
            @DisplayName("Should not be equal to different type")
            void testNotEqualToDifferentType() {
                assertNotEquals(data1, "string");
            }
    
            @Test
            @DisplayName("Should not be equal with different server")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

     */
    package jcifs.smb;
    
    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.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    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.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should have distinct constant values")
            void testConstantUniqueness() {
                assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO);
                assertNotEquals(FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_FULL_SIZE_INFO);
                assertNotEquals(FileSystemInformation.FS_SIZE_INFO, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

     */
    package jcifs.smb;
    
    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.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SIDTest.java

                SID b = new SID("S-1-5-21-1-2-3-5");
    
                assertEquals(a1, a2);
                assertEquals(a1.hashCode(), a2.hashCode());
                assertNotEquals(a1, b);
                assertNotEquals(a1.hashCode(), b.hashCode());
                assertNotEquals(a1, new Object());
            }
    
            @Test
            @DisplayName("getRid throws for domain SIDs")
            void testGetRidForDomainThrows() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top