diff options
author | Alan Stokes <alanstokes@google.com> | 2020-02-04 17:35:15 +0000 |
---|---|---|
committer | Alan Stokes <alanstokes@google.com> | 2020-02-06 11:48:12 +0000 |
commit | ee59d5462c9693b2375ecb1dcf77c2c55cd7b122 (patch) | |
tree | 40e050419216a6d605e451ae88392e24fd3dc7de /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 2f6b69c5e73c108a1abff0d79d6db4f18c675b8c (diff) |
Fix ClassCastException from toArray().
toArray() returns Object[], which can't be cast to Foo[]. Switch to
toArray(Foo[]) instead.
Fixed one instance which caused test breakage, and then all the others
I could find.
Also make sure PackageInstallerSessionTest runs in presubmit. It's a
cheap unit test, and tests are more useful when they run. (This is
what I was trying to do when I discovered the test was currently
failing.)
Fixes: 148858333
Bug: 137951074
Test: atest PackageInstallerSessionTest
Change-Id: Ie0142d46f1a34cf2072aaf81b3a5f8aa76d0c1f2
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions