Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testIde (0.14 sec)

  1. src/net/http/client_test.go

    		`DELETE / "c308"`,
    		`DELETE /?code=404 "c404"`,
    	}
    	want := strings.Join(wantSegments, "\n")
    	run(t, func(t *testing.T, mode testMode) {
    		testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want)
    	})
    }
    
    func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) {
    	var log struct {
    		sync.Mutex
    		bytes.Buffer
    	}
    	var ts *httptest.Server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    // in "Range": "bytes=-N", and should reject "bytes=--2".
    func TestServeFileRejectsInvalidSuffixLengths(t *testing.T) {
    	run(t, testServeFileRejectsInvalidSuffixLengths, []testMode{http1Mode, https1Mode, http2Mode})
    }
    func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, FileServer(Dir("testdata"))).ts
    
    	tests := []struct {
    		r        string
    		wantCode int
    		wantBody string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		// Validate
    		if !scenario.shouldFail && err != nil {
    			t.Errorf("returned error: %v", err)
    		}
    		if scenario.shouldFail && err == nil {
    			t.Error("returned success but expected error")
    		}
    		checkReasons(t, reasons, scenario.reasons)
    		testEnv.validatePodCache(t, testNode.Name, scenario.pod, podVolumes, scenario.expectedBindings, nil)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            for (ClassNode testNode : outerClasses) {
                val = new ConstructedNestedClass(testNode, type.getName());
                if (resolveFromCompileUnit(val)) {
                    type.setRedirect(val);
                    return true;
                }
                // also check interfaces in case we have interfaces with nested classes
                for (ClassNode next : testNode.getAllInterfaces()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  5. pilot/pkg/security/authn/policy_applier_test.go

    		},
    	}
    
    	testNode := &model.Proxy{
    		Labels: map[string]string{
    			"app": "foo",
    		},
    		Metadata: &model.NodeMetadata{},
    	}
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := newPolicyApplier("root-namespace", nil, tc.peerPolicies, &model.PushContext{}).InboundMTLSSettings(
    				8080,
    				testNode,
    				[]string{},
    				NoOverride,
    			)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            return result
        }
    
        private static class TestNode extends CreationOrderedNode implements SelfExecutingNode {
            final Throwable failure
            final String name
            final List<Node> preExecuteNodes
            final List<Node> postExecuteNodes
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	return Quantity{d: bigDec(i, exponent), Format: format}
    }
    
    func intQuantity(i int64, exponent Scale, format Format) Quantity {
    	return Quantity{i: int64Amount{value: i, scale: exponent}, Format: format}
    }
    
    func TestDec(t *testing.T) {
    	table := []struct {
    		got    infDecAmount
    		expect string
    	}{
    		{dec(1, 0), "1"},
    		{dec(1, 1), "10"},
    		{dec(5, 2), "500"},
    		{dec(8, 3), "8000"},
    		{dec(2, 0), "2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    		// If the OS supports symlinks, use them instead of copying bytes.
    		testExe, err := os.Executable()
    		if err != nil {
    			log.Fatal(err)
    		}
    		if err := os.Symlink(testExe, testGo); err != nil {
    			// Otherwise, copy the bytes.
    			src, err := os.Open(testExe)
    			if err != nil {
    				log.Fatal(err)
    			}
    			defer src.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top