rambrain
testConfigReader.cpp File Reference

Go to the source code of this file.

Functions

 TEST (configuration, Unit_DefaultValues)
 
 TEST (configReader, Unit_ParseCustomFile)
 
 TEST (configReader, Unit_IgnoreCommentLines)
 
 TEST (configReader, Unit_IgnoreMissingVariables)
 
 TEST (configReader, Unit_DefaultOverwritesMissingVariables)
 
 TEST (configReader, Unit_DefaultOverwritesMissingVariablesLookFurther)
 
 TEST (configReader, Unit_ParseProgramName)
 
 TEST (configReader, Unit_OverwriteDefault)
 
 TEST (configReader, Unit_OverwriteDefaultInverseOrder)
 
 TEST (configReader, Unit_IgnoreEmptyLines)
 

Function Documentation

TEST ( configuration  ,
Unit_DefaultValues   
)
Test:
Checks the default values of configuration options and set up of the collection

Definition at line 31 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_ParseCustomFile   
)
Test:
Checks if config file in a custom path is read in properly

Definition at line 48 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_IgnoreCommentLines   
)
Test:
Checks if comment lines are ignored properly

Definition at line 74 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_IgnoreMissingVariables   
)
Test:
Checks if config variables may be missing

Definition at line 99 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_DefaultOverwritesMissingVariables   
)
Test:
Checks if config variables which are missing in a specific block are overwritten by the default block

Definition at line 120 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_DefaultOverwritesMissingVariablesLookFurther   
)
Test:
Checks if config variables which are missing in a specific block are overwritten by the default block even if the default block comes after the specific one

Definition at line 148 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_ParseProgramName   
)
Test:
Checks if the application name can be retreived properly

Definition at line 176 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_OverwriteDefault   
)
Test:
Checks if a binary specific block can overwrite the default block

Definition at line 186 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_OverwriteDefaultInverseOrder   
)
Test:
Checks if a default block after the specific block does not overwrite the latter

Definition at line 212 of file testConfigReader.cpp.

TEST ( configReader  ,
Unit_IgnoreEmptyLines   
)
Test:
Checks if empty lines are properly ignored

Definition at line 238 of file testConfigReader.cpp.