Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AssertCategories (0.5 sec)

  1. pkg/registry/batch/job/storage/storage_test.go

    	return p
    }
    
    func TestCategories(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Job.Store.DestroyFunc()
    	expected := []string{"all"}
    	registrytest.AssertCategories(t, storage.Job, expected)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. pkg/registry/core/replicationcontroller/storage/storage_test.go

    }
    
    func TestCategories(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Controller.Store.DestroyFunc()
    	expected := []string{"all"}
    	registrytest.AssertCategories(t, storage.Controller, expected)
    }
    
    func TestScalePatchErrors(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	validObj := validController
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage_test.go

    func TestGenericCategories(t *testing.T) {
    	storage, _, server := newStorage(t, []api.IPFamily{api.IPv4Protocol})
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	expected := []string{"all"}
    	registrytest.AssertCategories(t, storage, expected)
    }
    
    //
    // Tests of internal functions
    //
    
    func TestNormalizeClusterIPs(t *testing.T) {
    	makeServiceWithClusterIp := func(clusterIP string, clusterIPs []string) *api.Service {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top