[DEV] remove STL

This commit is contained in:
Edouard DUPIN 2017-09-07 23:38:26 +02:00
parent 626c4327e1
commit 830d651907
7 changed files with 10 additions and 10 deletions

View File

@ -33,7 +33,7 @@ def configure(target, my_module):
])
my_module.add_depend([
'ejson',
'gtest',
'etest',
'test-debug'
])
return True

View File

@ -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();
}

View File

@ -8,7 +8,7 @@
#pragma once
#include "testCommon.hpp"
#include <gtest/gtest.h>
#include <etest/etest.hpp>
TEST(TestAll, testBaseObject) {
etk::String base = "{\n"

View File

@ -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");

View File

@ -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) {

View File

@ -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");

View File

@ -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) {