MCPcopy Create free account
hub / github.com/clouditor/clouditor / NotNil

Function NotNil

internal/testutil/assert/assert.go:90–94  ·  view source on GitHub ↗
(t *testing.T, obj T)

Source from the content-addressed store, hash-verified

88}
89
90func NotNil[T any](t *testing.T, obj T) bool {
91 t.Helper()
92
93 return assert.NotNil(t, obj)
94}
95
96func Empty[T any](t *testing.T, obj T) bool {
97 t.Helper()

Callers 15

TestNewServiceFunction · 0.92
TestDefaultServiceSpecFunction · 0.92
TestNewServiceFunction · 0.92
TestDefaultServiceSpecFunction · 0.92
TestListIngressesFunction · 0.92
TestAwsS3Discovery_ListFunction · 0.92
TestNewServiceFunction · 0.92
TestDefaultServiceSpecFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestNewServiceFunction · 0.74
TestDefaultServiceSpecFunction · 0.74
TestNewServiceFunction · 0.74
TestDefaultServiceSpecFunction · 0.74
TestListIngressesFunction · 0.74
TestAwsS3Discovery_ListFunction · 0.74
TestNewServiceFunction · 0.74
TestDefaultServiceSpecFunction · 0.74