- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 107 for testCode (0.26 sec)
-
src/net/http/transport_test.go
func TestIdleConnH2Crash(t *testing.T) { run(t, testIdleConnH2Crash, []testMode{http2Mode}) } func testIdleConnH2Crash(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { // nothing })) ctx, cancel := context.WithCancel(context.Background()) defer cancel() sawDoErr := make(chan bool, 1) testDone := make(chan struct{}) defer close(testDone)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/ToPlannedNodeConverterRegistryTest.groovy
getSupportedNodeType() >> TestNode } def registry = new ToPlannedNodeConverterRegistry([testConverter]) when: def foundConverter = registry.getConverter(new TestNode()) then: foundConverter.is(testConverter) // verify caching works when: foundConverter = registry.getConverter(new TestNode()) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 17 13:57:29 UTC 2023 - 4.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy
@Override String toString() { return "TestNode($name)" } } static class TestTaskNode extends TestNode { TestTaskNode(String name) { super(name) } } static class TestTransformStepNode extends TestNode { TestTransformStepNode(String name) { super(name) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 21 13:11:56 UTC 2023 - 11.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go
"k8s.io/klog/v2/ktesting" frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime" st "k8s.io/kubernetes/pkg/scheduler/testing" ) func TestDefaultBinder(t *testing.T) { testPod := st.MakePod().Name("foo").Namespace("ns").Obj() testNode := "foohost.kubernetes.mydomain.com" tests := []struct { name string injectErr error wantBinding *v1.Binding }{ { name: "successful",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 23 02:17:34 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelNodeInternalTest.groovy
def "should have zero executed rules initially"() { expect: new TestNode(registration).getExecutedRules().size() == 0 } def "should record executed rules when notify fired #fireCount time(s)"() { def descriptor = Mock(ModelRuleDescriptor) ModelNodeInternal modelNode = new TestNode(registration) def executionBinder = Mock(RuleBinder) executionBinder.isBound() >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
}, }, }, } testPod2 := testPod1.DeepCopy() testPod2.UID = "2222" testPod2.Name = "pod2" testPod2.Namespace = "ns2" testPod3 := testPod1.DeepCopy() testPod3.UID = "3333" testPod3.Name = "pod3" testPod3.Namespace = "ns2" testKubelet.fakeKubeClient = fake.NewSimpleClientset(testPod1, testPod2, testPod3) kubelet.kubeClient = testKubelet.fakeKubeClient
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
src/net/http/serve_test.go
// Only testing HTTP/1, and our http2 server doesn't support hijacking. run(t, func(t *testing.T, mode testMode) { testHandlerPanic(t, true, mode, nil, "intentional death for testing") }, []testMode{http1Mode}) } func testHandlerPanic(t *testing.T, withHijack bool, mode testMode, wrapper func(Handler) Handler, panicValue any) { // Direct log output to a pipe. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy
def model1 = converter.builder(TestModel.class).mixInTo(TestModel, ConfigMixin).build(protocolModel) def model2 = converter.adapt(TestModel.class, protocolModel) !model1.is(model2) def model3 = converter.builder(TestModel.class).build(protocolModel) model3.is(model2) def model4 = converter.builder(TestModel.class).mixInTo(TestModel, ConfigMixin).build(protocolModel)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 21.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy
protected static class TestNode extends ModelNodeInternal { def links = [] TestNode(String creationPath, Class<?> type) { super(null, ModelRegistrations.of(ModelPath.path(creationPath)).descriptor("test").build()) addProjection(new UnmanagedModelProjection(ModelType.of(type))) } TestNode(ModelRegistration registration) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.3K bytes - Viewed (0)