gtest_main.cc revision 41d0579e8de9ef4ff178fc4991043c61a19943f7
15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Copyright 2006, Google Inc.
25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// All rights reserved.
35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//
45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Redistribution and use in source and binary forms, with or without
55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// modification, are permitted provided that the following conditions are
65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// met:
75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//
85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//     * Redistributions of source code must retain the above copyright
95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// notice, this list of conditions and the following disclaimer.
105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//     * Redistributions in binary form must reproduce the above
115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// copyright notice, this list of conditions and the following disclaimer
125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// in the documentation and/or other materials provided with the
135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// distribution.
145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//     * Neither the name of Google Inc. nor the names of its
155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// contributors may be used to endorse or promote products derived from
165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// this software without specific prior written permission.
175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)//
185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
265f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include <iostream>
315f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
325f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "gtest/gtest.h"
335f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
345f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)GTEST_API_ int main(int argc, char **argv) {
355f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)  std::cout << "Running main() from gtest_main.cc\n";
365f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)
375f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)  testing::InitGoogleTest(&argc, argv);
385f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)  return RUN_ALL_TESTS();
395f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)}
405f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)