Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 667 for assertNotNull (0.06 sec)

  1. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream.setInstance(stream2);
            LogStream instance2 = LogStream.getInstance();
    
            // Each setInstance should create a new LogStream
            assertNotNull(instance1);
            assertNotNull(instance2);
            // The second setInstance replaces the first, so they should not be the same
            assertNotSame(instance1, instance2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.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.assertSame;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = booleanQueryCommand.execute(context, booleanQuery, 1.0f);
    
            assertNotNull(result);
            assertTrue(result instanceof BoolQueryBuilder);
    
            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
            assertTrue(boolResult.hasClauses());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertNotNull(digest);
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key only (Kerberos mode)")
        void testConstructorKerberosMode() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            assertNotNull(digest);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNotNull(request);
            // The request should be properly created - we can't easily verify headers without mocking framework
        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    assertNotNull(result);
                } catch (Exception e) {
                    // Expected behavior when components are not fully initialized
                    Throwable cause = e.getCause();
                    assertNotNull(cause);
                }
            } catch (Exception e) {
                // Test setup exception is acceptable
                assertNotNull(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
            assertNotNull(provider, "Should always select an RDMA provider (at minimum TCP fallback)");
            assertNotNull(provider.getProviderName(), "Provider name should not be null");
            assertNotNull(provider.getSupportedCapabilities(), "Supported capabilities should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            assertNotNull(fessConfig.getIndexFieldBoost());
            assertNotNull(fessConfig.getIndexFieldTitle());
            assertNotNull(fessConfig.getIndexFieldContent());
            assertNotNull(fessConfig.getIndexFieldCache());
            assertNotNull(fessConfig.getIndexFieldDigest());
            assertNotNull(fessConfig.getIndexFieldHost());
            assertNotNull(fessConfig.getIndexFieldSite());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

                    originalException = e;
                    throw e;
                }
            } catch (DictionaryExpiredException e) {
                rethrownException = e;
            }
    
            assertNotNull(originalException);
            assertNotNull(rethrownException);
            assertSame(originalException, rethrownException);
        }
    
        public void test_equals() {
            // Test that different instances are not equal
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top