Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 894 for Jest (2.7 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
            ?: return arrayOf()
    
        val testCaseDirectory = File(resource.toURI()).toOkioPath()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class SocksProxyTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

             * Key is the path of a task, value is the possible report dirs it generates.
             */
            val taskPathToReports: MapProperty<String, List<File>>
    
            /**
             * Key is the path of the test, value is Test.binaryResultsDir
             */
            val testPathToBinaryResultsDirs: MapProperty<String, File>
        }
    
        private
        val projectPathToFailedTaskPaths: MutableMap<String, MutableList<String>> = mutableMapOf()
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertThreadDoesntHoldLock()
    
        taskRunner.lock.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. ci/official/README.md

    # Finally: Run your script of choice.
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a
    #   "build_file" item that indicates the script used.
    ci/official/wheel.sh
    
    # Advanced: Select specific build/test targets with "any.sh".
    # TF_ANY_TARGETS=":your/target" TF_ANY_MODE="test" ci/official/any.sh
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt

                    os.javaInstallationLocations()
                )
            )
        }
    
        id("${model.projectId}_TestPerformanceTest")
        name = "Test performance test tasks - Java8 Linux"
        description = "Tries to run an adhoc performance test without a database connection to verify this is still working"
    
        applyPerformanceTestSettings()
        artifactRules = individualPerformanceTestArtifactRules
    
        steps {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CacheCorruptionTest {
      var fileSystem = FakeFileSystem()
    
      @JvmField
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  8. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Test
    import org.mockserver.client.MockServerClient
    import org.mockserver.configuration.Configuration
    import org.mockserver.logging.MockServerLogger
    import org.mockserver.model.HttpRequest.request
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/en/docs/reference/testclient.md

    # Test Client - `TestClient`
    
    You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code.
    
    Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/).
    
    You can import it directly from `fastapi.testclient`:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 450 bytes
    - Viewed (0)
  10. maven-compat/src/test/resources/inheritance-repo/t09/maven-test/poms/t09-b-1.0.pom

    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-test</groupId>
      <artifactId>t09-b</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
    
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t09-c</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 379 bytes
    - Viewed (0)
Back to top