summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-12-16 23:07:58 +0800
committerjunyulai <junyulai@google.com>2021-01-06 17:26:09 +0800
commit77bdad8d590c319438e8499610fd86ec44f94fd0 (patch)
tree8e78cbde10294c7f46e71bf1bc04a1bb5a3fe27d /rs/java/android/renderscript/RenderScript.java
parent6bc7032b854bdec4d50b070a6f158539b63fce37 (diff)
Improve error message when testing network factory
Currently, when network factory is under testing, but failed without terminating the network factory. The mocked network factory will stay registered and trigger another assertion fail in teardown(). Thus, the test suite will only shows the callstack that generated in teardown() instead of the original fail. The error message is misleading and not useful at all. Thus, safely terminate and quit mocked network factory after testing to prevent assertion fail in teardown(). Test: atest ConnectivityServiceTest#testMobileDataAlwaysOn Bug: 175180558 Change-Id: I0f96332cc05221e576bd792c6cd26d9dccb4e228
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions