ifw-core  4.1.0-pre1
Classes | Functions
testConfig.cpp File Reference

Unit tests for the Config class. More...

#include <fstream>
#include <fmt/format.h>
#include <gtest/gtest.h>
#include <core/utils/time/time.hpp>
#include <core/utils/system/system.hpp>
#include <utils/bat/config.hpp>

Classes

class  TestConfig
 

Functions

 TEST_F (TestConfig, DefaultCfg)
 
 TEST_F (TestConfig, CmdLineCfg)
 
 TEST_F (TestConfig, FileCfg)
 
 TEST_F (TestConfig, MergeCfg)
 
 TEST_F (TestConfig, SetConfigAsString)
 
 TEST_F (TestConfig, ReloadConfig)
 
 TEST_F (TestConfig, IncludeCfg)
 
 TEST_F (TestConfig, GetConfigAsString)
 
int main (int argc, char **argv)
 

Detailed Description

Unit tests for the Config class.

Author

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/8]

TEST_F ( TestConfig  ,
CmdLineCfg   
)

◆ TEST_F() [2/8]

TEST_F ( TestConfig  ,
DefaultCfg   
)

◆ TEST_F() [3/8]

TEST_F ( TestConfig  ,
FileCfg   
)

◆ TEST_F() [4/8]

TEST_F ( TestConfig  ,
GetConfigAsString   
)

◆ TEST_F() [5/8]

TEST_F ( TestConfig  ,
IncludeCfg   
)

◆ TEST_F() [6/8]

TEST_F ( TestConfig  ,
MergeCfg   
)

◆ TEST_F() [7/8]

TEST_F ( TestConfig  ,
ReloadConfig   
)

◆ TEST_F() [8/8]

TEST_F ( TestConfig  ,
SetConfigAsString   
)