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::ItemTest Class Reference

Contains the tests for the Item class. More...

#include <itemtest.h>

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

Public Member Functions

 ItemTest ()
 Default Constructor. More...
 

Private Slots

void testTest ()
 Makes sure QTest, .yml an travis.ci are working. More...
 
void constructorTest ()
 Tests that the constructor sets the correct vals. More...
 
void categoryToQStringTest_data ()
 Test data for Category to string fx. More...
 
void categoryToQStringTest ()
 Tests the Category to string fx. More...
 

Detailed Description

Contains the tests for the Item 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 Item class

Test:
Author
Bob Baker

Constructor & Destructor Documentation

ItemTest::ItemTest ( )

Default Constructor.

Author
Bob Baker

Member Function Documentation

void ItemTest::categoryToQStringTest ( )
privateslot

Tests the Category to string fx.

Test:
Author
Bob Baker

Here is the call graph for this function:

void ItemTest::categoryToQStringTest_data ( )
privateslot

Test data for Category to string fx.

Test:
Author
Bob Baker
void ItemTest::constructorTest ( )
privateslot

Tests that the constructor sets the correct vals.

Test:
Author
Bob Baker
void ItemTest::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: