Description[NTP Client] Throw when unregistered feature is queried in tests
Allows to register features and explicitly specifying if they should
be enabled or not, and now throws an exception when the status of
an unregistered feature is queried.
Syntax changes from
@EnableFeatures({"Foo", "Bar"})
to
@Features({
@Features.Register("Foo"),
@Features.Register(value = "Bar", enabled = true),
@Features.Register(value = "Baz", enabled = false)})
BUG=None
Review-Url: https://codereview.chromium.org/2723003010
Cr-Commit-Position: refs/heads/master@{#454908}
Committed: https://chromium.googlesource.com/chromium/src/+/715f098c8b479c868c9541dab6cb9e33781de43f
Patch Set 1 #Depends on Patchset: Messages
Total messages: 14 (9 generated)
|