Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for test_$it (0.26 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/authoring-builds/other/test_kit.adoc

    == Using TestKit
    
    To use the TestKit, include the following in your plugin's build:
    
    .Declaring the TestKit dependency
    ====
    include::sample[dir="snippets/testKit/junitQuickstart/kotlin",files="build.gradle.kts[tags=declare-gradle-testkit-dependency]"]
    include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    				Object: map[string]interface{}{"apiVersion": "test", "kind": "test_kind"},
    			},
    		},
    		{
    			json: []byte(`{"apiVersion": "test", "kind": "test_list", "items": []}`),
    			want: &unstructured.UnstructuredList{
    				Object: map[string]interface{}{"apiVersion": "test", "kind": "test_list"},
    				Items:  []unstructured.Unstructured{},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_vet.txt

    Zvonimir Pavlinovic <******@****.***> 1632437422 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 27 20:14:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_exit.txt

    Ian Lance Taylor <******@****.***> 1610654423 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 20:38:03 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

        return client
    
    
    @needs_py39
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial001.py

        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

        return client
    
    
    @needs_py310
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py310
    def test_put(client: TestClient):
        response = client.put(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top