X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Ftest%2Fmain%2Fmain.cpp;fp=src%2Ftest%2Fmain%2Fmain.cpp;h=08adf1035b65c0eaf89cb709bc9fb347eb722c8c;hb=8f2ee00f4edef1693628d3af0bdee84d725eb754;hp=0000000000000000000000000000000000000000;hpb=8111304ae2fa60ac1d20520cfdd3e5b4930bce8b;p=quassel.git diff --git a/src/test/main/main.cpp b/src/test/main/main.cpp new file mode 100644 index 00000000..08adf103 --- /dev/null +++ b/src/test/main/main.cpp @@ -0,0 +1,33 @@ +/*************************************************************************** + * Copyright (C) 2005-2018 by the Quassel Project * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include "test-main-export.h" + +#include + +#include + +TEST_MAIN_EXPORT int main(int argc, char **argv) +{ + ::testing::InitGoogleTest(&argc, argv); + QCoreApplication app(argc, argv); + + return RUN_ALL_TESTS(); +}