Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for some_value (1.06 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            given:
            def property = propertyWithValue(someValue())
    
            when:
            def copy = property.shallowCopy()
    
            then:
            copy.orNull == someValue()
        }
    
        def "shallow copy of property does not follow changes to original"() {
            given:
            def property = propertyWithValue(someValue())
    
            when:
            def copy = property.shallowCopy()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultAttributesTest.groovy

            when:
            attributes.put(':::', 'someValue')
    
            then:
            thrown(ManifestException)
    
            when:
            attributes.put(null, 'someValue')
    
            then:
            thrown(ManifestException)
        }
    
        def testKeyValidationWithPutAll() {
            when:
            attributes.putAll(':::': 'someValue')
    
            then:
            thrown(ManifestException)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py

    from docs_src.query_params_str_validations.tutorial014 import app
    
    client = TestClient(app)
    
    
    def test_hidden_query():
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    def test_no_hidden_query():
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

            DummyModel actual = new DummyModel() {
                @Override
                String getValue() {
                    return "someValue"
                }
            }
    
            when:
            ToolingApiModelChecker.checkModel(
                actual,
                dummyModel("someValue"),
                [
                    { it.value }
                ]
            )
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

                    "    println someValue",
                    "    println anotherValue",
                    "    new ImportedClass()",
                    "    new OnDemandImportedClass()",
                    "  }",
                    "}",
                    "ext.a = new ImportedClass()",
                    "ext.b = OnDemandImportedClass",
                    "ext.c = someValue",
                    "ext.d = anotherValue",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py

    from docs_src.query_params_str_validations.tutorial014_an import app
    
    client = TestClient(app)
    
    
    def test_hidden_query():
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    def test_no_hidden_query():
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. tests/test_param_include_in_schema.py

                {},
                200,
                {"hidden_cookie": None},
            ),
            (
                "/hidden_cookie",
                {"hidden_cookie": "somevalue"},
                200,
                {"hidden_cookie": "somevalue"},
            ),
        ],
    )
    def test_hidden_cookie(path, cookies, expected_status, expected_response):
        client = TestClient(app, cookies=cookies)
        response = client.get(path)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_hidden_query(client: TestClient):
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    @needs_py310
    def test_no_hidden_query(client: TestClient):
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_hidden_query(client: TestClient):
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    @needs_py310
    def test_no_hidden_query(client: TestClient):
        response = client.get("/items")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitEnclosedRunnerIntegrationTest.groovy

                    private static String someValue;
    
                    @BeforeClass
                    public static void setSomeValue() {
                        someValue = "test";
                    }
    
                    public static class InnerClass {
                        @Test
                        public void aTest() {
                            Assert.assertEquals( "test", someValue );
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top