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