Change MethodRule to TestRule in Microbenchmark runner

As MethodRule is replaced by TestRule in JUnit4, using TestRule in
MicroBenchmark will be easier for implementation of custom rules

Bug: 123659931
Test: atest MicrobenchmarkRunnerTests
Change-Id: I045c2de02ce2804d36ccbaa1ef94a1c338bdfc77
Merged-In: I35d4a99e12fa22a901a884bc09d6a3daa5dc6ac0
2 files changed
tree: 5536204f56d6d9d1eacd6654e8dbbb1951391c9c
  1. build/
  2. docs/
  3. libraries/
  4. scripts/
  5. tests/
  6. utils/
  7. PREUPLOAD.cfg