- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for testObj (0.14 sec)
-
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerTest.groovy
DefaultSerializer serializer = new DefaultSerializer(classLoader) Class cl = classLoader.parseClass('package org.gradle.cache; class TestObj implements Serializable { }') Object o = cl.newInstance(new Object[0]) when: def r = serialize(o, serializer) then: cl.isInstance(r) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
if i := strings.LastIndex(fnName, "."); i != -1 { fnName = fnName[i+1:] } testObj := testCase.obj testFn := testCase.fn runTestOverPVCRetentionPolicies( t, fmt.Sprintf("%s/Monotonic", fnName), func(t *testing.T, policy *apps.StatefulSetPersistentVolumeClaimRetentionPolicy) { set := testObj() set.Spec.PersistentVolumeClaimRetentionPolicy = policy testFn(t, set, assertMonotonicInvariants)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy
buildA.buildFile << """ dependencies { implementation "org.test:b1:1.0" implementation "org.test:b2:1.0" } """ when: checkDependencies() then: checkGraph { edge("org.test:b1:1.0", ":buildB:b1", "org.test:b1:2.0") { configuration = "runtimeElements" compositeSubstitute()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 19:37:49 UTC 2024 - 25.7K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy
then: executedAndNotSkipped ':includedBuild:fooJar' notExecuted ':includedBuild:barJar' resolve.expectGraph { root(':a', 'test:a:') { project(':b', 'test:b:') { artifact(name: 'b-transitive') edge('com.acme.external:external:1.0', ':includedBuild', 'com.acme.external:external:2.0-SNAPSHOT') { compositeSubstitute()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 33.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
edge('org:testA:1.0', 'org:testB:1.0') .byConflictResolution("On capability org.test:cap we like testB better") module('org:testB:1.0') } } where: rule << [ "select(candidates.find { it.id.module == 'testB'})", "select('org:testB:1.0')", "select('org:testB:1.1')", // we are lenient wrt to the version number
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 07:37:10 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/warm-backend-s3.go
object = params[0] } return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object)) } func (s3 *warmBackendS3) getDest(object string) string { destObj := object if s3.Prefix != "" { destObj = fmt.Sprintf("%s/%s", s3.Prefix, object) } return destObj } func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Apr 21 11:43:18 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
client *storage.Client Bucket string Prefix string StorageClass string } func (gcs *warmBackendGCS) getDest(object string) string { destObj := object if gcs.Prefix != "" { destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object) } return destObj } // FIXME: add support for remote version ID in GCS remote tier and remove this. // Currently it's a no-op.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Apr 21 11:43:18 UTC 2024 - 5.9K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
patha = tmp_path / "test.txt" pathb = tmp_path / "testb.txt" patha.write_text("<file content>") pathb.write_text("<file b content>") client = TestClient(app) with patha.open("rb") as filea, pathb.open("rb") as fileb: response = client.post( "/files/", data={"token": "foo"}, files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")}, )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py
patha = tmp_path / "test.txt" pathb = tmp_path / "testb.txt" patha.write_text("<file content>") pathb.write_text("<file b content>") client = TestClient(app) with patha.open("rb") as filea, pathb.open("rb") as fileb: response = client.post( "/files/", data={"token": "foo"}, files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")}, )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/AdHocCompositeDependencySubstitutionCrossVersionSpec.groovy
buildA = singleProjectBuildInRootFolder("buildA") { buildFile << """ apply plugin: 'java' dependencies { ${testImplementationConfiguration} "org.test:b1:1.0" } """ } buildB = multiProjectBuildInSubFolder("buildB", ['b1', 'b2']) { buildFile << """ allprojects {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.4K bytes - Viewed (0)