Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,271 for expect2 (0.3 sec)

  1. tests/sql_builder_test.go

    	expected = updatedAtRe.ReplaceAllString(expected, `"updated_at"=?`)
    
    	// ignore RETURNING "id" (only in PostgreSQL)
    	returningRe := regexp.MustCompile(`(?i)RETURNING "id"`)
    	actually = returningRe.ReplaceAllString(actually, ``)
    	expected = returningRe.ReplaceAllString(expected, ``)
    
    	actually = strings.TrimSpace(actually)
    	expected = strings.TrimSpace(expected)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        }
    
        /**
         * Expects the given request to be made. Releases the request as soon as it is received.
         */
        public void expect(String expectedCall) {
            addNonBlockingHandler(Collections.singleton(doGet(expectedCall)));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

        }
    
        /**
         * Expects one GET request, which fails with a 500 status code
         */
        void expectGetBroken(String path) {
            expect(path, false, ['GET'], broken())
        }
    
        /**
         *  Expects one GET request, which fails with a 401 status code.
         */
        void expectGetUnauthorized(String path) {
            expect(path, false, ['GET'], unauthorized())
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  5. pkg/kubelet/status/status_manager_test.go

    			if tc.updateFn != nil {
    				tc.updateFn(copied)
    			}
    			expected := copied.DeepCopy()
    
    			syncer.TerminatePod(copied)
    			status := expectPodStatus(t, syncer, tc.pod.DeepCopy())
    			if tc.expectFn != nil {
    				tc.expectFn(t, status)
    				return
    			}
    			if !reflect.DeepEqual(expected.Status, status) {
    				diff := cmp.Diff(expected.Status, status)
    				if len(diff) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    //    * {ASSERT|EXPECT}_EQ(expected, actual): Tests that expected == actual
    //    * {ASSERT|EXPECT}_NE(v1, v2):           Tests that v1 != v2
    //    * {ASSERT|EXPECT}_LT(v1, v2):           Tests that v1 < v2
    //    * {ASSERT|EXPECT}_LE(v1, v2):           Tests that v1 <= v2
    //    * {ASSERT|EXPECT}_GT(v1, v2):           Tests that v1 > v2
    //    * {ASSERT|EXPECT}_GE(v1, v2):           Tests that v1 >= v2
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  7. cmd/import-boss/main_test.go

    		input  []string
    		expect bool
    	}{{
    		input:  nil,
    		expect: false,
    	}, {
    		input:  []string{},
    		expect: false,
    	}, {
    		input:  []string{"foo.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo.go", "bar.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    		expect: true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    		t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr)
    	}
    	if addErr != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr)
    	}
    
    	// Assert
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  9. pkg/volume/util/fsquota/quota_linux_test.go

    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) podQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(podQuotaMap), expectedPodQuotaCount)
    		}
    		if len(dirQuotaMap) != expectedDirQuotaCount {
    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) dirQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(dirQuotaMap), expectedDirQuotaCount)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. pkg/model/proxy_test.go

    func TestStringList(t *testing.T) {
    	cases := []struct {
    		in          string
    		expect      model.StringList
    		noRoundTrip bool
    	}{
    		{in: `"a,b,c"`, expect: []string{"a", "b", "c"}},
    		{in: `"\"a,b,c"`, expect: []string{`"a`, "b", "c"}},
    		{in: `"a"`, expect: []string{"a"}},
    		{in: `""`, expect: []string{}},
    		{in: `"123,@#$#,abcdef"`, expect: []string{"123", "@#$#", "abcdef"}},
    	}
    	for _, tt := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top