Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 667 for assertNotNull (0.06 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Add some trees
            SmbTreeImpl tree1 = session.getSmbTree("share1", null);
            SmbTreeImpl tree2 = session.getSmbTree("share2", null);
            assertNotNull(tree1);
            assertNotNull(tree2);
    
            // When - Release session to trigger cleanup
            session.release();
    
            // Then - Trees should be cleared (we can't directly verify as it's internal,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestTest.java

            // Test initResponse
            CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context);
            assertNotNull(testResponse);
            assertTrue(testResponse instanceof TestResponse);
    
            // Test getResponse
            assertNotNull(testRequest.getResponse());
            assertEquals(testResponse, testRequest.getResponse());
    
            // Test ignoreDisconnect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Test that mapping option is never null
            JsonMappingOption option1 = provider.provideMappingOption();
            JsonMappingOption option2 = provider.provideMappingOption();
    
            assertNotNull(option1);
            assertNotNull(option2);
    
            // Each call should return a new instance
            assertNotSame(option1, option2);
        }
    
        public void test_provideMappingOption_consistency() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            assertNotNull(region);
    
            // Release should not throw exception
            assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region));
        }
    
        @Test
        public void testGetReceiveRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getReceiveRegion();
            assertNotNull(region, "Receive region should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NetbiosNameTest.java

        void testNetbiosNameInterface() {
            // Verify interface methods exist
            try {
                assertNotNull(NetbiosName.class.getMethod("getName"));
                assertNotNull(NetbiosName.class.getMethod("getScope"));
                assertNotNull(NetbiosName.class.getMethod("getNameType"));
            } catch (NoSuchMethodException e) {
                fail("Method not found: " + e.getMessage());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeTest.java

            ExtendedSmbTree middle = smbTree.unwrap(ExtendedSmbTree.class);
            CustomSmbTree inner = middle.unwrap(CustomSmbTree.class);
    
            assertNotNull(middle, "Middle tree should not be null");
            assertNotNull(inner, "Inner tree should not be null");
            assertSame(middleTree, middle, "Should return correct middle tree");
            assertSame(innerTree, inner, "Should return correct inner tree");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.InjectMocks;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams = new DataStoreParams();
        }
    
        // Test default constructor
        public void test_defaultConstructor() {
            DataStoreParams params = new DataStoreParams();
            assertNotNull(params);
            assertNotNull(params.params);
        }
    
        // Test put and get operations
        public void test_putAndGet() {
            dataStoreParams.put("key1", "value1");
            assertEquals("value1", dataStoreParams.get("key1"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

                protected SsoAuthenticator getAuthenticator() {
                    return testAuthenticator;
                }
            };
    
            LoginCredential credential = ssoManager.getLoginCredential();
            assertNotNull(credential);
            assertEquals("testuser", ((TestLoginCredential) credential).username);
        }
    
        // Test getResponse() method
        public void test_getResponse_whenNotAvailable() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    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.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top