(t *testing.T, got *accountAuth, source string, refreshable bool, authFile string)
| 235 | } |
| 236 | |
| 237 | func assertAccountAuth(t *testing.T, got *accountAuth, source string, refreshable bool, authFile string) { |
| 238 | t.Helper() |
| 239 | |
| 240 | if got == nil { |
| 241 | t.Fatal("auth = nil, want auth context") |
| 242 | } |
| 243 | if got.Source != source || got.Refreshable != refreshable || got.AuthFile != authFile { |
| 244 | t.Fatalf("auth = %#v, want source=%q refreshable=%t auth_file=%q", got, source, refreshable, authFile) |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | func testFullAccount() *users.FullAccount { |
| 249 | account := users.NewFullAccount( |
no outgoing calls
no test coverage detected