xref: /aosp_15_r20/system/teeui/test/example_config/test_main.cpp (revision 20bfefbe1966c142a35ae1ab84a8af250b3fd403)
1*20bfefbeSAndroid Build Coastguard Worker /*
2*20bfefbeSAndroid Build Coastguard Worker  *
3*20bfefbeSAndroid Build Coastguard Worker  * Copyright 2020, The Android Open Source Project
4*20bfefbeSAndroid Build Coastguard Worker  *
5*20bfefbeSAndroid Build Coastguard Worker  * Licensed under the Apache License, Version 2.0 (the "License");
6*20bfefbeSAndroid Build Coastguard Worker  * you may not use this file except in compliance with the License.
7*20bfefbeSAndroid Build Coastguard Worker  * You may obtain a copy of the License at
8*20bfefbeSAndroid Build Coastguard Worker  *
9*20bfefbeSAndroid Build Coastguard Worker  *     http://www.apache.org/licenses/LICENSE-2.0
10*20bfefbeSAndroid Build Coastguard Worker  *
11*20bfefbeSAndroid Build Coastguard Worker  * Unless required by applicable law or agreed to in writing, software
12*20bfefbeSAndroid Build Coastguard Worker  * distributed under the License is distributed on an "AS IS" BASIS,
13*20bfefbeSAndroid Build Coastguard Worker  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*20bfefbeSAndroid Build Coastguard Worker  * See the License for the specific language governing permissions and
15*20bfefbeSAndroid Build Coastguard Worker  * limitations under the License.
16*20bfefbeSAndroid Build Coastguard Worker  */
17*20bfefbeSAndroid Build Coastguard Worker 
18*20bfefbeSAndroid Build Coastguard Worker #include <gtest/gtest.h>
19*20bfefbeSAndroid Build Coastguard Worker #include <teeui/test/teeui_render_test.h>
20*20bfefbeSAndroid Build Coastguard Worker 
main(int argc,char ** argv)21*20bfefbeSAndroid Build Coastguard Worker int main(int argc, char** argv) {
22*20bfefbeSAndroid Build Coastguard Worker     ::testing::InitGoogleTest(&argc, argv);
23*20bfefbeSAndroid Build Coastguard Worker     teeui::test::initRenderTest(argc, argv);
24*20bfefbeSAndroid Build Coastguard Worker     return RUN_ALL_TESTS();
25*20bfefbeSAndroid Build Coastguard Worker }
26