summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2020-09-09 15:56:56 +0100
committerTobias Thierer <tobiast@google.com>2020-09-09 23:16:53 +0100
commit6bf181df87c0d782e095ab6617cbc4240f0cf418 (patch)
tree0cb4fe31093aa7e82025fdaa056fe6d71f2748e6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent93e9bcf5304f18728396508742ed861f55409a2b (diff)
HexDumpTest: Fix assertion.
Commit e121ca0a629580422fb4ca6af998f19e5b22f033 added test coverage, including a helper function assertThrows(). The implementation of that method was buggy because it only failed the test if it was throwing the wrong kind of RuntimeException, instead of also when the code under test wasn't throwing an exception at all. This CL fixes the helper function. The test still passes (none of the code under test was relying on the incorrect assertion). Test: atest FrameworksCoreTests:com.android.internal.util.HexDumpTest Change-Id: I8fe3e70ada8b880a03e124cb48e204e7bb880e57
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions