- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 650 for desert (0.1 sec)
-
src/runtime/runtime_test.go
for i := 0; i < b.N; i++ { defer1() } } func defer1() { defer func(x, y, z int) { if recover() != nil || x != 1 || y != 2 || z != 3 { panic("bad recover") } }(1, 2, 3) } func BenchmarkDefer10(b *testing.B) { for i := 0; i < b.N/10; i++ { defer2() } } func defer2() { for i := 0; i < 10; i++ { defer func(x, y, z int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs_test.go
require.NoError(t, json.Unmarshal(output.Bytes(), &info)) assert.Len(t, info.Certificates, len(kubeadmCerts)+len(kubeConfigs)) assert.Len(t, info.CertificateAuthorities, len(caCerts)) for _, cert := range info.Certificates { if tc.brokenCertName == cert.Name { assert.True(t, cert.Missing, "expected certificate to be missing") } else { assert.False(t, cert.Missing, "expected certificate to be present") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:26:12 UTC 2024 - 20.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy
// check some built-in tasks assert schema["help"] == "Help" assert schema["projects"] == "ProjectReportTask" assert schema["tasks"] == "TaskReportTask" assert schema["properties"] == "PropertyReportTask" // check some tasks from the project itself assert schema["foo"] == "Foo" assert schema["bar"] == "Foo"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 14:43:53 UTC 2024 - 21.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
if (err != nil) != test.expectedError { t.Fatalf(dedent.Dedent( "validateKubeConfig failed\n%s\nexpected error: %t\n\tgot: %t\nerror: %v"), name, test.expectedError, (err != nil), err, ) } }) } } func TestValidateKubeconfigsForExternalCA(t *testing.T) { tmpDir := testutil.SetupTempDir(t) defer os.RemoveAll(tmpDir) pkiDir := filepath.Join(tmpDir, "pki")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local_test.go
}, }, } patchesPath := filepath.Join(tmpdir, "patch-files") err := os.MkdirAll(patchesPath, 0777) if err != nil { t.Fatalf("Couldn't create %s", patchesPath) } patchString := dedent.Dedent(` metadata: annotations: patched: "true" `) err = os.WriteFile(filepath.Join(patchesPath, kubeadmconstants.Etcd+".yaml"), []byte(patchString), 0644) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 15.2K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
assert data["context_b"] == "started b" assert data["context_a"] == "started a" assert state["context_b"] == "finished b with a: started a" assert state["context_a"] == "finished a" def test_context_b_raise(): with pytest.raises(OtherDependencyError): client.get("/context_b_raise") assert state["context_b"] == "finished b with a: started a"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy
assert configureProjectOps.size() == 2 with(configureProjectOps[0]) { assert details.buildPath == ':lib' assert details.projectPath == ':' assert parentId == configureChildBuild.id } with(configureProjectOps[1]) { assert details.buildPath == ':' assert details.projectPath == ':' assert parentId == configureRootBuild.id
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 23.4K bytes - Viewed (0) -
tests/test_path.py
response = client.get("/path/str/foobar") assert response.status_code == 200 assert response.json() == "foobar" def test_path_str_42(): response = client.get("/path/str/42") assert response.status_code == 200 assert response.json() == "42" def test_path_str_True(): response = client.get("/path/str/True") assert response.status_code == 200 assert response.json() == "True"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 34.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
} assert p1 == 1 assert properties.p1 == 1 assert ext.p1 == 1 assert hasProperty("p1") assert property("p1") == 1 assert getProperty("p1") == 1 assert ext.getProperty("p1") == 1 p1 = 2 assert p1 == 2 assert ext.p1 == 2 task run { doLast { task ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0)