Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 3,196 for test (0.21 sec)

  1. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            assertEquals(searchText, fqb.value());
        }
    
        // Test with special characters in term text
        public void test_convertFuzzyQuery_withSpecialCharacters() {
            QueryContext context = new QueryContext("test", false);
            String[] specialTexts = { "test@email.com", "test-hyphen", "test_underscore", "test.period", "test+plus" };
    
            for (String text : specialTexts) {
                Term term = new Term("title", text);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    
        @Test
        void functionTest() {
            testPermission();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class SocksProxyTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.exception.MethodNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "initial" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.load();
            String[] results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals("initial", results[0]);
    
            // Update test data
            testData.clear();
            testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Replace the info.e field with our empty array
            setDfsEnumArray(dfsRootEnum, emptyArray);
    
            // Test getEntries returns empty array
            FileEntry[] entries = dfsRootEnum.getEntries();
            assertNotNull(entries);
            assertEquals(0, entries.length);
        }
    
        @Test
        @DisplayName("getEntries should return SmbShareInfo array for DFS roots")
        void testGetEntries_populatedArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

    /**
     * Test class for CrawlerSystemException.
     * Tests all constructors and exception functionality including message, cause, suppression, and stack trace.
     */
    public class CrawlerSystemExceptionTest extends PlainTestCase {
    
        /**
         * Test constructor with message only
         */
        public void test_constructor_withMessage() {
            String message = "Test error message";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            assertEquals("settings-test-2.suggest", anotherSettingsInstance.getAsString(SuggestSettings.DefaultKeys.INDEX, ""));
        }
    
        @Test
        public void test_setAndGetAsInt() {
            String key = "key";
            int value = 1;
            settings.set(key, value);
            assertEquals(value, settings.getAsInt(key, -1));
        }
    
        @Test
        public void test_setAndGetAsLong() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top