xref: /aosp_15_r20/external/open-dice/include/dice/test_framework.h (revision 60b67249c2e226f42f35cc6cfe66c6048e0bae6b)
1*60b67249SAndroid Build Coastguard Worker // Copyright 2021 Google LLC
2*60b67249SAndroid Build Coastguard Worker //
3*60b67249SAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4*60b67249SAndroid Build Coastguard Worker // use this file except in compliance with the License. You may obtain a copy of
5*60b67249SAndroid Build Coastguard Worker // the License at
6*60b67249SAndroid Build Coastguard Worker //
7*60b67249SAndroid Build Coastguard Worker //     https://www.apache.org/licenses/LICENSE-2.0
8*60b67249SAndroid Build Coastguard Worker //
9*60b67249SAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software
10*60b67249SAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11*60b67249SAndroid Build Coastguard Worker // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12*60b67249SAndroid Build Coastguard Worker // License for the specific language governing permissions and limitations under
13*60b67249SAndroid Build Coastguard Worker // the License.
14*60b67249SAndroid Build Coastguard Worker 
15*60b67249SAndroid Build Coastguard Worker #ifndef DICE_TEST_FRAMEWORK_H_
16*60b67249SAndroid Build Coastguard Worker #define DICE_TEST_FRAMEWORK_H_
17*60b67249SAndroid Build Coastguard Worker 
18*60b67249SAndroid Build Coastguard Worker #include "gtest/gtest.h"
19*60b67249SAndroid Build Coastguard Worker 
20*60b67249SAndroid Build Coastguard Worker #ifndef DICE_USE_GTEST
21*60b67249SAndroid Build Coastguard Worker // Use pigweed's pw_unit_test::light framework instead of upstream gtest.
22*60b67249SAndroid Build Coastguard Worker #include "pw_unit_test/simple_printing_event_handler.h"
23*60b67249SAndroid Build Coastguard Worker #endif
24*60b67249SAndroid Build Coastguard Worker 
25*60b67249SAndroid Build Coastguard Worker #endif  // DICE_TEST_FRAMEWORK_H_
26