commit | 8b8218c01b015f3acd504f0fa5ead9ca8616a239 | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Mon Nov 28 15:36:56 2016 -0800 |
committer | Fan Zhang <zhfan@google.com> | Mon Nov 28 16:34:45 2016 -0800 |
tree | f6b069ce132e1165d82ddd18ce584d1283cbba03 | |
parent | 3d9fd0cd730460eab476749a439fb7a5f17313cb [diff] |
Add test to ensure all future fragments implements logging. The idea is: if a class is Fragment, it must also implements Instrumentable. To make the test possible, I added a structure to load all classes in current classloader, and filter to only the ones we care about. Then insepct each class definition using reflection. Bug: 32952614 Test: make RunSettingsRoboTests Change-Id: Ifa5e27c41d5ad0e84b6e9e9df81c96e8be2878c5