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
KnitterTest Class Reference
Inheritance diagram for KnitterTest:
Inheritance graph
Collaboration diagram for KnitterTest:
Collaboration graph

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
uint8_t get_position_past_left ()
 
uint8_t get_position_past_right ()
 
void expect_knitter_init ()
 
void expect_isr (uint16_t pos, Direction_t dir, Direction_t hall, BeltShift_t belt, Carriage_t carriage)
 
void expected_isr (uint16_t pos, Direction_t dir, Direction_t hall, BeltShift_t belt, Carriage_t carriage)
 
void expect_isr (Direction_t dir, Direction_t hall)
 
void expected_isr (uint8_t pos, Direction_t dir, Direction_t hall)
 
void expected_isr (Direction_t dir, Direction_t hall)
 
void expect_isr (uint16_t pos)
 
void expected_isr (uint16_t pos)
 
void expected_isr ()
 
void expect_reqLine ()
 
void expect_indState ()
 
void expected_dispatch ()
 
void expected_get_ready ()
 
void expected_init_machine (Machine_t m)
 
void get_to_ready (Machine_t m)
 
void get_to_knit (Machine_t m)
 
void expected_dispatch_knit (bool first)
 
void expected_dispatch_wait_for_machine ()
 
void expected_dispatch_init ()
 
void expected_dispatch_ready ()
 
void expected_dispatch_test ()
 
void expect_first_knit ()
 

Protected Attributes

ArduinoMock * arduinoMock
 
BeeperMockbeeperMock
 
ComMockcomMock
 
EncodersMockencodersMock
 
SolenoidsMocksolenoidsMock
 
TesterMocktesterMock
 

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