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

Method constructor

browsertests/testdata/testfixture.js:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3// an array of the form ["LOG", ...], or ["ERROR", ...].
4class TestFixture {
5 constructor() {
6 this.context = ""; // Added to front of all log and error messages.
7 this.result = [];
8 }
9
10 run(name, subtest) {
11 this.result.push(["LOG", "===", name]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected