MCPcopy Create free account
hub / github.com/google/gapid / Succeeded

Method Succeeded

core/assert/error.go:32–34  ·  view source on GitHub ↗

Succeeded asserts that the error value was nil.

()

Source from the content-addressed store, hash-verified

30
31// Succeeded asserts that the error value was nil.
32func (o OnError) Succeeded() bool {
33 return o.CompareRaw(o.err, "", "success").Test(o.err == nil)
34}
35
36// Failed asserts that the error value was not nil.
37func (o OnError) Failed() bool {

Callers 15

TestParseLogFunction · 0.80
TestCommandFunction · 0.80
TestCommandCaptureStdoutFunction · 0.80
TestCommandCallFunction · 0.80
TestCommandEnvironmentFunction · 0.80
TestDimensionFunction · 0.80
TestParseDevicesFunction · 0.80
TestParsePackagesFunction · 0.80
TestPidFunction · 0.80
TestRootDebugFunction · 0.80

Calls 2

TestMethod · 0.80
CompareRawMethod · 0.80

Tested by 15

TestParseLogFunction · 0.64
TestCommandFunction · 0.64
TestCommandCaptureStdoutFunction · 0.64
TestCommandCallFunction · 0.64
TestCommandEnvironmentFunction · 0.64
TestDimensionFunction · 0.64
TestParseDevicesFunction · 0.64
TestParsePackagesFunction · 0.64
TestPidFunction · 0.64
TestRootDebugFunction · 0.64