ifw-fcf  3.0.0
Classes | Functions | Variables
testConfig.cpp File Reference

Unit tests for the Config class. More...

#include <fstream>
#include <gtest/gtest.h>
#include "ctd/system/system.hpp"
#include <fcf/devmgr/common/config.hpp>
#include <rad/logger.hpp>

Classes

class  TestConfig
 

Functions

 TEST_F (TestConfig, DefaultCfg)
 
 TEST_F (TestConfig, CmdLineCfg)
 
 TEST_F (TestConfig, FileCfg)
 
 TEST_F (TestConfig, GetConfigAsString)
 
 TEST_F (TestConfig, DevicesCfg)
 
 TEST_F (TestConfig, DeviceDuplicationCfg)
 

Variables

std::string const DUMMY_CFG = std::string(WAF_MODULE_PATH) + "/test/res/dummy.yml"
 

Detailed Description

Unit tests for the Config class.

Author

Function Documentation

◆ TEST_F() [1/6]

TEST_F ( TestConfig  ,
CmdLineCfg   
)

◆ TEST_F() [2/6]

TEST_F ( TestConfig  ,
DefaultCfg   
)

◆ TEST_F() [3/6]

TEST_F ( TestConfig  ,
DeviceDuplicationCfg   
)

◆ TEST_F() [4/6]

TEST_F ( TestConfig  ,
DevicesCfg   
)

◆ TEST_F() [5/6]

TEST_F ( TestConfig  ,
FileCfg   
)

◆ TEST_F() [6/6]

TEST_F ( TestConfig  ,
GetConfigAsString   
)

Variable Documentation

◆ DUMMY_CFG

std::string const DUMMY_CFG = std::string(WAF_MODULE_PATH) + "/test/res/dummy.yml"