Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 932 for executeOn (0.05 sec)

  1. docs/pt/docs/tutorial/testing.md

    ///
    
    ## Execute-o
    
    Depois disso, você só precisa instalar o `pytest`.
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo e instalá-lo, por exemplo:
    
    <div class="termy">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

    internal class RecordingExecutor(
      private val dispatcherTest: DispatcherTest,
    ) : AbstractExecutorService() {
      private var shutdown: Boolean = false
      private val calls = mutableListOf<RealCall.AsyncCall>()
    
      override fun execute(command: Runnable) {
        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. android-test/src/androidTest/README.md

    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .proxy(server.proxyAddress)
            .readTimeout(Duration.ofMillis(100))
            .build()
        val request = Request.Builder().url("http://android.com/").build()
        proxiedClient.newCall(request).execute().use { response ->
          assertThat(response.body.string()).isEqualTo("Result")
        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.url).isEqualTo("http://android.com/".toHttpUrl())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

            },
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      Authenticate().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * Represents an exception that occurs during the invocation of a Maven build or command.
     * This exception is typically thrown when there are errors during the execution of a Maven
     * process, such as build failures, plugin errors, or other runtime issues.
     *
     * @since 4.0.0
     */
    @Experimental
    public class InvokerException extends MavenException {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Nov 13 14:14:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Properties;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = postBody.toRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

        //                                                                      Search Execute
        //                                                                      ==============
        /**
         * Show the index page.
         * @return The HTML response.
         */
        @Execute
        @Secured({ //
                AdminDashboardAction.ROLE, //
                AdminDashboardAction.ROLE + VIEW, //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

          }
        };
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top