Main MRPT website > C++ reference for MRPT 1.5.6
Functions | Variables
CConfigFileMemory_unittest.cpp File Reference
#include <mrpt/utils/CConfigFileMemory.h>
#include <mrpt/utils/CConfigFile.h>
#include <mrpt/system/filesystem.h>
#include <gtest/gtest.h>
#include <fstream>
Include dependency graph for CConfigFileMemory_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CConfigFileMemory, readwrite)
 
 TEST (CConfigFileMemory, Sections)
 
 TEST (CConfigFileMemory, Names)
 
 TEST (CConfigFileMemory, setFromString)
 
 TEST (CConfigFileMemory, readMultiLineStrings)
 
 TEST (CConfigFile, readMultiLineStrings)
 
 TEST (CConfigFileMemory, parseVariables)
 

Variables

const std::string sampleCfgTxt
 
const std::string expectedStr = std::string("this is a long value that can be split into several lines but read as a single line.")
 

Function Documentation

TEST ( CConfigFileMemory  ,
readwrite   
)
TEST ( CConfigFileMemory  ,
Sections   
)
TEST ( CConfigFileMemory  ,
Names   
)
TEST ( CConfigFileMemory  ,
setFromString   
)
TEST ( CConfigFileMemory  ,
readMultiLineStrings   
)
TEST ( CConfigFile  ,
readMultiLineStrings   
)
TEST ( CConfigFileMemory  ,
parseVariables   
)

Variable Documentation

const std::string expectedStr = std::string("this is a long value that can be split into several lines but read as a single line.")

Definition at line 80 of file CConfigFileMemory_unittest.cpp.

Referenced by TEST().

const std::string sampleCfgTxt
Initial value:
=
"[test]\n"
"key_str = this is a \\\n"
"long value that can be \\\n"
"split into several lines \\\n"
"but read as a single line. \n"

Definition at line 73 of file CConfigFileMemory_unittest.cpp.

Referenced by TEST().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018