Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,632 for expect2 (0.29 sec)

  1. pkg/kubelet/kubeletconfig/util/files/files_test.go

    	if c.fn != nil {
    		errs := c.fn(fs, dir, c)
    		if len(errs) > 0 {
    			for _, err := range errs {
    				utiltest.ExpectError(t, err, c.err)
    			}
    			// skip checking expected files if we expected errors
    			// (usually means we didn't create file)
    			return
    		}
    		c.expect(t, fs, dir)
    		return
    	}
    	// just check expected files, and compare errors from c.expect to c.err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/test/testdata/fp_test.go

    	expect64(t, s+":c", c, expected)
    	expect64(t, s+":d", d, expected)
    	expect64(t, s+":e", e, expected)
    	expect64(t, s+":f", f, expected)
    	expect64(t, s+":g", g, expected)
    }
    
    func expectAll32(t *testing.T, s string, expected, a, b, c, d, e, f, g, h, i float32) {
    	expect32(t, s+":a", a, expected)
    	expect32(t, s+":b", b, expected)
    	expect32(t, s+":c", c, expected)
    	expect32(t, s+":d", d, expected)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/kubelet/util/manager/watch_based_manager_test.go

    				if !exists {
    					if tc.expects[i].expectCount != 0 {
    						t.Errorf("reference to %v/%v from %v should exists", expect.ns, expect.name, expect.referencedFrom)
    					}
    				} else if item.refMap[expect.referencedFrom] != expect.expectCount {
    					t.Errorf("expects %v but got %v", expect.expectCount, item.refMap[expect.referencedFrom])
    				}
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    func.func @empty_graph() {
     "tf_executor.graph" () ({
    // expected-error@-1 {{'tf_executor.graph' op region #0 ('body') failed to verify constraint: region with 1 blocks}}
      }) : () -> ()
      func.return
    }
    
    // -----
    
    // Check that an empty graph is invalid (it needs a region).
    func.func @empty_graph() {
     "tf_executor.graph" () ({
    // expected-error@-1 {{'tf_executor.graph' op expects a non-empty block}}
     ^entry:
      }) : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // expected-error@-1 {{use of value '%arg0' expects different type than prior uses: 'tensor<*xf32>' vs 'tensor<*xi32>'}}
      }
      func.return
    }
    
    // -----
    
    // Check that a replicate with multiple blocks in its region is invalid.
    func.func @parser_replicate_region() {
      tf_device.replicate() {n = 2 : i32} {
    // expected-error@-1 {{custom op 'tf_device.replicate' expects a single block region}}
        cf.br ^bb
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. src/regexp/find_test.go

    		}
    	}
    }
    
    func testSubmatchIndices(test *FindTest, n int, expect, result []int, t *testing.T) {
    	if len(expect) != len(result) {
    		t.Errorf("match %d: expected %d matches; got %d: %s", n, len(expect)/2, len(result)/2, test)
    		return
    	}
    	for k, e := range expect {
    		if e != result[k] {
    			t.Errorf("match %d: submatch error: expected %v got %v: %s", n, expect, result, test)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
Back to top