Back to index

unity  6.0.0
test_main_xless.cpp
Go to the documentation of this file.
00001 #include <gtest/gtest.h>
00002 #include <gio/gio.h>
00003 #include <NuxCore/Logger.h>
00004 #include <Nux/Nux.h>
00005 
00006 int main(int argc, char** argv)
00007 {
00008   ::testing::InitGoogleTest(&argc, argv);
00009   g_type_init();
00010   
00011 
00012   // Slightly higher as we're more likely to test things we know will fail
00013   nux::logging::configure_logging("<root>=error");
00014 
00015   // but you can still change it if you're debugging ;)
00016   nux::logging::configure_logging(::getenv("UNITY_LOG_SEVERITY"));
00017 
00018   int ret = RUN_ALL_TESTS();
00019 
00020   return ret;
00021 }
00022