| commit | 713ed8576e7cac157742505874d256d102fbe768 | [log] [tgz] |
|---|---|---|
| author | Harry Zhang <harrytczhang@google.com> | Fri May 14 15:12:28 2021 -0700 |
| committer | Harry Zhang <harrytczhang@google.com> | Thu Jul 22 15:56:25 2021 -0700 |
| tree | dcf8d07b399e73e71840e6473f86bb83c8834a75 | |
| parent | 3b2247d2fc73256c4169997e815bd8b3028dc088 [diff] |
Add a rule that loads rules dynamically. Rules are passed in via instrumentation arguments. Rules that are from the package android.platform.test.rule can be passed in via their simple class name. Fully qualified class name is supported for all rules. In subsequent CLs, this rule will be added to our test runners so that we can load rules at runtime. Bug: 123281375 Test: atest PlatformRuleTests:DynamicRuleChainTest Change-Id: Id67cc291d8673b801d08f2d05b241461b7c5820f