OpenRCT2/test/tests/tests.cpp
Hielke Morsink 0cf256ac9e Ready copyright notice for clang-format
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.

I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02:00

26 lines
848 B
C++

/*****************************************************************************
* Copyright (c) 2014-2018 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
// This serves as the entry point when building for MSVC which compiles gtest
// directly into the test binary.
#ifdef _MSC_VER
#include <gtest/gtest.h>
#include <openrct2/core/Guard.hpp>
int main(int argc, char * * argv)
{
// Abort on an assertions so the tests do not hang
Guard::SetAssertBehaviour(ASSERT_BEHAVIOUR::ABORT);
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
#endif