Method
Run
(name string, f func(t T))
Source from the content-addressed store, hash-verified
| 389 | } |
| 390 | |
| 391 | func (c *testContext) Run(name string, f func(t T)) bool { |
| 392 | c.T.Helper() |
| 393 | return c.T.Run(name, func(t *testing.T) { |
| 394 | t.Helper() |
| 395 | f(&testContext{ |
| 396 | t, |
| 397 | c.cfg, |
| 398 | c.lock, |
| 399 | c.users, |
| 400 | c.authPort, |
| 401 | c.sshPort, |
| 402 | c.lifecycle, |
| 403 | c.sshConn, |
| 404 | nil, |
| 405 | nil, |
| 406 | }) |
| 407 | }) |
| 408 | } |
| 409 | |
| 410 | type authHandler struct { |
| 411 | userdb AuthUserStorage |
Callers
nothing calls this directly
Tested by
no test coverage detected