Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,321 for expect64 (0.18 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            String expected = "1";
            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/controlplane/reconcilers/instancecount.go

    // specified expected number of masters.
    func NewMasterCountEndpointReconciler(masterCount int, epAdapter EndpointsAdapter) EndpointReconciler {
    	return &masterCountEndpointReconciler{
    		masterCount: masterCount,
    		epAdapter:   epAdapter,
    	}
    }
    
    // ReconcileEndpoints sets the endpoints for the given apiserver service (ro or rw).
    // ReconcileEndpoints expects that the endpoints objects it manages will all be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/ipset/ipset_test.go

    		}
    		if len(entries) != len(testCases[i].expected) {
    			t.Errorf("expected %d ipset entries, got: %d", len(testCases[i].expected), len(entries))
    		}
    		if !reflect.DeepEqual(entries, testCases[i].expected) {
    			t.Errorf("expected entries: %v, got: %v", testCases[i].expected, entries)
    		}
    	}
    }
    
    func TestListSets(t *testing.T) {
    	output := `foo
    bar
    baz`
    
    	expected := []string{"foo", "bar", "baz"}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  8. 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)
  9. security/pkg/nodeagent/cache/secretcache_test.go

    		expected string
    	}{
    		{
    			name:     "no certs",
    			certs:    []string{},
    			expected: "",
    		},
    		{
    			name:     "single cert",
    			certs:    []string{"a"},
    			expected: "a",
    		},
    		{
    			name:     "multiple certs",
    			certs:    []string{"a", "b"},
    			expected: "a\nb",
    		},
    		{
    			name:     "existing newline",
    			certs:    []string{"a\n", "b"},
    			expected: "a\nb",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-expected.xml

    Christian Wansart <******@****.***> 1573139799 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Nov 07 15:16:39 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top