Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 667 for assertNotNull (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            helper.duplicateHostList = null;
    
            String url = "http://test.com";
            String result = helper.convert(url);
    
            assertNotNull(result);
            assertNotNull(helper.duplicateHostList);
        }
    
        public void test_convert_emptyList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            helper.duplicateHostList = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertEquals("User is not found: ******@****.***", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongUsername() {
            // Test with a very long username
            String username = "verylongusername".repeat(10);
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            assertNotNull(badRequestResult);
    
            // Test UNAUTHORIZED status
            ApiResult unauthorizedResult = new ApiResult.ApiResponse().status(Status.UNAUTHORIZED).result();
            assertNotNull(unauthorizedResult);
    
            // Test FAILED status
            ApiResult failedResult = new ApiResult.ApiResponse().status(Status.FAILED).result();
            assertNotNull(failedResult);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            final JobProcessingException exception = new JobProcessingException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // Test that multiple instances can be created independently
            CrawlerEngineClient client1 = new CrawlerEngineClient();
            CrawlerEngineClient client2 = new CrawlerEngineClient();
    
            assertNotNull(client1);
            assertNotNull(client2);
            assertNotSame(client1, client2);
        }
    
        // Test constructor with different thread context
        public void test_constructorInDifferentThread() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "paramName";
            String[] values = { "value1", "value2", "value3" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            assertNotNull(param.getValues());
            assertEquals(3, param.getValues().length);
            assertEquals("value1", param.getValues()[0]);
            assertEquals("value2", param.getValues()[1]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            assertNotNull(toString);
            assertTrue(toString.contains("CurlException"));
            assertTrue(toString.contains(message));
        }
    
        @Test
        public void testStackTrace() {
            CurlException exception = new CurlException("Test message");
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            // Test getEntries method
            FileEntry[] entries = msrpcShareEnum.getEntries();
    
            assertNotNull(entries);
            assertEquals(2, entries.length);
    
            // Verify the first entry
            FileEntry entry1 = entries[0];
            assertNotNull(entry1);
            assertEquals("Share1", entry1.getName());
            assertEquals(8, entry1.getType()); // TYPE_SHARE constant
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // When
            byte[] nonce1 = context.generateSecureNonce();
            byte[] nonce2 = context.generateSecureNonce();
    
            // Then
            assertNotNull(nonce1, "First secure nonce should not be null");
            assertNotNull(nonce2, "Second secure nonce should not be null");
            assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            StackTraceElement[] originalStackTrace = exception.getStackTrace();
            assertNotNull(originalStackTrace);
    
            Throwable filled = exception.fillInStackTrace();
            assertSame(exception, filled);
    
            StackTraceElement[] newStackTrace = exception.getStackTrace();
            assertNotNull(newStackTrace);
        }
    
        public void test_multipleInstances() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top