Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedNames (0.12 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. pkg/volume/iscsi/iscsi_test.go

    							Lun:          0,
    						},
    					},
    				},
    			},
    			expectedName:  "",
    			expectedNs:    "",
    			expectedError: nil,
    		},
    	}
    	for _, testcase := range tests {
    		resultName, resultNs, err := getISCSISecretNameAndNamespace(testcase.spec, testcase.defaultNs)
    		if err != testcase.expectedError || resultName != testcase.expectedName || resultNs != testcase.expectedNs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    	}
    }
    
    func TestGetters(t *testing.T) {
    	expectedName := "flag set"
    	expectedErrorHandling := ContinueOnError
    	expectedOutput := io.Writer(os.Stderr)
    	fs := NewFlagSet(expectedName, expectedErrorHandling)
    
    	if fs.Name() != expectedName {
    		t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
    	}
    	if fs.ErrorHandling() != expectedErrorHandling {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. operator/pkg/object/objects_test.go

    					t.Errorf("error reading test data file: %v", err)
    				}
    				expectedYAMLs := strings.Split(string(expectedYAML), "---")
    				if len(expectedYAMLs) != len(objects) {
    					t.Errorf("expected %d objects, got %d", len(expectedYAMLs), len(objects))
    				}
    				for i, obj := range objects {
    					assert.Equal(t, true, compareYAMLContent(string(obj.yaml), expectedYAMLs[i]))
    				}
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top