Description[Chromecast] Capabilities do not get removed when Validators unregister.
Also removing capability value initialization from Register().
This is done separately now.
The unit tests were checking the internal dictionary to test the
result of capability changes. This is incorrect. They have
been changed to use the public GetCapability() accessor.
Also adding a GetValidator() method that is currently used
in unit tests but also can be useful in future for checking if
a Validator is currently registered for a capability.
TEST=cast_base_unittests
BUG=
Committed: https://crrev.com/179e89659c89c0f738286374e6084b77c8c82c14
Cr-Commit-Position: refs/heads/master@{#353945}
Patch Set 1 #Patch Set 2 : Unregister() does not remove capability. Register() does not take initial value. #
Messages
Total messages: 12 (2 generated)
|