Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 494 for desc1 (0.03 sec)

  1. operator/pkg/compare/compare_test.go

    )
    
    func TestYAMLCmp(t *testing.T) {
    	tests := []struct {
    		desc string
    		a    string
    		b    string
    		want any
    	}{
    		{
    			desc: "empty string into nil",
    			a:    `metadata: ""`,
    			b:    `metadata: `,
    			want: ``,
    		},
    		{
    			desc: "empty array into nil",
    			a:    `metadata: []`,
    			b:    `metadata: `,
    			want: ``,
    		},
    		{
    			desc: "empty map into nil",
    			a:    `metadata: {}`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  2. pkg/apis/discovery/v1beta1/conversion_test.go

    )
    
    func TestEndpointZoneConverstion(t *testing.T) {
    	testcases := []struct {
    		desc     string
    		external v1beta1.Endpoint
    		internal discovery.Endpoint
    	}{
    		{
    			desc:     "no topology field",
    			external: v1beta1.Endpoint{},
    			internal: discovery.Endpoint{},
    		},
    		{
    			desc: "non empty topology map, but no zone",
    			external: v1beta1.Endpoint{
    				Topology: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberSelector.java

        @Override
        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
            AnnotationMember ann = new AnnotationMember(desc, visible);
            classMember.addAnnotation(ann);
            return new SortingAnnotationVisitor(ann, super.visitAnnotation(desc, visible));
        }
    
        @Override
        public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. cluster/images/etcd/migrate/options_test.go

    func TestFallbackToEnv(t *testing.T) {
    	testCases := []struct {
    		desc          string
    		env           string
    		value         string
    		valueSet      bool
    		expectedValue string
    		expectedError bool
    	}{
    		{
    			desc:          "value unset",
    			env:           "FOO",
    			valueSet:      false,
    			expectedValue: "",
    			expectedError: true,
    		},
    		{
    			desc:          "value set empty",
    			env:           "FOO",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:55:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/convert_test.go

    	"istio.io/istio/pkg/model"
    )
    
    // nolint: lll
    func TestTlsContextConvert(t *testing.T) {
    	tests := []struct {
    		desc         string
    		tls          *networkingAPI.ClientTLSSettings
    		sni          string
    		meta         *model.BootstrapNodeMetadata
    		expectTLSCtx string
    	}{
    		{
    			desc:         "no-tls",
    			tls:          &networkingAPI.ClientTLSSettings{},
    			sni:          "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/kubelet/network/dns/dns_test.go

    		},
    	}
    
    	testCases := []struct {
    		desc         string
    		hostNames    []string
    		resultSearch []string
    		events       []string
    	}{
    		{
    			desc:         "valid: 3 search paths",
    			hostNames:    []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			events:       []string{},
    		},
    
    		{
    			desc:         "valid: 5 search paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. operator/pkg/tpath/struct_test.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestGetFromStructPath(t *testing.T) {
    	tests := []struct {
    		desc      string
    		nodeYAML  string
    		path      string
    		wantYAML  string
    		wantFound bool
    		wantErr   string
    	}{
    		{
    			desc: "GetStructItem",
    			nodeYAML: `
    a: va
    b: vb
    c:
      d: vd
      e:
        f: vf
    g:
      h:
      - i: vi
        j: vj
        k:
          l:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. pkg/controller/nodeipam/ipam/sync/sync_test.go

    	t.Parallel()
    
    	for _, tc := range []struct {
    		desc string
    		mode NodeSyncMode
    		node *v1.Node
    		fake fakeAPIs
    	}{
    		{
    			desc: "delete",
    			mode: SyncFromCluster,
    			node: nodeWithCIDRRange,
    		},
    		{
    			desc: "delete without CIDR range",
    			mode: SyncFromCluster,
    			node: nodeWithoutCIDRRange,
    		},
    		{
    			desc: "delete with invalid CIDR range",
    			mode: SyncFromCluster,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route_test.go

    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    			expected: "",
    		},
    		{
    			desc:     "test only one domain",
    			domains:  []string{"example.com"},
    			expected: "example.com",
    		},
    		{
    			desc:     "test domains with port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. cluster/gce/gci/append_or_replace_prefixed_line_test.go

    func TestAppendOrReplacePrefix(t *testing.T) {
    	testCases := []struct {
    		desc                string
    		prefix              string
    		suffix              string
    		initialFileContents string
    		want                string
    	}{
    		{
    			desc:   "simple string and empty file",
    			prefix: "hello",
    			suffix: "world",
    			want: `helloworld
    `,
    		},
    		{
    			desc:   "simple string and non empty file",
    			prefix: "hello",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4K bytes
    - Viewed (0)
Back to top