[DEV] remove STL
This commit is contained in:
parent
626c4327e1
commit
830d651907
@ -33,7 +33,7 @@ def configure(target, my_module):
|
||||
])
|
||||
my_module.add_depend([
|
||||
'ejson',
|
||||
'gtest',
|
||||
'etest',
|
||||
'test-debug'
|
||||
])
|
||||
return True
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <etk/archive/Archive.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include "testDocument.hpp"
|
||||
@ -22,11 +22,11 @@
|
||||
#include "testAll.hpp"
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
// init Google test :
|
||||
::testing::InitGoogleTest(&argc, const_cast<char **>(argv));
|
||||
// init test engine:
|
||||
etest::init(argc, argv);
|
||||
// init etk log system and file interface:
|
||||
etk::init(argc, argv);
|
||||
// Run all test with gtest
|
||||
// Run all test with etest
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
|
||||
TEST(TestAll, testBaseObject) {
|
||||
etk::String base = "{\n"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
|
||||
|
||||
static etk::String refOutputBoolean1("{\n\t\"tmpElement\": true\n}\n");
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
|
||||
static etk::String refOutputDocument("{\n}\n");
|
||||
TEST(TestDocument, testEmptyDoc) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
|
||||
|
||||
static etk::String refOutputNull("{\n\t\"tmpElement\": null\n}\n");
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
#include <etest/etest.hpp>
|
||||
|
||||
static etk::String refOutputNumber("{\n\t\"tmpElement\": 956256\n}\n");
|
||||
TEST(TestNumber, testBase) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user