Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for expectActions (0.45 sec)

  1. src/net/http/cookiejar/jar_test.go

    				v = `"` + v + `"`
    			}
    			cs = append(cs, cookie.Name+"="+v)
    		}
    	}
    	slices.Sort(cs)
    	got := strings.Join(cs, " ")
    
    	// Make sure jar content matches our expectations.
    	if got != test.content {
    		t.Errorf("Test %q Content\ngot  %q\nwant %q",
    			test.description, got, test.content)
    	}
    
    	// Test different calls to Cookies.
    	for i, query := range test.queries {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                }
            """
    
            expect:
            fails("broken")
    
            // The failure is currently very specific to the annotation type
            // TODO  - fail earlier and add some expectations here
    
            fails("broken")
    
            where:
            annotationType << [
                Input,
                InputFile,
                InputDirectory,
                InputFiles,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    		// the rest of a normal C runtime. When the go runtime
    		// blocks...unblocks signals, temporarily, the blocked
    		// interval of time is generally very short. As such,
    		// these expectations of *libc code are mostly met by
    		// the combined go+cgo system of threads. However,
    		// when go causes a thread to exit, via a return from
    		// mstart(), the combined runtime can deadlock if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

      out of the compiler and hopefully mention "name".
    */
    #define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2UL+1UL];
    
    /* Check at compile time that the sizes we use match our expectations. */
    #define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), (size_t)n, _cgo_sizeof_##t##_is_not_##n)
    
    __cgo_size_assert(char, 1)
    __cgo_size_assert(short, 2)
    __cgo_size_assert(int, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ppc64/asm.go

    //
    //  2. R2 holds the TOC pointer on entry. The caller has already saved R2 to the TOC stack save slot.
    //
    //  3. R2 does not hold the TOC pointer on entry. The caller has no expectations of R2.
    //
    // Go only needs case 1 and 3 today. Go symbols which have AttrShare set could use case 2, but case 1 always
    // works in those cases too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.Skip("https://github.com/istio/istio/issues/42696")
    			systemNM := istio.ClaimSystemNamespaceOrFail(t, t)
    			// mtlsOnExpect defines our expectations for when mTLS is expected when its enabled
    			mtlsOnExpect := func(from echo.Instance, opts echo.CallOptions) bool {
    				if from.Config().IsNaked() || opts.To.Config().IsNaked() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    		t.Run(tc.name, func(t *testing.T) {
    			result := pc.WasmPluginsByListenerInfo(tc.node, tc.listenerInfo, tc.pluginType)
    			if !reflect.DeepEqual(tc.expectedExtensions, result) {
    				t.Errorf("WasmPlugins did not match expectations\n\ngot: %v\n\nexpected: %v", result, tc.expectedExtensions)
    			}
    		})
    	}
    }
    
    func TestServiceIndex(t *testing.T) {
    	g := NewWithT(t)
    	env := NewEnvironment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			}
    			if out.SelfLink != "" {
    				t.Errorf("%s: selfLink should not be set", tt.name)
    			}
    
    			// verify that kv pair is not empty after set and that the underlying data matches expectations
    			validation(ctx, t, key)
    
    			switch tt.expectNoUpdate {
    			case true:
    				if version != out.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  9. src/os/os_test.go

    		},
    	}
    
    	for _, tt := range tests {
    		// Now change the times accordingly.
    		if err := Chtimes(fName, tt.aTime, tt.mTime); err != nil {
    			t.Error(err)
    		}
    
    		// Finally verify the expectations.
    		fs, err = Stat(fName)
    		if err != nil {
    			t.Error(err)
    		}
    		at0 = Atime(fs)
    		mt0 = fs.ModTime()
    
    		if got, want := at0, tt.wantATime; !got.Equal(want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    	// so it never reads the body.
    	expectTest(100, "100-continue", false, "401 Unauthorized"),
    	// Likewise without 100-continue:
    	expectTest(100, "", false, "401 Unauthorized"),
    
    	// Non-standard expectations are failures
    	expectTest(0, "a-pony", false, "417 Expectation Failed"),
    
    	// Expect-100 requested but no body (is apparently okay: Issue 7625)
    	expectTest(0, "100-continue", true, "200 OK"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top