// TestHasFieldsType makes sure that we fail if we don't have a // FieldsType set properly. func TestHasFieldsType(t *testing.T) { … } // TestHasAPIVersion makes sure that we fail if we don't have an // APIVersion set. func TestHasAPIVersion(t *testing.T) { … } // TestHasOperation makes sure that we fail if we don't have an // Operation set properly. func TestHasOperation(t *testing.T) { … } // TestRoundTripManagedFields will roundtrip ManagedFields from the wire format // (api format) to the format used by sigs.k8s.io/structured-merge-diff and back func TestRoundTripManagedFields(t *testing.T) { … } func TestBuildManagerIdentifier(t *testing.T) { … } func TestSortEncodedManagedFields(t *testing.T) { … } func parseTimeOrPanic(s string) *metav1.Time { … }