BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Private Slots | List of all members
bbbTest::CategoryTest Class Reference

Contains the tests for the Category class. More...

#include <categorytest.h>

Inheritance diagram for bbbTest::CategoryTest:
Inheritance graph
[legend]
Collaboration diagram for bbbTest::CategoryTest:
Collaboration graph
[legend]

Public Member Functions

 CategoryTest ()
 Default Constructor. More...
 

Private Slots

void testTest ()
 Makes sure QTest, .yml an travis.ci are working. More...
 
void testCatEnumVals ()
 Tests the int values of the enums. More...
 
void testIntToString_data ()
 Test Data for testIntToString() More...
 
void testIntToString ()
 Tests int to QString conversions. More...
 
void testStringToInt_data ()
 Test Data for String to int convertions. More...
 
void testStringToInt ()
 Tests for String to int convertions. More...
 

Detailed Description

Contains the tests for the Category class.

This file is only on included in test builds. It will not be complied debug or release builds. It will be used by travis.ci to run unit tests for the Category class

Test:
Author
Bob Baker

Constructor & Destructor Documentation

CategoryTest::CategoryTest ( )

Default Constructor.

Author
Bob Baker

Member Function Documentation

void CategoryTest::testCatEnumVals ( )
privateslot

Tests the int values of the enums.

Test:
Author
Bob Baker
void CategoryTest::testIntToString ( )
privateslot

Tests int to QString conversions.

Test:
Author
Bob Baker

Here is the call graph for this function:

void CategoryTest::testIntToString_data ( )
privateslot

Test Data for testIntToString()

Test:
Author
Bob Baker
void CategoryTest::testStringToInt ( )
privateslot

Tests for String to int convertions.

Test:
Author
Bob Baker

Here is the call graph for this function:

void CategoryTest::testStringToInt_data ( )
privateslot

Test Data for String to int convertions.

Test:
Author
Bob Baker
void CategoryTest::testTest ( )
privateslot

Makes sure QTest, .yml an travis.ci are working.

Test:
Author
Bob Baker

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