OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WCsvConverterTest Class Reference

Test class of WCsvConverter class. More...

#include <WCsvConverter_test.h>

+ Inheritance diagram for WCsvConverterTest:
+ Collaboration diagram for WCsvConverterTest:

Public Member Functions

void setUp ()
 Setup variables and data, needed for each test. More...
 
void testConstructorThrowNothing ()
 Test the constructors of WCsvConverter, so no exception is thrown, when input parameters are correct. More...
 
void testGetClusterSize ()
 Tests the method getClusterSize() More...
 
void testStringToDouble ()
 Tests the method stringToDouble() More...
 
void testStringToInt ()
 Tests the method stringToInt() More...
 

Public Attributes

WProtonData::SPtr m_protonData = nullptr
 The protondata. More...
 
std::shared_ptr< WPropertyStatusm_propertyStatus = nullptr
 The property status. More...
 
std::shared_ptr< WPropertiesm_properties = nullptr
 the property group More...
 
WModule::SPtr m_colorBar = nullptr
 The color bar. More...
 

Detailed Description

Test class of WCsvConverter class.

Definition at line 45 of file WCsvConverter_test.h.

Member Function Documentation

◆ setUp()

void WCsvConverterTest::setUp ( )
inline

Setup variables and data, needed for each test.

Definition at line 71 of file WCsvConverter_test.h.

References m_colorBar, m_properties, m_propertyStatus, m_protonData, and WReaderCSV::read().

+ Here is the call graph for this function:

◆ testConstructorThrowNothing()

void WCsvConverterTest::testConstructorThrowNothing ( )
inline

Test the constructors of WCsvConverter, so no exception is thrown, when input parameters are correct.

Definition at line 97 of file WCsvConverter_test.h.

References m_colorBar, m_propertyStatus, and m_protonData.

◆ testGetClusterSize()

void WCsvConverterTest::testGetClusterSize ( )
inline

Tests the method getClusterSize()

Definition at line 105 of file WCsvConverter_test.h.

References WCsvConverter::getClusterSize(), m_colorBar, m_propertyStatus, and m_protonData.

+ Here is the call graph for this function:

◆ testStringToDouble()

void WCsvConverterTest::testStringToDouble ( )
inline

Tests the method stringToDouble()

Definition at line 120 of file WCsvConverter_test.h.

References m_colorBar, m_propertyStatus, m_protonData, and WCsvConverter::stringToDouble().

+ Here is the call graph for this function:

◆ testStringToInt()

void WCsvConverterTest::testStringToInt ( )
inline

Tests the method stringToInt()

Definition at line 152 of file WCsvConverter_test.h.

References m_colorBar, m_propertyStatus, m_protonData, and WCsvConverter::stringToInt().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_colorBar

WModule::SPtr WCsvConverterTest::m_colorBar = nullptr

◆ m_properties

std::shared_ptr< WProperties > WCsvConverterTest::m_properties = nullptr

the property group

Definition at line 61 of file WCsvConverter_test.h.

Referenced by setUp().

◆ m_propertyStatus

std::shared_ptr< WPropertyStatus > WCsvConverterTest::m_propertyStatus = nullptr

The property status.

Definition at line 56 of file WCsvConverter_test.h.

Referenced by setUp(), testConstructorThrowNothing(), testGetClusterSize(), testStringToDouble(), and testStringToInt().

◆ m_protonData

WProtonData::SPtr WCsvConverterTest::m_protonData = nullptr

The documentation for this class was generated from the following file: