const defaultNS … const defaultPVCName … const defaultPVName … type TestCase … func pvc() *v1.PersistentVolumeClaim { … } func pv() *v1.PersistentVolume { … } func TestIsDeletionCandidateLackDeleteTimeAndFinalizer(t *testing.T) { … } func TestIsDeletionCandidateLackDeleteTime(t *testing.T) { … } func TestIsDeletionCandidateLackFinalizer(t *testing.T) { … } func TestIsDeletionCandidateSuccess(t *testing.T) { … } func TestNeedToAddFinalizerHasDeleteTimeAndFinalizer(t *testing.T) { … } func TestNeedToAddFinalizerHasDeleteTime(t *testing.T) { … } func TestNeedToAddFinalizerHasFinalizer(t *testing.T) { … } func TestNeedToAddFinalizerSuccess(t *testing.T) { … }