Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,907 for 2test (0.02 sec)

  1. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

    public class SearchResultTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test with normal values
            List<Map<String, Object>> documentList = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "This is test content");
            documentList.add(doc1);
    
            long allRecordCount = 100L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.NullAndEmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Comprehensive test suite for Strings utility class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testSpecialCharactersInIndexName() {
            // Test index name with special characters
            builder.setSettingsIndexName("Test-Index_Name.2024");
            assertEquals("test-index_name.2024", builder.settingsIndexName);
    
            // Test index name with spaces (should be lowercased)
            builder.setSettingsIndexName("Test Index Name");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     *
     */
    class RequirementMatcherFactoryTest {
    
        /**
         * Test of createExactMatcher method, of class RequirementMatcherFactory.
         */
        @Test
        void testCreateExactMatcher() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/EmptyIteratorTest.java

    import java.util.Iterator;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.RepeatedTest;
    import org.junit.jupiter.api.Test;
    
    /**
     * Comprehensive test suite for EmptyIterator class.
     * Tests the implementation of CloseableIterator for empty collections.
     */
    @DisplayName("EmptyIterator Tests")
    class EmptyIteratorTest extends BaseTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.test
    
    import android.os.StrictMode
    import android.os.StrictMode.ThreadPolicy
    import android.os.strictmode.Violation
    import androidx.test.filters.SdkSuppress
    import assertk.assertThat
    import assertk.assertions.hasSize
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

    import okio.Buffer
    import okio.BufferedSink
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slowish")
    class MultipartReaderTest {
      @Test fun `parse multipart`() {
        val multipart =
          """
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: abc
          |
          |abcd
          |efgh
          |--simple boundary
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

                assertNotNull(type3.getNTResponse());
            });
        }
    
        @Test
        @DisplayName("Should handle special characters in credentials")
        void testSpecialCharacters() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String specialDomain = "TEST-DOMAIN_123";
            String specialUser = "test******@****.***";
            String specialPassword = "P@ssw0rd!#$%";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final String message = "Parameter order test";
            final Exception cause = new RuntimeException("Test cause");
    
            // Execute with three parameters
            final InvalidQueryException exception3Params = new InvalidQueryException(messageCode, message, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

        }
    
        public void test_getQueryClassName() {
            // Test that getQueryClassName returns the correct class name
            String className = matchAllQueryCommand.getQueryClassName();
            assertEquals("MatchAllDocsQuery", className);
            assertEquals(MatchAllDocsQuery.class.getSimpleName(), className);
        }
    
        public void test_execute() {
            // Test execute method with normal parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top