Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,674 for 1test (0.01 sec)

  1. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            StorageException exception = new StorageException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly set
            DictionaryException exception = new DictionaryException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        public void setUp() throws Exception {
            super.setUp();
            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        public void test_assertPropertyNotNull_withNull() {
            try {
                // Create a test instance that extends FessLabels
                TestFessLabels labels = new TestFessLabels();
                labels.testAssertPropertyNotNull(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Set} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForSetsInJavaUtil {
      public static Test suite() {
        return new TestsForSetsInJavaUtil().allTests();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("  ", new HtmlNext("/test"));
            assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableValueGraph} . */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class ImmutableValueGraphTest {
    
      @Test
      public void immutableValueGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        }
    
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
            assertNotNull(executor);
            assertTrue(executor instanceof JobExecutor);
        }
    
        public void test_execute_withValidScriptType() {
            // Setup test script engine
            scriptEngineFactory.add("test", testScriptEngine);
    
            // Execute script
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_get_withBlankFiletype() {
            fileTypeHelper.add("test/blank", "");
            assertEquals("others", fileTypeHelper.get("test/blank"));
    
            fileTypeHelper.add("test/null", null);
            assertEquals("others", fileTypeHelper.get("test/null"));
        }
    
        public void test_getDefaultValue() {
            assertEquals("others", fileTypeHelper.getDefaultValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                    throw new RuntimeException("Test exception");
                }
            };
            ComponentUtil.register(exceptionClient, "searchEngineClient");
    
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("Test exception"));
            assertFalse(result.contains("docs"));
        }
    
        // Test query() method
        public void test_query() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top