commit | d7ab8a1e8211981c4912fae59cbe935dd1a56246 | [log] [tgz] |
---|---|---|
author | Nicolas LaCasse <nlacasse@google.com> | Tue Feb 03 11:46:29 2015 -0800 |
committer | Nicolas LaCasse <nlacasse@google.com> | Tue Feb 03 11:46:43 2015 -0800 |
tree | dff2fc649c2fee44b3a299a4da49c6cefcfc12ba | |
parent | 9dec6d63f7355c0b17c79529811f1e0a4ba493f7 [diff] |
Fix nil-pointer panic in wspr. When MethodSignature is called from Prepare, a nil ctx is passed in. We have to check for ctx==nil, and pass nil into verror.Make. This CL also adds tests for the case when MethodNotFound and WrongNumberOfArg errors are returned, and cleans up the app_test a bit. Change-Id: I907223d392012482802bdceb0b182c81e8933849