Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 3,979 for TeSt (0.02 seconds)

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

                return permissions;
            }
    
        }
    
        @Test
        public void test_setLoggerName() {
            String originalLoggerName = activityHelper.loggerName;
            activityHelper.setLoggerName("test.logger");
            assertEquals("test.logger", activityHelper.loggerName);
            activityHelper.setLoggerName(originalLoggerName);
        }
    
        @Test
        public void test_setPermissionSeparator() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

    import java.io.ObjectOutputStream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.BaseTest;
    import jcifs.CIFSException;
    
    /**
     * Tests for SpnegoException constructors and behavior.
     */
    @DisplayName("SpnegoException Tests")
    class SpnegoExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SpnegoException with default constructor")
        void testDefaultConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            assertEquals(priority, webFsIndexHelper.crawlerPriority);
        }
    
        @Test
        public void test_crawlerList_initialization() {
            assertNotNull(webFsIndexHelper.crawlerList);
            assertEquals(0, webFsIndexHelper.crawlerList.size());
        }
    
        @Test
        public void test_crawlerList_synchronization() {
            // Test that the crawler list is synchronized
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

            suggester.createIndexIfNothing();
        }
    
        @Test
        public void test_basicBuilder() throws Exception {
            indexItems();
    
            SuggestResponse response = suggester.suggest().setQuery("test").execute().getResponse();
    
            assertNotNull(response);
            assertEquals(1, response.getNum());
        }
    
        @Test
        public void test_setIndex() throws Exception {
            indexItems();
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            localLogMsg.remove();
        }
    
        @Test
        public void test_setLoggerName() {
            String originalLoggerName = crawlerStatsHelper.loggerName;
            crawlerStatsHelper.setLoggerName("test.stats.logger");
            assertEquals("test.stats.logger", crawlerStatsHelper.loggerName);
            crawlerStatsHelper.setLoggerName(originalLoggerName);
        }
    
        @Test
        public void test_setMaxCacheSize() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            super.tearDown(testInfo);
        }
    
        // Test isAcceptCookieLocale method
        @Test
        public void test_isAcceptCookieLocale() {
            // Always returns false as per implementation
            assertFalse(provider.isAcceptCookieLocale());
        }
    
        // Test findBusinessLocale with valid locale parameter
        @Test
        public void test_findBusinessLocale_withValidLocale() {
            // Setup mock config
    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)
  9. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            return true;
        }
    
        @Test
        public void test_setFessConfig_null() {
            assertTrue(FessProp.propMap.isEmpty());
        }
    
        @Test
        public void test_setFessConfig_notNull() {
            FessConfig mockConfig = new FessConfig.SimpleImpl();
            ComponentUtil.setFessConfig(mockConfig);
            assertSame(mockConfig, ComponentUtil.getFessConfig());
        }
    
        @Test
        public void test_getFessConfig_cached() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top