summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYan Han <yanha@google.com>2020-11-30 10:52:57 +0100
committerYan Han <yanha@google.com>2020-12-01 16:38:01 +0100
commit5d9eed597ba324640aeab5c59bd978e925ed6c88 (patch)
treeccc6b9d096564a8d2d02e14f1fea1a697452b41a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3a9b54f70487cd139c9c4d1bf740cf30a3564aba (diff)
Refactor CecMessageBuffer to live in its own file
This allows tests to use Mockito spies instead of anonymous classes to override methods in HdmiControlService. Using a spy caused runtime errors because CecMessageBuffer, as an inner class, would call methods on the original, uninitialized instance of HdmiControlService instead of the spy. Test: atest Change-Id: If255e7b73b5f15c27ecd5dfb7a37993663f39a48
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions