[DEV/API] change .h in .hpp
This commit is contained in:
parent
76b9a23fc6
commit
49008b7220
@ -26,7 +26,7 @@ def create(target, module_name):
|
||||
'*operator<<*',
|
||||
])
|
||||
my_module.add_exclude_file([
|
||||
'debug.h',
|
||||
'debug.hpp',
|
||||
])
|
||||
my_module.add_file_patterns([
|
||||
'*.h',
|
||||
|
@ -3,13 +3,13 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/Array.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/Boolean.h>
|
||||
#include <ejson/String.h>
|
||||
#include <ejson/Null.h>
|
||||
#include <ejson/Number.h>
|
||||
#include <ejson/Array.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/Boolean.hpp>
|
||||
#include <ejson/String.hpp>
|
||||
#include <ejson/Null.hpp>
|
||||
#include <ejson/Number.hpp>
|
||||
|
||||
ejson::Array::Array(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
ejson::Value(_internalValue) {
|
||||
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/Value.h>
|
||||
#include <ejson/iterator.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/Value.hpp>
|
||||
#include <ejson/iterator.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/Boolean.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/Boolean.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
|
||||
|
||||
ejson::Boolean::Boolean(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -3,10 +3,10 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/Document.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/Document.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
ejson::Document::Document(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
ejson::Object(_internalValue) {
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ejson/Value.h>
|
||||
#include <ejson/Value.hpp>
|
||||
#include <vector>
|
||||
#include <etk/types.h>
|
||||
#include <ejson/String.h>
|
||||
#include <ejson/Array.h>
|
||||
#include <ejson/Object.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/String.hpp>
|
||||
#include <ejson/Array.hpp>
|
||||
#include <ejson/Object.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/FilePos.h>
|
||||
#include <ejson/FilePos.hpp>
|
||||
|
||||
ejson::FilePos::FilePos() :
|
||||
m_col(0),
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/Null.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/Null.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
|
||||
ejson::Null::Null(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
ejson::Value(_internalValue) {
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/Number.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/Number.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
|
||||
|
||||
ejson::Number::Number(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/Object.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/Object.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
|
||||
|
||||
ejson::Object::Object(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/Hash.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/Hash.hpp>
|
||||
#include <algorithm>
|
||||
#include <ejson/Value.h>
|
||||
#include <ejson/iterator.h>
|
||||
#include <ejson/Value.hpp>
|
||||
#include <ejson/iterator.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <ejson/String.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/String.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
|
||||
ejson::String::String(ememory::SharedPtr<ejson::internal::Value> _internalValue) :
|
||||
ejson::Value(_internalValue) {
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/Value.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <ejson/Document.h>
|
||||
#include <ejson/Value.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
#include <ejson/Document.hpp>
|
||||
|
||||
ejson::Value ejson::empty() {
|
||||
return ejson::Value(ememory::SharedPtr<ejson::internal::Value>(nullptr));
|
||||
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ememory/memory.h>
|
||||
#include <ejson/FilePos.h>
|
||||
#include <ejson/valueType.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <ejson/FilePos.hpp>
|
||||
#include <ejson/valueType.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
/**
|
||||
* @brief ejson namespace containing all function for JSON interpretor
|
||||
@ -208,11 +208,11 @@ namespace ejson {
|
||||
ejson::Value empty();
|
||||
}
|
||||
|
||||
#include <ejson/Array.h>
|
||||
#include <ejson/Boolean.h>
|
||||
#include <ejson/Null.h>
|
||||
#include <ejson/Number.h>
|
||||
#include <ejson/Object.h>
|
||||
#include <ejson/String.h>
|
||||
#include <ejson/Array.hpp>
|
||||
#include <ejson/Boolean.hpp>
|
||||
#include <ejson/Null.hpp>
|
||||
#include <ejson/Number.hpp>
|
||||
#include <ejson/Object.hpp>
|
||||
#include <ejson/String.hpp>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/debug.hpp>
|
||||
|
||||
int32_t ejson::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("ejson");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace ejson {
|
||||
int32_t getLogId();
|
@ -5,5 +5,5 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ejson/Document.h>
|
||||
#include <ejson/Document.hpp>
|
||||
|
@ -5,14 +5,14 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Array> ejson::internal::Array::create() {
|
||||
return ememory::SharedPtr<ejson::internal::Array>(new ejson::internal::Array());
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Boolean> ejson::internal::Boolean::create(bool _value) {
|
||||
return ememory::SharedPtr<ejson::internal::Boolean>(new ejson::internal::Boolean(_value));
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -4,16 +4,16 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Document> ejson::internal::Document::create() {
|
||||
return ememory::SharedPtr<ejson::internal::Document>(new ejson::internal::Document());
|
||||
|
@ -5,12 +5,12 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
#include <vector>
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Null> ejson::internal::Null::create() {
|
||||
return ememory::SharedPtr<ejson::internal::Null>(new ejson::internal::Null());
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Number> ejson::internal::Number::create(double _value) {
|
||||
return ememory::SharedPtr<ejson::internal::Number>(new ejson::internal::Number(_value));
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -5,14 +5,14 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
|
||||
|
||||
ememory::SharedPtr<ejson::internal::Object> ejson::internal::Object::create() {
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/Hash.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/Hash.hpp>
|
||||
#include <algorithm>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
|
||||
ememory::SharedPtr<ejson::internal::String> ejson::internal::String::create(const std::string& _value) {
|
||||
return ememory::SharedPtr<ejson::internal::String>(new ejson::internal::String(_value));
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
|
||||
namespace ejson {
|
||||
namespace internal {
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/internal/Value.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Value.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
|
||||
|
||||
enum ejson::valueType ejson::internal::Value::getType() const {
|
||||
|
@ -5,10 +5,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <ememory/memory.h>
|
||||
#include <ejson/FilePos.h>
|
||||
#include <ejson/valueType.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <ejson/FilePos.hpp>
|
||||
#include <ejson/valueType.hpp>
|
||||
|
||||
/**
|
||||
* @brief ejson namespace containing all function for JSON interpretor
|
||||
@ -155,11 +155,11 @@ namespace ejson {
|
||||
}
|
||||
}
|
||||
|
||||
#include <ejson/internal/Array.h>
|
||||
#include <ejson/internal/Boolean.h>
|
||||
#include <ejson/internal/Null.h>
|
||||
#include <ejson/internal/Number.h>
|
||||
#include <ejson/internal/Object.h>
|
||||
#include <ejson/internal/String.h>
|
||||
#include <ejson/internal/Document.h>
|
||||
#include <ejson/internal/Array.hpp>
|
||||
#include <ejson/internal/Boolean.hpp>
|
||||
#include <ejson/internal/Null.hpp>
|
||||
#include <ejson/internal/Number.hpp>
|
||||
#include <ejson/internal/Object.hpp>
|
||||
#include <ejson/internal/String.hpp>
|
||||
#include <ejson/internal/Document.hpp>
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <ememory/memory.h>
|
||||
#include <etk/types.h>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace ejson {
|
||||
/**
|
@ -4,8 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <ejson/valueType.h>
|
||||
#include <ejson/debug.h>
|
||||
#include <ejson/valueType.hpp>
|
||||
#include <ejson/debug.hpp>
|
||||
|
||||
|
||||
|
||||
|
@ -50,27 +50,27 @@ def create(target, module_name):
|
||||
'ejson/internal/Value.cpp'
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'ejson/FilePos.h',
|
||||
'ejson/ejson.h',
|
||||
'ejson/valueType.h',
|
||||
'ejson/Document.h',
|
||||
'ejson/Array.h',
|
||||
'ejson/Boolean.h',
|
||||
'ejson/Null.h',
|
||||
'ejson/Number.h',
|
||||
'ejson/String.h',
|
||||
'ejson/Object.h',
|
||||
'ejson/Value.h',
|
||||
'ejson/iterator.h',
|
||||
'ejson/FilePos.hpp',
|
||||
'ejson/ejson.hpp',
|
||||
'ejson/valueType.hpp',
|
||||
'ejson/Document.hpp',
|
||||
'ejson/Array.hpp',
|
||||
'ejson/Boolean.hpp',
|
||||
'ejson/Null.hpp',
|
||||
'ejson/Number.hpp',
|
||||
'ejson/String.hpp',
|
||||
'ejson/Object.hpp',
|
||||
'ejson/Value.hpp',
|
||||
'ejson/iterator.hpp',
|
||||
'ejson/details/iterator.hxx',
|
||||
'ejson/internal/Document.h',
|
||||
'ejson/internal/Array.h',
|
||||
'ejson/internal/Boolean.h',
|
||||
'ejson/internal/Null.h',
|
||||
'ejson/internal/Number.h',
|
||||
'ejson/internal/String.h',
|
||||
'ejson/internal/Object.h',
|
||||
'ejson/internal/Value.h'
|
||||
'ejson/internal/Document.hpp',
|
||||
'ejson/internal/Array.hpp',
|
||||
'ejson/internal/Boolean.hpp',
|
||||
'ejson/internal/Null.hpp',
|
||||
'ejson/internal/Number.hpp',
|
||||
'ejson/internal/String.hpp',
|
||||
'ejson/internal/Object.hpp',
|
||||
'ejson/internal/Value.hpp'
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
return my_module
|
||||
|
@ -4,10 +4,10 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <test-debug/debug.h>
|
||||
#include <etk/etk.h>
|
||||
#include "read.h"
|
||||
#include "write.h"
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <etk/etk.hpp>
|
||||
#include "read.hpp"
|
||||
#include "write.hpp"
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
// the only one init for etk:
|
||||
|
@ -4,11 +4,11 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <test-debug/debug.h>
|
||||
#include <test-debug/debug.hpp>
|
||||
//! [ejson_sample_include]
|
||||
#include <ejson/ejson.h>
|
||||
#include <ejson/ejson.hpp>
|
||||
//! [ejson_sample_include]
|
||||
#include "read.h"
|
||||
#include "read.hpp"
|
||||
|
||||
|
||||
static void readFromFile() {
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <test-debug/debug.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include "write.h"
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include "write.hpp"
|
||||
|
||||
static void writeToFile() {
|
||||
ejson::Document doc;
|
||||
|
@ -7,19 +7,19 @@
|
||||
*/
|
||||
|
||||
#include <vector>
|
||||
#include <etk/etk.h>
|
||||
#include <etk/types.h>
|
||||
#include <etk/archive/Archive.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <etk/etk.hpp>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/archive/Archive.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
#include <etk/os/FSNode.hpp>
|
||||
|
||||
#include "testDocument.h"
|
||||
#include "testBoolean.h"
|
||||
#include "testNull.h"
|
||||
#include "testNumber.h"
|
||||
#include "testAll.h"
|
||||
#include "testDocument.hpp"
|
||||
#include "testBoolean.hpp"
|
||||
#include "testNull.hpp"
|
||||
#include "testNumber.hpp"
|
||||
#include "testAll.hpp"
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
// init Google test :
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.h"
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(TestAll, testBaseObject) {
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.h"
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
@ -7,9 +7,9 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <ejson/ejson.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <test-debug/debug.hpp>
|
||||
#include <ejson/ejson.hpp>
|
||||
|
||||
// _errorPos : -1 : no error , 1 : parsing error, 2 generation error, 3 comparaison error ????
|
||||
static void localTest(const std::string& _ref, const std::string& _input, int32_t _errorPos) {
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.h"
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
static std::string refOutputDocument("{\n}\n");
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.h"
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "testCommon.h"
|
||||
#include "testCommon.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
static std::string refOutputNumber("{\n\t\"tmpElement\": 956256\n}\n");
|
Loading…
x
Reference in New Issue
Block a user