Add mock test classes for CryptAuthKey{Creator,ProofComputer}
These mock classes override the lone function of their parent classes. The functions simply store the input parameters, and they can only be called once. The classes also provides accessors to these input parameters. Notably, the callback can be retrieved and called with any desired arguments. Bug: 899080 Change-Id: I489ac90964f547b78933258162565cd22bf8e88b Reviewed-on: https://chromium-review.googlesource.com/c/1469292 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#632282}
Showing
Please register or sign in to comment