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

Method Failed

core/assert/error.go:37–39  ·  view source on GitHub ↗

Failed asserts that the error value was not nil.

()

Source from the content-addressed store, hash-verified

35
36// Failed asserts that the error value was not nil.
37func (o OnError) Failed() bool {
38 return o.ExpectRaw("", "failure").Test(o.err != nil)
39}
40
41// Equals asserts that the error value matches the expected error.
42func (o OnError) Equals(expect error) bool {

Callers 13

TestPidFunction · 0.80
TestScreenStateFunction · 0.80
TestParseTooLongIDFunction · 0.80
TestParseTruncatedIDFunction · 0.80
TestParseInvalidIDFunction · 0.80
TestInvalidUnarshalJSONFunction · 0.80
TestChoiceParsingFunction · 0.80
TestPipeListener_CloseFunction · 0.80
TestDialPipeCtxTimeoutFunction · 0.80
TestDialPipeCtxCancelFunction · 0.80
ExampleErrorsFunction · 0.80
TestBasicAllocatorFunction · 0.80

Calls 2

TestMethod · 0.80
ExpectRawMethod · 0.80

Tested by 13

TestPidFunction · 0.64
TestScreenStateFunction · 0.64
TestParseTooLongIDFunction · 0.64
TestParseTruncatedIDFunction · 0.64
TestParseInvalidIDFunction · 0.64
TestInvalidUnarshalJSONFunction · 0.64
TestChoiceParsingFunction · 0.64
TestPipeListener_CloseFunction · 0.64
TestDialPipeCtxTimeoutFunction · 0.64
TestDialPipeCtxCancelFunction · 0.64
ExampleErrorsFunction · 0.64
TestBasicAllocatorFunction · 0.64