Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of over 10,000 for WITH (0.03 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Verify
            assertTrue(result.isPresent());
            assertEquals(Locale.UK, result.get());
        }
    
        // Test findBusinessLocale with blank parameter name
        @Test
        public void test_findBusinessLocale_withBlankParameterName() {
            // Setup mock config with blank parameter name
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Verify.java

      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a
       * custom message otherwise.
       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  3. cmd/object-api-getobjectinfo_test.go

    		// Test cases with valid but non-existing bucket names and invalid object name (Test number 7-8).
    		{"test-getobjectinfo", "", ObjectInfo{}, ObjectNameInvalid{Bucket: "test-getobjectinfo", Object: ""}, false},
    		{"test-getobjectinfo", "", ObjectInfo{}, ObjectNameInvalid{Bucket: "test-getobjectinfo", Object: ""}, false},
    		// Test cases with non-existing object name with existing bucket (Test number 9-11).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test delete with non-existent index
            SuggestUtil.deleteByQuery(client, settings, "nonexistent_index", QueryBuilders.matchAllQuery());
        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with non-existing file
        @Test
        public void test_getThumbnailFile_notExists() {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "nonexistent");
    
            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
        // Test getThumbnailFile with blank path
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            // Test analyze with different language settings
            String text = "hello world";
            String field = "content";
    
            // Test with English
            List<AnalyzeToken> tokensEn = analyzer.analyze(text, field, "en");
            assertNotNull(tokensEn);
            assertEquals(2, tokensEn.size());
    
            // Test with Japanese
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
            NdrLong ndrLongNegative = new NdrLong(negativeValue);
            assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value.");
    
            // Test case 3: Zero value
            int zeroValue = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
     *    indicating that the call was canceled. The interceptor's exception is delivered to the current
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        }
    
        @Test
        @DisplayName("Test size calculation with short filename")
        void testSizeWithShortFilename() {
            FileRenameInformation2 info = new FileRenameInformation2("test.txt", false);
            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with long filename")
        void testSizeWithLongFilename() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test with empty message string
            int statusCode = 404;
            String message = "";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_message_nullString() {
            // Test with null message string
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top