kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/delete/delete_test.go

func fakecmd() *cobra.Command {}

func TestDeleteFlagValidation(t *testing.T) {}

func TestDeleteObjectByTuple(t *testing.T) {}

func hasExpectedPropagationPolicy(body io.ReadCloser, policy *metav1.DeletionPropagation) bool {}

// TestCascadingStrategy tests that DeleteOptions.DeletionPropagation is appropriately set while deleting objects.
func TestCascadingStrategy(t *testing.T) {}

func TestDeleteNamedObject(t *testing.T) {}

func TestDeleteObject(t *testing.T) {}

func TestPreviewResultEqualToResult(t *testing.T) {}

func TestDeleteObjectWithInteractive(t *testing.T) {}

func TestGracePeriodScenarios(t *testing.T) {}

func TestDeleteObjectNotFound(t *testing.T) {}

func TestDeleteObjectIgnoreNotFound(t *testing.T) {}

func TestDeleteAllNotFound(t *testing.T) {}

func TestDeleteAllIgnoreNotFound(t *testing.T) {}

func TestDeleteMultipleObject(t *testing.T) {}

func TestDeleteMultipleObjectContinueOnMissing(t *testing.T) {}

func TestDeleteMultipleResourcesWithTheSameName(t *testing.T) {}

func TestDeleteDirectory(t *testing.T) {}

func TestDeleteMultipleSelector(t *testing.T) {}

func TestResourceErrors(t *testing.T) {}