- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for some_value (0.17 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
def "can set to null value to discard value"() { given: def property = property() property.set(someValue()) property.set((Iterable) null) expect: !property.present property.getOrNull() == null property.getOrElse(someValue()) == someValue() property.getOrElse(null) == null } def "can set null value to remove any added values"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
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) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy
def "can set null value to discard value"() { given: def property = property() property.set(someValue()) property.set((String) null) expect: !property.present property.getOrNull() == null property.getOrElse(someValue()) == someValue() property.getOrElse(null) == null } def "can't set null provider to discard value"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
expect: finalReadOnlyBean.someValue.toString() == "<display name> property 'someValue'" readOnlyBean.someValue.toString() == "<display name> property 'someValue'" readOnlyBeanWithMapping.someValue.toString() == "<display name> property 'someValue'" finalBeanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy
Some-Main-Attribute: someValue $nameAttribute: someSection Some-Section-Attribute: some other value """.stripIndent().trim() + '\n' when: DefaultManifest manifest = new DefaultManifest('file', fileResolver); then: manifest.getAttributes().get('Some-Main-Attribute') == 'someValue'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 15.1K bytes - Viewed (0) -
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) -
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)