- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 304 for Categories (0.23 sec)
-
src/unicode/script_test.go
{0x0020, "White_Space"}, } func TestCategories(t *testing.T) { notTested := make(map[string]bool) for k := range Categories { notTested[k] = true } for _, test := range inCategoryTest { if _, ok := Categories[test.script]; !ok { t.Fatal(test.script, "not a known category") } if !Is(Categories[test.script], test.rune) { t.Errorf("IsCategory(%U, %s) = false, want true", test.rune, test.script) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 24 14:09:01 UTC 2019 - 2.9K bytes - Viewed (0) -
pkg/registry/registrytest/categoriesProvider.go
"testing" "k8s.io/apiserver/pkg/registry/rest" ) func AssertCategories(t *testing.T, storage rest.CategoriesProvider, expected []string) { actual := storage.Categories() ok := reflect.DeepEqual(actual, expected) if !ok { t.Errorf("categories are not equal. expected = %v actual = %v", expected, actual) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 23:18:12 UTC 2017 - 930 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue62430/main.go
panic(err) } s, err := p.Lookup("F") if err != nil { panic(err) } f := s.(func(string) *unicode.RangeTable) if f("C") == nil { panic("unicode.Categories not properly initialized") } else { fmt.Println("unicode.Categories properly initialized") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 13:18:51 UTC 2023 - 804 bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage.go
return nil, err } r.Store = store return r, nil } // Implement CategoriesProvider var _ rest.CategoriesProvider = &REST{} // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { return []string{"api-extensions"} } type PolicyGetter interface { // GetValidatingAdmissionPolicy returns a GetValidatingAdmissionPolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go
type REST struct { *genericregistry.Store categories []string } // Implement CategoriesProvider var _ rest.CategoriesProvider = &REST{} // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { return r.categories }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.4K bytes - Viewed (0) -
pkg/registry/apps/daemonset/storage/storage.go
func (r *REST) ShortNames() []string { return []string{"ds"} } var _ rest.CategoriesProvider = &REST{} // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { return []string{"all"} } // StatusREST implements the REST endpoint for changing the status of a daemonset type StatusREST struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.3K bytes - Viewed (0) -
pkg/registry/batch/cronjob/storage/storage.go
return &REST{store}, &StatusREST{store: &statusStore}, nil } var _ rest.CategoriesProvider = &REST{} var _ rest.ShortNamesProvider = &REST{} // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { return []string{"all"} } // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestFramework.java
LOGGER.warn("The categories " + allCategories + " are both included and excluded. " + "This will result in the categories being excluded, which may not be what was intended. " + "Please either include or exclude the categories but not both."); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/Flaky.groovy
* recognized by `JUnitPlatformOptions.includeTags/excludeTags` (<a href="https://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4-categories-support">Categories Support</a>). */ @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.TYPE, ElementType.METHOD]) @Tag("org.gradle.test.fixtures.Flaky") @interface Flaky { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go
func (r *REST) ShortNames() []string { return []string{"hpa"} } // Implement CategoriesProvider var _ rest.CategoriesProvider = &REST{} // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { return []string{"all"} } // StatusREST implements the REST endpoint for changing the status of a daemonset type StatusREST struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.6K bytes - Viewed (0)