Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 2,062 for test4 (0.02 sec)

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

        public void test_serialVersionUID() {
            // Test that exception is serializable
            String message = "Serialization test";
            LdapOperationException exception = new LdapOperationException(message);
    
            // Verify the exception can be created (serialVersionUID is present)
            assertNotNull(exception);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

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

            booleanQueryCommand = new BooleanQueryCommand();
            booleanQueryCommand.register();
        }
    
        // Test getQueryClassName method
        public void test_getQueryClassName() {
            assertEquals("BooleanQuery", booleanQueryCommand.getQueryClassName());
        }
    
        // Test execute method with valid BooleanQuery
        public void test_execute_withBooleanQuery() {
            // Create a simple BooleanQuery with MUST clause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. okhttp/build.gradle.kts

        commonTest {
          dependencies {
            implementation(projects.okhttpTestingSupport)
            implementation(libs.assertk)
            implementation(libs.kotlin.test.annotations)
            implementation(libs.kotlin.test.common)
            implementation(libs.kotlin.test.junit)
            implementation(libs.junit)
            implementation(libs.junit.jupiter.api)
            implementation(libs.junit.jupiter.params)
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers
            .Builder()
            .add(
              "WWW-Authenticate",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/NameServiceClientTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NameServiceClientTest {
    
        @Mock
        private NameServiceClient nameServiceClient;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testGetLocalHost() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

    public class UriTypeTest extends UnitFessTestCase {
    
        // Test field with UriType annotation for WEB protocol
        @UriType(protocolType = ProtocolType.WEB)
        private String testFieldWeb;
    
        // Test field with UriType annotation for FILE protocol
        @UriType(protocolType = ProtocolType.FILE)
        private String testFieldFile;
    
        // Test field with custom message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

        }
    
        public void test_toString_withEmptyQueryMap() {
            facetQueryView.setTitle("Empty Map Test");
    
            String result = facetQueryView.toString();
            assertNotNull(result);
            assertTrue(result.contains("title=Empty Map Test"));
            assertTrue(result.contains("queryMap={}"));
        }
    
        // Test edge cases
        public void test_addQuery_withNullValues() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    import static org.mockito.Mockito.when;
    
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top