Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Exact (0.07 sec)

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

            testData.add(createRelatedContent("exact", "Exact Match", ""));
            testData.add(createRelatedContent("regex:test.*", "Regex Match: __QUERY__", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.load();
    
            // Test exact match
            String[] results = relatedContentHelper.getRelatedContents("exact");
            assertEquals(1, results.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            System.setProperty("java.version", "11.0.1");
    
            String[] args = new String[] { "8:-Xmx1g", // Exact Java 8
                    "11:-Xmx2g", // Exact Java 11
                    "17:-Xmx4g", // Exact Java 17
                    "11:-XX:+UseG1GC" // Another exact Java 11
            };
    
            String[] result = JvmUtil.filterJvmOptions(args);
            assertEquals(2, result.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertNull(generator.expandPath(null));
    
            // Test with exact match mappings (expandPath only replaces exact matches)
            generator.filePathMap.put("${home}/file", "/home/user/file");
            assertEquals("/home/user/file", generator.expandPath("${home}/file"));
            assertEquals("other/path", generator.expandPath("other/path"));
    
            // Test another exact mapping
            generator.filePathMap.put("${temp}", "/tmp");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertNull(negotiationAllNull.getResponseRaw());
        }
    
        @Test
        @DisplayName("getRequest should return the same request instance")
        void testGetRequest() {
            // Verify getRequest returns the exact same instance
            SmbNegotiationRequest request = negotiation.getRequest();
            assertSame(mockRequest, request);
    
            // Verify multiple calls return the same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    /**
     * Helper class for managing related content configurations.
     * This class provides functionality to load, cache, and retrieve related content
     * based on search queries and virtual host configurations. It supports both exact
     * term matching and regex pattern matching for flexible content association.
     */
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
         * Default constructor for RelatedContentHelper.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/WinErrorTest.java

                    () -> assertEquals(6118, WinError.ERROR_NO_BROWSER_SERVERS_FOUND));
        }
    
        @Test
        @DisplayName("Arrays: non-null, same length, and exact contents")
        void arrays_are_well_formed_and_match() {
            // Validate arrays existence and alignment (edge and structure checks)
            assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals(bytes1, bytes2);
            assertEquals(4, bytes1);
        }
    
        @Test
        @DisplayName("Should verify exact structure size value")
        void testExactStructureSizeValue() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
    
            // Write exact structure size value (4)
            buffer[0] = 0x04;
            buffer[1] = 0x00;
            buffer[2] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
        // Edge / invalid: null referral or empty/blank path
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            // Test with short string
            ace.appendCol(sb, "test", 10);
            assertEquals("test      ", sb.toString());
    
            // Test with exact width string
            sb = new StringBuffer();
            ace.appendCol(sb, "exact", 5);
            assertEquals("exact", sb.toString());
    
            // Test with longer string than width
            sb = new StringBuffer();
            ace.appendCol(sb, "longer string", 5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String input = "exact line\nanother line";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null);
            thread.start();
            thread.join(1000);
    
            assertTrue(thread.contains("exact line"));
            assertTrue(thread.contains("another line"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top