Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 667 for assertNotNull (0.05 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class MonotonicClockTest {
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SpnegoContextTest.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.assertNotNull;
    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
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    package jcifs.internal.smb2.session;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            try {
                customEnv.getTimeAdjustTimeMillisAsLong();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
        public void xtest_getTimeAdjustTimeMillisAsLong_variousValues() {
            // Test negative value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    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.assertTrue;
    
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Modifier;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            assertEquals(5, SambaHelper.SID_TYPE_WKN_GRP);
        }
    
        public void test_init() {
            ComponentUtil.setFessConfig(new MockFessConfig());
            sambaHelper.init();
            assertNotNull(sambaHelper.fessConfig);
        }
    
        public void test_getAccountId_differentSidTypes() throws SmbException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

    package jcifs.dcerpc.msrpc;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.never;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    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 static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

        // Test buffer allocation
        RdmaMemoryRegion region = manager.getSendRegion(1024);
        assertNotNull(region);
        assertTrue(region.getSize() >= 1024);
        
        // Test buffer release
        manager.releaseSendRegion(region);
        
        // Test reuse
        RdmaMemoryRegion region2 = manager.getSendRegion(1024);
        assertNotNull(region2);
        
        manager.cleanup();
    }
    ```
    
    ### 7.2 Integration Tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

            NbtAddress unwrapped = nbtAddress.unwrap(NbtAddress.class);
            assertNotNull(unwrapped);
            assertSame(nbtAddress, unwrapped);
    
            // Test unwrap for incompatible type - NbtAddress implements NetbiosAddress so it should return itself
            NetbiosAddress netbiosUnwrapped = nbtAddress.unwrap(NetbiosAddress.class);
            assertNotNull(netbiosUnwrapped);
            assertSame(nbtAddress, netbiosUnwrapped);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top