https://mooseframework.inl.gov
Loading...
Searching...
No Matches
main.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#include <fstream>
11#include <string>
12
13#include "Moose.h"
14#include "MooseInit.h"
15#include "AppFactory.h"
16
17#include "gtest/gtest.h"
18
19#include "XFEMApp.h"
20
21GTEST_API_ int
22main(int argc, char ** argv)
23{
24 // gtest removes (only) its args from argc and argv - so this must be before moose init
25 testing::InitGoogleTest(&argc, argv);
26
27 MooseInit init(argc, argv);
28 registerApp(XFEMApp);
31
32 return RUN_ALL_TESTS();
33}
bool _throw_on_error
bool _throw_on_warning
int main()