Actually skip tests annotated with @Manual

Even though @Manual was added more than three years ago, it appears that
it never prevented any tests from running.

Introduce a ManualSkipCheck that skips such tests. Also, add a unit
test that instantiates and runs a ClassRunner, to verify that the check
is properly executed. The test infrastructure for that could also be
reused in other tests.

TBR: jbudorick@chromium.org
Bug: 831589
Change-Id: I2e2c105cdc4308fedee3f8f330feda5f055a4310
Reviewed-on: https://chromium-review.googlesource.com/1066092
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: Bernhard Bauer <bauerb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560272}

CrOS-Libchrome-Original-Commit: 4dd55649af58ea43cfd66befb80c27de4770b6c9
3 files changed
tree: cb1885f59f9d7151f30c36d1cc3232a77cd24c1b
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/