Current BaseInstrumentationTestRunner utilize CommandLineFlags.getRegistrationHook() would be default regard/cast the test target apk application as BaseChromiumApplication. However, there are WebView related apks (system webview shell) that doesn't use BaseChromiumApplication as their <application>.
This CL is to separate none BaseChromiumApplication related component from BaseInstrumentationTestRunner, so that the webview related apks can still utilize features like customized test annotations
https://codereview.chromium.org/2013113002
Comment 1 by yolandyan@chromium.org
, May 26 2016