MCPcopy Index your code
hub / github.com/coder/coder / main

Function main

scripts/testidp/main.go:34–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32)
33
34func main() {
35 testing.Init()
36 _ = flag.Set("test.timeout", "0")
37
38 flag.Parse()
39
40 // This is just a way to run tests outside go test
41 testing.Main(func(_, _ string) (bool, error) {
42 return true, nil
43 }, []testing.InternalTest{
44 {
45 Name: "Run Fake IDP",
46 F: RunIDP(),
47 },
48 }, nil, nil)
49}
50
51type withClientSecret struct {
52 // We never unmarshal this in prod, but we need this field for testing.

Callers

nothing calls this directly

Calls 4

RunIDPFunction · 0.85
InitMethod · 0.65
SetMethod · 0.65
ParseMethod · 0.65

Tested by

no test coverage detected