ejson/test/test.cpp

33 lines
730 B
C++
Raw Normal View History

2015-01-12 21:12:44 +01:00
/**
* @author Edouard DUPIN
*
2015-01-13 22:29:26 +01:00
* @copyright 2014, Edouard DUPIN, all right reserved
2015-01-12 21:12:44 +01:00
*
* @license MPL v2.0 (see license file)
2015-01-12 21:12:44 +01:00
*/
#include <vector>
2016-09-30 22:28:36 +02:00
#include <etk/etk.hpp>
#include <etk/types.hpp>
#include <etk/archive/Archive.hpp>
#include <test-debug/debug.hpp>
#include <ejson/ejson.hpp>
2015-01-12 21:12:44 +01:00
#include <gtest/gtest.h>
2016-09-30 22:28:36 +02:00
#include <etk/os/FSNode.hpp>
2015-01-12 21:12:44 +01:00
2016-09-30 22:28:36 +02:00
#include "testDocument.hpp"
#include "testBoolean.hpp"
#include "testNull.hpp"
#include "testNumber.hpp"
#include "testAll.hpp"
2015-01-12 21:12:44 +01:00
int main(int argc, const char *argv[]) {
// init Google test :
::testing::InitGoogleTest(&argc, const_cast<char **>(argv));
// init etk log system and file interface:
etk::init(argc, argv);
// Run all test with gtest
2015-01-12 21:12:44 +01:00
return RUN_ALL_TESTS();
}