Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for tt (0.16 sec)

  1. istioctl/pkg/util/handlers/handlers_test.go

    			wantNamespace: "istio-system",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(strings.Split(tt.proxyName, ".")[0], func(t *testing.T) {
    			gotPodName, gotNamespace := InferPodInfo(tt.proxyName, tt.namespace)
    			if gotPodName != tt.wantPodName || gotNamespace != tt.wantNamespace {
    				t.Errorf("unexpected podName and namespace: wanted %v %v got %v %v", tt.wantPodName, tt.wantNamespace, gotPodName, gotNamespace)
    			}
    		})
    	}
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/text/TokenizerTest.java

            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWhitespace() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("\t       \n");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    				} else if err != nil && !tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err)
    				}
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret)
    			}
    			if tt.wantOutputWorkload != "" {
    				wf := WorkloadFilter{Verbose: true}
    				if tt.configNamespace != "" {
    					wf.Namespace = tt.configNamespace
    				}
    				err := cw.PrintWorkloadSummary(wf)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * <tt>domain\\username</tt>. This is equivalent to <tt>toString()</tt>.
         */
        @Override
        public String getName () {
            boolean d = this.domain != null && this.domain.length() > 0;
            return d ? this.domain + "\\" + this.username : this.username;
        }
    
    
        /**
         * Compares two <tt>NtlmPasswordAuthentication</tt> objects for equality.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock_test.go

    			expectErr:   false,
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run("", func(t *testing.T) {
    			_, err := ParseObjectLockConfig(strings.NewReader(tt.value))
    			//nolint:gocritic
    			if tt.expectedErr == nil {
    				if err != nil {
    					t.Fatalf("error: expected = <nil>, got = %v", err)
    				}
    			} else if err == nil {
    				t.Fatalf("error: expected = %v, got = <nil>", tt.expectedErr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt> but they may
     * also be resolved to yield the name of the associated Windows account
     * such as <tt>Administrators</tt> or <tt>MYDOM\alice</tt>.
     * <p>
     * Consider the following output of <tt>examples/SidLookup.java</tt>:
     * 
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_test.go

    		},
    	} {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener_test.go

    						Pipe: &core.Pipe{Path: "unix:///dev/shm/uds.socket"},
    					},
    				},
    			},
    			expect: true,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if got := tt.inFilter.Verify(tt.inListener); got != tt.expect {
    				t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. cmd/metacache_test.go

    		},
    		{
    			name:   "folderfolder",
    			prefix: "prefix/prefix2/",
    			want:   "prefix/prefix2/",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := baseDirFromPrefix(tt.prefix); got != tt.want {
    				t.Errorf("baseDirFromPrefix() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_metacache_finished(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    			keys:     []string{"etag", "xyz"},
    			want:     map[string]string{"content-type": "application/octet-stream"},
    		},
    	}
    	for _, tt := range tests {
    		if got := cleanMetadataKeys(tt.metadata, tt.keys...); !reflect.DeepEqual(got, tt.want) {
    			t.Errorf("Test %s failed, expected %v, got %v", tt.name, tt.want, got)
    		}
    	}
    }
    
    // Tests isCompressed method
    func TestIsCompressed(t *testing.T) {
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top