Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 400 for assertNull (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        @Test
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
        }
    
        @Test
        public void test_constructor_withUnsortedInputs() {
            // Test that inputs are sorted during construction
            String[] inputs = { "z", "a", "m" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/HandlerTest.java

    package jcifs.smb;
    
    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.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.never;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertEquals(
            "getOrDefault(absent, def) should return the default value",
            v3(),
            getMap().getOrDefault(k3(), v3()));
      }
    
      public void testGetOrDefault_absentNullDefault() {
        assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_absentNull() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

        // Test constructor and initial state
        @Test
        public void test_constructor() {
            assertNotNull(execJob);
            assertNull(execJob.jobExecutor);
            assertNull(execJob.sessionId);
            assertTrue(execJob.useLocalFesen);
            assertNull(execJob.logFilePath);
            assertNull(execJob.logLevel);
            assertEquals(StringUtil.EMPTY, execJob.logSuffix);
            assertNotNull(execJob.jvmOptions);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNotNull(nodeManager);
    
            // Verify SSL socket factory is not set
            SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
            assertNull(sslSocketFactory);
        }
    
        @Test
        public void test_init_withInvalidSSLCertificate() {
            // Create a temporary invalid certificate file
            File invalidCertFile = null;
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                assertEquals(mockConfig, mockSession.getConfig());
                assertNull(mockSession.getContext()); // Default mock behavior
                assertNull(mockSession.unwrap(SmbSession.class)); // Default mock behavior
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            assertNotNull(result);
        }
    
        @Test
        public void test_createAppender_nullName() {
            final LogNotificationAppender result = LogNotificationAppender.createAppender(null, "ERROR", null, null);
            assertNull(result);
        }
    
        @Test
        public void test_createAppender_defaultLevel() {
            final LogNotificationAppender result = LogNotificationAppender.createAppender("testAppender", null, null, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

            super.tearDown(testInfo);
        }
    
        @Test
        public void test_defaultConstructor() {
            final LlmMessage message = new LlmMessage();
            assertNull(message.getRole());
            assertNull(message.getContent());
        }
    
        @Test
        public void test_constructorWithRoleAndContent() {
            final LlmMessage message = new LlmMessage("system", "You are a helpful assistant.");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

    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.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
Back to Top