MCPcopy
hub / github.com/google/uuid / TestDCE

Function TestDCE

uuid_test.go:471–478  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

469}
470
471func TestDCE(t *testing.T) {
472 uuid, err := NewDCESecurity(42, 12345678)
473 testDCE(t, "NewDCESecurity", uuid, err, 42, 12345678)
474 uuid, err = NewDCEPerson()
475 testDCE(t, "NewDCEPerson", uuid, err, Person, uint32(os.Getuid()))
476 uuid, err = NewDCEGroup()
477 testDCE(t, "NewDCEGroup", uuid, err, Group, uint32(os.Getgid()))
478}
479
480type badRand struct{}
481

Callers

nothing calls this directly

Calls 4

NewDCESecurityFunction · 0.85
testDCEFunction · 0.85
NewDCEPersonFunction · 0.85
NewDCEGroupFunction · 0.85

Tested by

no test coverage detected