commit | b16a719a020d7546a729c109981568ad366f0851 | [log] [tgz] |
---|---|---|
author | linxinan <linxinan@google.com> | Tue Nov 13 14:33:31 2018 +0900 |
committer | Xinan Lin <linxinan@google.com> | Tue Nov 20 01:25:50 2018 +0000 |
tree | 0fb59eaf658c902a019c9655da28137e0e6c3e8b | |
parent | c54af688ebcdc3c04a5d92bb2327cf5443b01842 [diff] |
kunit: mock: print the mock method name when the return value is missing 1. not check the type of retval, the return from the mock method. 2. abort the test and output the mock method name in the error message, if the return value is empty. Google-Bug-Id: 110154346 Signed-off-by: Lin Xinan <linxinan@google.com> Change-Id: Ife1ac37153284e2583c0e5c13ada6288cd5c2cfe