Description[Cronet] Add null-check to avoid crashing case where no tests are run
This can happen in testAndroidTestCaseSetupProperly(), see
https://d.android.com/reference/android/test/AndroidTestCase.html#testAndroidTestCaseSetupProperly()
which is an empty test case. Chromium avoids this but other test systems don't.
Also, remove a redundant loadLibrary call.
R=xunjieli@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Review-Url: https://codereview.chromium.org/2909223004
Cr-Commit-Position: refs/heads/master@{#475743}
Committed: https://chromium.googlesource.com/chromium/src/+/7b8a2743d650598f5a326d4794cf04645fb7a232
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|