Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for Runner (0.34 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    After creating and configuring a runner instance, the build can be executed via the link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#build--[GradleRunner.build()] or link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#buildAndFail--[GradleRunner.buildAndFail()] methods depending on the anticipated outcome.
    
    The following demonstrates the usage of the Gradle runner in a Java JUnit test:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            """
    
            when:
            def runner = GradleRunner.create()
            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
                runner.withGradleInstallation(buildContext.gradleHomeDir)
            }
            runner.withArguments("--configuration-cache")
            runner.forwardOutput()
            runner.withProjectDir(testDirectory)
            runner.withPluginClasspath([new File("some-dir")])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.kotlin.dsl.*
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. hack/make-rules/test-e2e-node.sh

      fi
      if [[ -n ${instance_type} ]]; then
        echo "Instance Type: ${instance_type}"
      fi
      echo "Kubelet Config File: ${kubelet_config_file}"
    
      # Invoke the runner
      go run test/e2e_node/runner/remote/run_remote.go  --vmodule=*=4 --ssh-env="gce" \
        --zone="${zone}" --project="${project}" --gubernator="${gubernator}" \
        --hosts="${hosts}" --images="${images}" --cleanup="${cleanup}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 09:46:28 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. .github/workflows/build.yml

              key: avd-${{ matrix.api-level }}
    
          - name: Create AVD and generate snapshot for caching
            if: steps.avd-cache.outputs.cache-hit != 'true'
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
              force-avd-creation: false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 01:51:50 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.GradleVersion
    import org.gradle.util.internal.VersionNumber
    
    import java.nio.charset.StandardCharsets
    import java.util.concurrent.ConcurrentHashMap
    
    // https://plugins.gradle.org/plugin/com.gradle.develocity
    class BuildScanPluginSmokeTest extends AbstractSmokeTest {
    
        enum CI {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

    import org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler
    import org.gradle.test.fixtures.dsl.GradleDsl
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.internal.DefaultGradleRunner
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    import spock.lang.TempDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

    import org.gradle.internal.declarativedsl.evaluator.main.SimpleAnalysisEvaluator
    import org.gradle.internal.declarativedsl.evaluator.runner.AnalysisStepResult
    import org.gradle.internal.declarativedsl.evaluator.runner.EvaluationResult
    import org.gradle.internal.declarativedsl.language.SourceIdentifier
    import org.gradle.internal.declarativedsl.objectGraph.AssignmentResolver.AssignmentResolutionResult.Assigned
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/upgrade/node.go

    	options.AddPatchesFlag(cmd.Flags(), &nodeOptions.patchesDir)
    
    	// initialize the workflow runner with the list of phases
    	nodeRunner.AppendPhase(phases.NewPreflightPhase())
    	nodeRunner.AppendPhase(phases.NewControlPlane())
    	nodeRunner.AppendPhase(phases.NewKubeletConfigPhase())
    
    	// sets the data builder function, that will be used by the runner
    	// both when running the entire workflow or single phases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top