MCPcopy Create free account
hub / github.com/google/pprof / TestComposeWithEmptyGraph

Function TestComposeWithEmptyGraph

internal/graph/dotgraph_test.go:120–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

118}
119
120func TestComposeWithEmptyGraph(t *testing.T) {
121 g := &Graph{}
122 a, c := baseAttrsAndConfig()
123
124 var buf bytes.Buffer
125 ComposeDot(&buf, g, a, c)
126
127 compareGraphs(t, buf.Bytes(), "compose4.dot")
128}
129
130func TestComposeWithStandardGraphAndURL(t *testing.T) {
131 g := baseGraph()

Callers

nothing calls this directly

Calls 3

baseAttrsAndConfigFunction · 0.85
ComposeDotFunction · 0.85
compareGraphsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…