AYAB Arduino Firmware 0.95
The goal of the AYAB project is to provide an alternative way to control the famous Brother KH-9xx range of knitting machines using a computer
test_tester.cpp File Reference
#include <gtest/gtest.h>
#include <beeper.h>
#include <tester.h>
#include <fsm_mock.h>
#include <knitter_mock.h>
Include dependency graph for test_tester.cpp:

Classes

class  TesterTest
 

Functions

 TEST_F (TesterTest, test_helpCmd)
 
 TEST_F (TesterTest, test_sendCmd)
 
 TEST_F (TesterTest, test_beepCmd)
 
 TEST_F (TesterTest, test_setSingleCmd_fail1)
 
 TEST_F (TesterTest, test_setSingleCmd_fail2)
 
 TEST_F (TesterTest, test_setSingleCmd_fail3)
 
 TEST_F (TesterTest, test_setSingleCmd_success)
 
 TEST_F (TesterTest, test_setAllCmd_fail1)
 
 TEST_F (TesterTest, test_setAllCmd_success)
 
 TEST_F (TesterTest, test_readEOLsensorsCmd)
 
 TEST_F (TesterTest, test_readEncodersCmd_low)
 
 TEST_F (TesterTest, test_readEncodersCmd_high)
 
 TEST_F (TesterTest, test_autoReadCmd)
 
 TEST_F (TesterTest, test_autoTestCmd)
 
 TEST_F (TesterTest, test_quitCmd)
 
 TEST_F (TesterTest, test_loop_default)
 
 TEST_F (TesterTest, test_loop_null)
 
 TEST_F (TesterTest, test_loop_autoTest)
 
 TEST_F (TesterTest, test_startTest_fail)
 
 TEST_F (TesterTest, test_startTest_success)
 

Variables

Beeperbeeper
 
Testertester
 
FsmMockfsm
 
KnitterMockknitter
 

Detailed Description

`

This file is part of AYAB.

AYAB is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AYAB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AYAB. If not, see http://www.gnu.org/licenses/.

Original Work Copyright 2013 Christian Obersteiner, Andreas Müller Modified Work Copyright 2020 Sturla Lange, Tom Price http://ayab-knitting.com