Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 2,907 for 2test (0.12 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            handshakeCertificates.trustManager,
          ).build()
      }
    
      private fun buildServerSslSocketFactory(): SSLSocketFactory {
        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by
     * {@link StandardImmutableDirectedGraphTest}.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class StandardImmutableGraphAdditionalTest {
    
      @Test
      public void immutableGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by
     * {@link StandardImmutableDirectedGraphTest}.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class StandardImmutableGraphAdditionalTest {
    
      @Test
      public void immutableGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt

    import mockwebserver3.junit5.internal.StartStopExtension
    import org.junit.jupiter.api.extension.ExtendWith
    
    /**
     * Runs MockWebServer for the duration of a test method or test class.
     *
     * In Java JUnit 5 tests (ie. tests annotated `@org.junit.jupiter.api.Test`), use this by defining a
     * field with the `@StartStop` annotation:
     *
     * ```java
     * @StartStop public final MockWebServer server = new MockWebServer();
     * ```
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals("", testTransformer.getName());
        }
    
        /**
         * Test name with special characters
         */
        public void test_name_specialCharacters() {
            // Test with spaces
            testTransformer.setName("name with spaces");
            assertEquals("name with spaces", testTransformer.getName());
    
            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt

    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class Jdk8WithJettyBootPlatformTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun testBuildsWithJettyBoot() {
        assumeTrue(System.getProperty("java.specification.version") == "1.8")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

    package jcifs.dcerpc.msrpc;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.rpc;
    
    class MsrpcSamrOpenDomainTest {
    
        @Mock
        private SamrPolicyHandle mockHandle;
        @Mock
        private rpc.sid_t mockSid;
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

        public void test_serialization() {
            // Test that the exception has serialVersionUID
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test serialization");
    
            // The exception should be serializable as it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_toString() {
            // Test toString method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        public void test_init() {
            // Setup test data
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("test", "Test Content", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.init();
    
            // Verify that load was called and data is processed
            String[] results = relatedContentHelper.getRelatedContents("test");
            assertEquals(1, results.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top