PAASS
Software suite to Acquire and Analyze Data from Pixie16
unittest-Identifier.cpp File Reference

Program that will test functionality of Identifier. More...

#include <iostream>
#include <cmath>
#include <UnitTest++.h>
#include "Identifier.hpp"
Include dependency graph for unittest-Identifier.cpp:

Go to the source code of this file.

Functions

 TEST_FIXTURE (Identifier, Test_GetAndSetDammID)
 Testing the set/get for the dammid. More...
 
 TEST_FIXTURE (Identifier, Test_GetAndSetLocation)
 Testing the set/get for the location. More...
 
 TEST_FIXTURE (Identifier, Test_GetAndSetType)
 Testing the set/get for the type. More...
 
 TEST_FIXTURE (Identifier, Test_GetAndSetSubtype)
 Testing the set/get for the subtype. More...
 
 TEST_FIXTURE (Identifier, Test_GetAndSetTag)
 Testing the set/get for tags. More...
 
 TEST_FIXTURE (Identifier, Test_GetTagMap)
 Testing the get for the map of tags. More...
 
 TEST_FIXTURE (Identifier, Test_HasTag)
 Testing for when we have a tag. More...
 
 TEST_FIXTURE (Identifier, Test_HasMissingTag)
 Testing the case that we have a missing tag. More...
 
 TEST_FIXTURE (Identifier, Test_Comparison)
 
 TEST_FIXTURE (Identifier, Test_PlaceName)
 Testing that the place name is returning the proper value. More...
 
 TEST_FIXTURE (Identifier, Test_Zero)
 Test that the zero function is performing it's job properly. More...
 
int main (int argv, char *argc[])
 

Detailed Description

Program that will test functionality of Identifier.

Author
S. V. Paulauskas
Date
November 25, 2016

Definition in file unittest-Identifier.cpp.

Function Documentation

§ main()

int main ( int  argv,
char *  argc[] 
)

Definition at line 110 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [1/11]

TEST_FIXTURE ( Identifier  ,
Test_GetAndSetDammID   
)

Testing the set/get for the dammid.

Definition at line 16 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [2/11]

TEST_FIXTURE ( Identifier  ,
Test_GetAndSetLocation   
)

Testing the set/get for the location.

Definition at line 23 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [3/11]

TEST_FIXTURE ( Identifier  ,
Test_GetAndSetType   
)

Testing the set/get for the type.

Definition at line 30 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [4/11]

TEST_FIXTURE ( Identifier  ,
Test_GetAndSetSubtype   
)

Testing the set/get for the subtype.

Definition at line 37 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [5/11]

TEST_FIXTURE ( Identifier  ,
Test_GetAndSetTag   
)

Testing the set/get for tags.

Definition at line 44 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [6/11]

TEST_FIXTURE ( Identifier  ,
Test_GetTagMap   
)

Testing the get for the map of tags.

Definition at line 51 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [7/11]

TEST_FIXTURE ( Identifier  ,
Test_HasTag   
)

Testing for when we have a tag.

Definition at line 60 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [8/11]

TEST_FIXTURE ( Identifier  ,
Test_HasMissingTag   
)

Testing the case that we have a missing tag.

Definition at line 67 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [9/11]

TEST_FIXTURE ( Identifier  ,
Test_Comparison   
)

Definition at line 73 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [10/11]

TEST_FIXTURE ( Identifier  ,
Test_PlaceName   
)

Testing that the place name is returning the proper value.

Definition at line 93 of file unittest-Identifier.cpp.

§ TEST_FIXTURE() [11/11]

TEST_FIXTURE ( Identifier  ,
Test_Zero   
)

Test that the zero function is performing it's job properly.

Definition at line 104 of file unittest-Identifier.cpp.