- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 571 for test15 (0.09 sec)
-
test/fixedbugs/issue18595.go
} type J interface { M() } type T struct{} func (*T) M() {} func main() { test1() test2() } func test1() { t := new(T) var i1, i2 I var j interface { M() } i1 = t j = t i2 = j if i1 != i2 { panic("interfaces not equal") } } func test2() { t := new(T) i1 := (I)(t) i2 := (I)((interface { M() })((J)(t))) if i1 != i2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 20:00:05 UTC 2017 - 867 bytes - Viewed (0) -
tests/test_annotated.py
def test_multiple_path(): app = FastAPI() @app.get("/test1") @app.get("/test2") async def test(var: Annotated[str, Query()] = "bar"): return {"foo": var} client = TestClient(app) response = client.get("/test1") assert response.status_code == 200 assert response.json() == {"foo": "bar"} response = client.get("/test1", params={"var": "baz"}) assert response.status_code == 200
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
}, }, }, }, } expectedns := []string{ "testns/super-high-priority", "testns/high-priority", "testns/default-priority", "testns/a-medium-priority", "testns/b-medium-priority", "testns/b-low-priority", "testns/a-low-priority", } expectedns1 := []string{"testns-1/default-priority", "testns-1/a-medium-priority", "testns-1/b-medium-priority"} for _, cfg := range envoyFilters {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
} // initiate a sync with all pods remaining state := podWorkers.SyncKnownPods([]*v1.Pod{ newNamedPod("1-normal", "test1", "pod1", false), newNamedPod("2-static", "test1", "pod1", true), newNamedPod("3-static", "test1", "pod1", true), newNamedPod("4-static", "test1", "pod1", true), }) drainAllWorkers(podWorkers) // 2-static and 3-static should both be listed as terminated
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/TestClassExecutionEventGeneratorTest.groovy
def "fires event on test class failure when some tests have been started"() { def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException()) TestDescriptorInternal test1 = Mock() TestDescriptorInternal test2 = Mock() given: idGenerator.generateId() >> 1 test1.id >> 2 test2.id >> 3 and: processor.testClassStarted("some-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) -
pkg/credentialprovider/plugin/config_test.go
configData: `--- kind: CredentialProviderConfig apiVersion: kubelet.config.k8s.io/v1alpha1 providers: - name: test1 matchImages: - "registry.io/one" defaultCacheDuration: 10m apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1 - name: test2 matchImages: - "registry.io/two" defaultCacheDuration: 10m apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 14.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy
public void run(RunNotifier runNotifier) { // Run tests in 'parallel' Description test1 = Description.createTestDescription(type, 'broken') Description test2 = Description.createTestDescription(type, 'ok') runNotifier.fireTestStarted(test1) runNotifier.fireTestStarted(test2) runNotifier.fireTestFailure(new Failure(test1, failure.rawFailure)) runNotifier.fireTestFinished(test2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.1K bytes - Viewed (0) -
src/cmd/go/internal/gover/mod_test.go
"testing" "golang.org/x/mod/module" ) func TestIsToolchain(t *testing.T) { test1(t, isToolchainTests, "IsToolchain", IsToolchain) } var isToolchainTests = []testCase1[string, bool]{ {"go", true}, {"toolchain", true}, {"anything", false}, {"golang.org/toolchain", false}, } func TestModCompare(t *testing.T) { test3(t, modCompareTests, "ModCompare", ModCompare) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 17:51:28 UTC 2023 - 2K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy
package org.gradle.api.plugins.quality.codenarc import org.gradle.test.fixtures.file.TestFile trait CodeNarcTestFixture { def goodCode() { file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }" file("src/test/groovy/org/gradle/testclass1.java") << "package org.gradle; public class testclass1 { @org.junit.Test public void test1() { } }"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_clustercfg.yaml
apiVersion: kubeadm.k8s.io/v1beta3 kind: ClusterConfiguration controlPlaneEndpoint: test1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 05 13:30:26 UTC 2023 - 118 bytes - Viewed (0)