Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,058 for expectEq (0.15 sec)

  1. pkg/kubelet/apis/podresources/testing/provider_mock.go

    	mock := &MockDevicesProvider{ctrl: ctrl}
    	mock.recorder = &MockDevicesProviderMockRecorder{mock}
    	return mock
    }
    
    // EXPECT returns an object that allows the caller to indicate expected use.
    func (m *MockDevicesProvider) EXPECT() *MockDevicesProviderMockRecorder {
    	return m.recorder
    }
    
    // GetAllocatableDevices mocks base method.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_test.go

    }
    
    // writeReadExpect writes ss, then reads stdout and stderr until something
    // that matches expectRE appears.  expectRE should not be ""
    func (s *ioState) writeReadExpect(ss, expectRE string) tstring {
    	if *verbose {
    		fmt.Printf("=> %s", ss)
    	}
    	if expectRE == "" {
    		panic("expectRE should not be empty; use .* instead")
    	}
    	_, err := io.WriteString(s.stdin, ss)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. tests/integration/security/pass_through_filter_chain_test.go

    						// TODO(nmittler): Why does passthrough not work?
    						ConditionallyTo(echotest.SameNetwork).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							for _, expect := range tc.expected {
    								expect := expect
    								p := expect.port
    								opts := echo.CallOptions{
    									// Do not set To, otherwise fillInCallOptions() will
    									// complain with port does not match.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go

    		{Namespace: "foo", Name: "bar", Username: "foo:bar", Expect: false},
    		{Namespace: "foo", Name: "bar", Username: "", Expect: false},
    
    		{Namespace: "foo2", Name: "bar", Username: "system:serviceaccount:foo:bar", Expect: false},
    		{Namespace: "foo", Name: "bar2", Username: "system:serviceaccount:foo:bar", Expect: false},
    		{Namespace: "foo:", Name: "bar", Username: "system:serviceaccount:foo:bar", Expect: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/configurationCache/problemsKotlin/tests/configurationCacheProblemsKotlin.sample.conf

    commands: [{
      executable: gradle
      args: "--rerun-tasks someTask -DsomeDestination=dest"
      expect-failure: true
      expected-output-file: fail.out
      allow-additional-output: true
      allow-disordered-output: true
    },{
      executable: gradle
      args: "--rerun-tasks --configuration-cache-problems=warn someTask -DsomeDestination=dest"
      expect-failure: false
      expected-output-file: store.out
      allow-additional-output: true
    }, {
      executable: gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 627 bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/PathNotationConverterTest.groovy

            def file = new File("a.txt")
    
            expect:
            pathNotationParser.parseNotation(file) == file.path
        }
    
        def "with Number"() {
            expect:
            expected == pathNotationParser.parseNotation(input);
            where:
            input << [1, 1.5, -1]
            expected << ["1", "1.5", "-1"]
        }
    
        def "with Boolean"() {
            expect:
            expected == pathNotationParser.parseNotation(input);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 30 16:46:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolverTest.groovy

            def candidates = permutation.candidates
            def expected = permutation.expectedSingle
    
            expect:
            resolver(permutation.conflicts).resolve(candidates) == expected
    
            where:
            permutation << SCENARIOS_SINGLE
        }
    
        def "resolve pair #permutation (batch 1)"() {
            given:
            def candidates = permutation.candidates
            def expected = permutation.expectedSingle
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. tests/soft_delete_test.go

    	}
    }
    
    func TestDeletedAtUnMarshal(t *testing.T) {
    	expected := &gorm.Model{}
    	b, _ := json.Marshal(expected)
    
    	result := &gorm.Model{}
    	_ = json.Unmarshal(b, result)
    	if result.DeletedAt != expected.DeletedAt {
    		t.Errorf("Failed, result.DeletedAt: %v is not same as expected.DeletedAt: %v", result.DeletedAt, expected.DeletedAt)
    	}
    }
    
    func TestDeletedAtOneOr(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. pilot/pkg/xds/sds_test.go

    			request:   &model.PushRequest{Full: true},
    			expect:    map[string]Expected{},
    		},
    		{
    			name:      "multiple",
    			proxy:     &model.Proxy{VerifiedIdentity: &spiffe.Identity{Namespace: "istio-system"}, Type: model.Router},
    			resources: allResources,
    			request:   &model.PushRequest{Full: true},
    			expect: map[string]Expected{
    				"kubernetes://generic": {
    					Key:  string(genericCert.Data[credentials.GenericScrtKey]),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

                    @Internal
                    List<String> expected = []
    
                    @TaskAction
                    void validate() {
                        def actual = prop.getOrNull()
                        println 'Actual: ' + actual
                        println 'Expected: ' + expected
                        assert expected == actual
                        actual.each { assert it instanceof String }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top