OpenWalnut
1.5.0dev
|
Test class of WCsvConverter class. More...
#include <WCsvConverter_test.h>
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< WPropertyStatus > | m_propertyStatus = nullptr |
The property status. More... | |
std::shared_ptr< WProperties > | m_properties = nullptr |
the property group More... | |
WModule::SPtr | m_colorBar = nullptr |
The color bar. More... | |
Test class of WCsvConverter class.
Definition at line 45 of file WCsvConverter_test.h.
|
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().
|
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.
|
inline |
Tests the method getClusterSize()
Definition at line 105 of file WCsvConverter_test.h.
References WCsvConverter::getClusterSize(), m_colorBar, m_propertyStatus, and m_protonData.
|
inline |
Tests the method stringToDouble()
Definition at line 120 of file WCsvConverter_test.h.
References m_colorBar, m_propertyStatus, m_protonData, and WCsvConverter::stringToDouble().
|
inline |
Tests the method stringToInt()
Definition at line 152 of file WCsvConverter_test.h.
References m_colorBar, m_propertyStatus, m_protonData, and WCsvConverter::stringToInt().
WModule::SPtr WCsvConverterTest::m_colorBar = nullptr |
The color bar.
Definition at line 66 of file WCsvConverter_test.h.
Referenced by setUp(), testConstructorThrowNothing(), testGetClusterSize(), testStringToDouble(), and testStringToInt().
std::shared_ptr< WProperties > WCsvConverterTest::m_properties = nullptr |
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().
WProtonData::SPtr WCsvConverterTest::m_protonData = nullptr |
The protondata.
Definition at line 51 of file WCsvConverter_test.h.
Referenced by setUp(), testConstructorThrowNothing(), testGetClusterSize(), testStringToDouble(), and testStringToInt().