- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for expectedNames (0.18 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go
tests := []struct { name string in *apiextensionsv1.CustomResourceDefinition existing []*apiextensionsv1.CustomResourceDefinition expectedNames apiextensionsv1.CustomResourceDefinitionNames expectedNameConflictCondition apiextensionsv1.CustomResourceDefinitionCondition expectedEstablishedCondition apiextensionsv1.CustomResourceDefinitionCondition
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 15.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy
void recompiledFiles(Collection<File> files) { def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert changedFileNames == expectedNames } //asserts has the exact set of output files void hasFiles(File... files) { def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert getFiles { true } == expectedNames }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go
"k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2" ) type exampleHandler struct { SupportedVersions []string ExpectedNames map[string]int eventChans map[string]chan examplePluginEvent // map[pluginName]eventChan m sync.Mutex permitDeprecatedDir bool } type examplePluginEvent int const (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 12:00:49 UTC 2023 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
switch tt.object.(type) { case *v1.Pod: if _, ok := v.Object.(*v1.Pod); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } case *v1.ReplicationController: if _, ok := v.Object.(*v1.ReplicationController); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
internal/event/name_test.go
} if !testCase.expectErr { if !reflect.DeepEqual(name, testCase.expectedName) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedName, name) } } } } func TestParseName(t *testing.T) { var blankName Name testCases := []struct { s string expectedName Name expectErr bool }{ {"s3:ObjectAccessed:*", ObjectAccessedAll, false},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/connection_test.go
"gorm.io/driver/mysql" "gorm.io/gorm" ) func TestWithSingleConnection(t *testing.T) { expectedName := "test" var actualName string setSQL, getSQL := getSetSQL(DB.Dialector.Name()) if len(setSQL) == 0 || len(getSQL) == 0 { return } err := DB.Connection(func(tx *gorm.DB) error { if err := tx.Exec(setSQL, expectedName).Error; err != nil { return err }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Jan 28 14:16:42 UTC 2022 - 963 bytes - Viewed (0) -
pkg/volume/flexvolume/plugin_test.go
specJSON(plugin, spec, nil)), ) name, err := plugin.GetVolumeName(spec) if err != nil { t.Errorf("GetVolumeName() failed: %v", err) } expectedName := spec.Name() if name != expectedName { t.Errorf("GetVolumeName() returned %v instead of %v", name, expectedName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 21 06:54:44 UTC 2019 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyTest.kt
fun `if multiple property extractors have properties with the same name, first wins`() { val expectedName = "test" val schema = schemaFromTypes( MyReceiver::class, listOf(MyReceiver::class), propertyExtractor = testPropertyContributor(expectedName, typeOf<Int>()) + testPropertyContributor(expectedName, typeOf<String>()) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 15 12:19:21 UTC 2018 - 11.3K bytes - Viewed (0) -
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)