Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for test_$it (0.23 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

                    }
                }
            """.stripIndent()
        }
    
        List<String> withNonfailingTests(int num) {
            (1..num).collect {
                final resource = "test_${it}" as String
                root.file("src/test/java/pkg/OtherTest_${it}.java") << """
                    package pkg;
                    $testFrameworkImports
                    public class OtherTest_${it} {
                        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

            run("testClasses")
    
            and:
            executer.withArgument "--max-workers=$maxWorkers"
    
            and:
            def calls = testIndices(testCount).collect { "test_$it" } as String[]
            def handler = blockingServer.expectConcurrentAndBlock(maxConcurrency, calls)
    
            when:
            def gradle = executer.withArgument("-i").withTasks('test').start()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/core-plugins/java_gradle_plugin.adoc

    The plugin also integrates with <<test_kit.adoc#test_kit,TestKit>>, a library that aids in writing and executing functional tests for plugin code.
    It automatically adds the `gradleTestKit()` dependency to the `testImplementation` configuration and generates a plugin classpath manifest file consumed by a `GradleRunner` instance if found.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir

        // CHECK-ROUNDTRIP:  %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64>
        %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64>
        return %0 : tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:40:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

    import java.io.File;
    
    public class NativeServicesTestFixture {
        // Collect this early, as the process' current directory can change during embedded test execution
        private static final TestFile TEST_DIR = new TestFile(new File(".").toURI());
        static NativeServices nativeServices;
        static boolean initialized;
    
        public static synchronized void initialize() {
            if (!initialized) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

    @Requires(IntegTestPreconditions.NotEmbeddedExecutor) // Gradle API and TestKit JARs are not generated when running embedded
    class GradleImplDepsCompatibilityIntegrationTest extends BaseGradleImplDepsIntegrationTest {
    
        def "TestKit dependency artifacts contain Gradle API artifact"() {
            given:
            buildFile << """
                configurations {
                    gradleApi
                    testKit
                }
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerSamplesEndUserIntegrationTest.groovy

     */
    
    
    package org.gradle.testkit.runner.enduser
    
    import org.gradle.integtests.fixtures.Sample
    import org.gradle.integtests.fixtures.UsesSample
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.test.preconditions.UnitTestPreconditions
    import org.gradle.testing.internal.util.RetryUtil
    import org.gradle.testkit.runner.fixtures.NoDebug
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/FeatureCheckBuildResult.java

     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal;
    
    import org.gradle.testkit.runner.BuildResult;
    import org.gradle.testkit.runner.BuildTask;
    import org.gradle.testkit.runner.TaskOutcome;
    import org.gradle.testkit.runner.internal.feature.BuildResultOutputFeatureCheck;
    import org.gradle.testkit.runner.internal.feature.FeatureCheck;
    
    import javax.annotation.Nullable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy

            testKitDaemons(GradleVersion.version("6.8.3")).killAll()
        }
    
        def "old TestKit can run build with current Gradle"() {
            given:
            def targetingGradle7Test = """
    import spock.lang.Specification
    import org.junit.Rule
    import org.junit.rules.TemporaryFolder
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.VersionNumber
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/runlit.site.cfg.py

    config.mlir_tf_tools_dirs = [
        os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'], s)
        for s in mlir_tf_tools_dirs
    ]
    test_dir = os.environ['TEST_TARGET']
    test_dir = test_dir.strip('/').rsplit(':', 1)[0]
    config.mlir_test_dir = os.path.join(real_test_srcdir,
                                        os.environ['TEST_WORKSPACE'], test_dir)
    
    if platform.system() == 'Windows':
      # Configure this to work with msys2, TF's preferred windows bash.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top