etk/test/main.cpp

44 lines
967 B
C++
Raw Normal View History

2013-07-11 11:23:25 +02:00
/**
* @author Edouard DUPIN
*
* @copyright 2011, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file)
2013-07-11 11:23:25 +02:00
*/
#include <etk/types.h>
2013-10-25 20:47:46 +02:00
#include <etk/debug.h>
2013-11-11 20:16:55 +01:00
#include <vector>
#include <string>
2013-10-18 22:05:48 +02:00
#include <etk/Hash.h>
2013-07-11 11:23:25 +02:00
#include <etk/os/FSNode.h>
2013-07-24 07:42:25 +02:00
#include <etk/archive/Archive.h>
2014-05-15 21:50:27 +02:00
#include <etk/log.h>
#include <etk/Color.h>
2014-10-03 23:04:23 +02:00
#include <etk/stdTools.h>
2014-10-03 00:47:59 +02:00
#include <string>
2013-07-11 11:23:25 +02:00
#define NAME "Empty"
#include <gtest/gtest.h>
#include "testArchive.hpp"
#include "testColor.hpp"
#include "testFSNode.hpp"
#include "testHash.hpp"
2015-01-12 21:43:26 +01:00
#include "testStdShared.hpp"
2013-07-11 11:23:25 +02:00
#undef __class__
#define __class__ "etktest"
2014-07-22 21:11:52 +02:00
2013-11-11 20:16:55 +01:00
int main(int argc, const char *argv[]) {
// init Google test :
::testing::InitGoogleTest(&argc, const_cast<char **>(argv));
2013-07-11 11:23:25 +02:00
// the only one init for etk:
//etk::log::setLevel(etk::log::logLevelVerbose);
etk::log::setLevel(etk::log::logLevelInfo);
2013-11-13 21:52:12 +01:00
etk::setArgZero(argv[0]);
etk::initDefaultFolder("ewolApplNoName");
return RUN_ALL_TESTS();
2013-07-11 11:23:25 +02:00
}