added tests
This commit is contained in:
29
FlippR-Driver/tests/output/TestCabinetItem.cpp
Normal file
29
FlippR-Driver/tests/output/TestCabinetItem.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* TestCabinetItem.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/CabinetItem.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
29
FlippR-Driver/tests/output/TestDisplay.cpp
Normal file
29
FlippR-Driver/tests/output/TestDisplay.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* TestDisplay.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/Display.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
25
FlippR-Driver/tests/output/TestDisplayController.cpp
Normal file
25
FlippR-Driver/tests/output/TestDisplayController.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* TestDisplayController.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/DisplayController.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
25
FlippR-Driver/tests/output/TestInputDriverFactory.cpp
Normal file
25
FlippR-Driver/tests/output/TestInputDriverFactory.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* TestInputDriverFactory.cpp
|
||||
*
|
||||
* Created on: Jul 11, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Oliver Martin, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/Solenoid.h"
|
||||
|
||||
using namespace Output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
25
FlippR-Driver/tests/output/TestLamp.cpp
Normal file
25
FlippR-Driver/tests/output/TestLamp.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* TestLamp.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/Lamp.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
28
FlippR-Driver/tests/output/TestOutputDriver.cpp
Normal file
28
FlippR-Driver/tests/output/TestOutputDriver.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* TestOutputDriver.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/OutputDriver.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
29
FlippR-Driver/tests/output/TestSolenoid.cpp
Normal file
29
FlippR-Driver/tests/output/TestSolenoid.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* TestSolenoid.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/Solenoid.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
27
FlippR-Driver/tests/output/TestSound.cpp
Normal file
27
FlippR-Driver/tests/output/TestSound.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* TestSound.cpp
|
||||
*
|
||||
* Created on: Aug 7, 2018
|
||||
* Author: rhetenor
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "fakeit.hpp"
|
||||
|
||||
#include "utilities/LoggerFactory.hpp"
|
||||
|
||||
|
||||
// testing purposes
|
||||
#define private public
|
||||
|
||||
#include "output/Sound.h"
|
||||
|
||||
using namespace output;
|
||||
using namespace fakeit;
|
||||
|
||||
SCENARIO("")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user