summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-12-18 14:45:09 +0000
committer Harry Cutts <hcutts@google.com> 2024-01-02 16:06:59 +0000
commit7ecbb998346ec19efb7487603214c5b3ee978459 (patch)
treee8da039c8d5a47cca70a51b7474e2a023f45773c /libs/ultrahdr/jpegencoderhelper.cpp
parent1b5bde471d014f5a5439f28eab1b36382d373d88 (diff)
CursorInputMapper: move unit tests to InputMapperUnitTest
This puts most of CursorInputMapper's unit tests in one place (CursorInputMapper_test.cpp) and under one input mapper testing system, which will hopefully simplify future additions to the tests. The only CursorInputMapper tests remaining to be migrated are those which rely on setting an associated viewport, which I'm saving for a follow-up CL since they'll need the introduction of a fake InputDeviceContext. Also make a few smaller clean-ups: * underscores have been removed from test names, as they can cause problems in gTest; * assertions have been moved to the newer style using matchers, improving conciseness and readability; * tests for the creation of NotifyKeyArgs for certain mouse buttons have been parameterized. Bug: 283812079 Test: atest inputflinger_tests Change-Id: I0f0307dc57edcc62d0ce24b15bf0d9e8b8b915c6
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions