File: golden.mock_test

package info (click to toggle)
golang-github-jacobsa-ogletest 0.0~git20170503.80d50a7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 296 kB
  • sloc: makefile: 6
file content (25 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[----------] Running tests from MockTest
[ RUN      ] MockTest.ExpectationSatisfied
[       OK ] MockTest.ExpectationSatisfied
[ RUN      ] MockTest.MockExpectationNotSatisfied
/some/path/mock_test.go:56:
Unsatisfied expectation; expected At to be called at least 1 times; called 0 times.

[  FAILED  ] MockTest.MockExpectationNotSatisfied
[ RUN      ] MockTest.ExpectCallForUnknownMethod
/some/path/mock_test.go:61:
Unknown method: FooBar

[  FAILED  ] MockTest.ExpectCallForUnknownMethod
[ RUN      ] MockTest.UnexpectedCall
/some/path/mock_test.go:65:
Unexpected call to At with args: [11 23]

[  FAILED  ] MockTest.UnexpectedCall
[ RUN      ] MockTest.InvokeFunction
[       OK ] MockTest.InvokeFunction
[----------] Finished with tests from MockTest
--- FAIL: TestSomething (1.23s)
FAIL
exit status 1
FAIL somepkg 1.234s