Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 66 of 66 for testCase (1.12 sec)

  1. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

            chain.add((text, field, langs) -> text.replace(" ", "_"));
    
            String result = chain.normalize("  TEST CASE  ", "field");
    
            assertEquals("test_case", result);
        }
    
        @Test
        public void test_nullInput() throws Exception {
            NormalizerChain chain = new NormalizerChain();
            chain.add(new FullWidthToHalfWidthAlphabetNormalizer());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP");
            when(mockDelegate.getDefaultUsername()).thenReturn("testuser");
            when(mockDelegate.getDefaultPassword()).thenReturn("testpass");
            when(mockDelegate.getNativeLanman()).thenReturn("jCIFS");
    
            // When
            String oemEncoding = delegatingConfig.getOemEncoding();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test reset with key and lastName")
        void testResetWithKeyAndLastName() {
            // Reset with parameters should not throw exception
            assertDoesNotThrow(() -> transaction.reset(123, "testName"));
    
            // Transaction should be ready for reuse
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test hasMoreElements")
        void testHasMoreElements() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

            // Given
            Configuration configWithCreds = mock(Configuration.class);
            when(configWithCreds.getDefaultUsername()).thenReturn("testuser");
            when(configWithCreds.getDefaultPassword()).thenReturn("testpass");
            when(configWithCreds.getDefaultDomain()).thenReturn("TESTDOMAIN");
            when(configWithCreds.getBufferCacheSize()).thenReturn(16);
            when(configWithCreds.getMaximumBufferSize()).thenReturn(65536);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            originalPairs.add(new AvFlags(0x12345678));
            originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }));
            originalPairs.add(new AvTargetName("TESTNAME".getBytes()));
            originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 }));
            originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 }));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("robotsTxtHelper", RobotsTxtHelper.class);
            robotsTxtHelper = container.getComponent("robotsTxtHelper");
        }
    
        public void testParse() {
            RobotsTxt robotsTxt;
            final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt");
            try {
                robotsTxt = robotsTxtHelper.parse(in);
            } finally {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top