Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 2,907 for 2test (0.03 sec)

  1. 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)
  2. 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)
  3. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

    import okhttp3.internal.http2.Http2ExchangeCodec.Companion.http2HeadersList
    import okhttp3.internal.http2.Http2ExchangeCodec.Companion.readHttp2HeadersList
    import org.junit.jupiter.api.Test
    
    class HeadersRequestTest {
      @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {
        val headerBlock =
          headersOf(
            ":status",
            "200 OK",
            ":version",
            "HTTP/1.1",
            "connection",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDown.java

    public interface TearDown {
      /**
       * Performs a <b>single</b> tear-down operation. See test-libraries-for-java's {@code
       * com.google.common.testing.junit3.TearDownTestCase} and {@code
       * com.google.common.testing.junit4.TearDownTestCase} for example.
       *
       * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of
       * JUnit test case you are running under. To avoid failing in the face of an exception regardless
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
         * Test scope.
         */
        ProjectScope TEST = projectScope("test");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. cmd/namespace-lock_test.go

    package cmd
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    // WARNING:
    //
    // Expected source line number is hard coded, 35, in the
    // following test. Adding new code before this test or changing its
    // position will cause the line number to change and the test to FAIL
    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test getBatchLimit method")
        void testGetBatchLimit() {
            // Test default batch limit
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        @Test
        void testGetName() {
            // Test getName method
            mockName = new Name(mockConfig, "TEST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertSame(mockName, nbtAddress.getName());
        }
    
        @Test
        void testGetAddress() {
            // Test getAddress for correct byte array conversion
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top