Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,162 for expectEq (0.11 sec)

  1. 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        }
    
        /**
         * Expects exactly the given number of calls to be made concurrently from any combination of the expected calls. Blocks each call until they are explicitly released.
         * Is not considered "complete" until all expected calls have been received.
         */
        public BlockingHandler expectConcurrentAndBlock(int concurrent, String... expectedCalls) {
    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. tensorflow/c/while_loop_test.cc

        outputs_.resize(ninputs, {nullptr, -1});
      }
    
      void ExpectOK() {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void ExpectError(TF_Code expected_code, const string& expected_msg) {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(expected_code, TF_GetCode(s_));
        EXPECT_EQ(expected_msg, TF_Message(s_));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    	goldenFile := filepath.Join("testdata", name+".golden")
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func TestBuilder(t *testing.T) {
    	cases := []struct {
    		name         string
    		expectV4     bool
    		expectV6     bool
    		config       func(builder *IptablesRuleBuilder)
    		sharedGolden bool
    	}{
    		{
    			"insert-single-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/jit/node_matchers_test.cc

      EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())),
                "\nexpected 0 inputs but node has 2");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))),
          "\ninput 0 does not match expected:\nname: blah, \nsource does not match "
          "expected name: blah\n\t\nexpected name blah but found placeholder_a");
      EXPECT_EQ(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K 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. tensorflow/c/experimental/ops/gen/common/case_format_test.cc

      string upper_snake;
    };
    
    void TestSingleVariation(const string &str, Variations expected,
                             char delimiter = '_') {
      EXPECT_EQ(expected.lower_camel, toLowerCamel(str, delimiter));
      EXPECT_EQ(expected.lower_snake, toLowerSnake(str, delimiter));
      EXPECT_EQ(expected.upper_camel, toUpperCamel(str, delimiter));
      EXPECT_EQ(expected.upper_snake, toUpperSnake(str, delimiter));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. cmd/import-boss/main_test.go

    		if ret != tc.expect {
    			t.Errorf("[%d] expected %v, got %v: %q", i, tc.expect, ret, tc.input)
    		}
    	}
    }
    
    func TestHasPathPrefix(t *testing.T) {
    	cases := []struct {
    		base   string
    		pfx    string
    		expect bool
    	}{{
    		base:   "",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "/foo/bar",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "",
    		pfx:    "/foo",
    		expect: false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top