github.com/openshift/installer@v1.4.17/pkg/quota/quota_test.go (about) 1 package quota 2 3 import "testing" 4 5 func TestCheck(t *testing.T) { 6 cases := []struct { 7 name string 8 }{{ 9 name: "missing quota", 10 }, { 11 name: "quota with low availability", 12 }, { 13 name: "quota with no availability", 14 }, { 15 name: "available quota", 16 }, { 17 name: "available quota, quota with low availability", 18 }, { 19 name: "available quota, quota with no availability", 20 }, { 21 name: "available quota, missing quota", 22 }} 23 for _, test := range cases { 24 t.Run(test.name, func(t *testing.T) { 25 26 }) 27 } 28 }