commit | 3e8b49deee37c13908f6ea236a247b3421188ff2 | [log] [tgz] |
---|---|---|
author | felipeal <felipeal@google.com> | Mon Apr 27 14:16:43 2020 -0700 |
committer | Felipe Leme <felipeal@google.com> | Mon Apr 27 20:55:40 2020 -0700 |
tree | 23314e4d5c9eaad7c44329f3d199a05a59900979 | |
parent | ae933524d9cb0e05dcfede93fba670642ee94710 [diff] |
Jumpstarted the android.car.test.utils package. This package will provide generic, test-related classes, such as AbstractExtendMockitoTestCase, which can be user to make it easier to mock static classes and final methods. This CL also refactored all (?) classes that uses ExtendMockito to inherit from that class instead. Bug: 149099817 Test: atest \ ICarImplTest CarUserManagerHelperTest InitialUserSetterTest \ UserHelperTest CarPowerManagementServiceTest \ CarAudioSettingsUnitTest CarWatchdogServiceTest \ InstrumentClusterServiceTest VendorServiceControllerTest \ CarUserManagerUnitTest CarUserNoticeServiceTest CarUserServiceTest Change-Id: I9b179f3dd20484ad55aed925d7a4a219efffae95
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.