MCPcopy Create free account
hub / github.com/crewjam/saml / Read

Method Read

service_provider_test.go:47–53  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

45}
46
47func (tr *testRandomReader) Read(p []byte) (n int, err error) {
48 for i := 0; i < len(p); i++ {
49 p[i] = tr.Next
50 tr.Next += 2
51 }
52 return len(p), nil
53}
54
55func NewServiceProviderTest(t *testing.T) *ServiceProviderTest {
56 TimeNow = func() time.Time {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected