firmware  v0.1.2
Chromation Spectrometer Dev-Kit
Functions
SpiSlave_faked.c File Reference

Faked calls record themselves in mock. More...

#include "SpiSlave_faked.h"
#include "Mock.h"
#include "ReadWriteBits.h"
#include "SpiSlave.h"

Go to the source code of this file.

Functions

static RecordedCallRecord_SpiSlaveTxByte (uint8_t arg1)
 
void SpiSlaveTxByte_fake (uint8_t input_byte)
 
static RecordedCallRecord_EnableSpiInterrupt (void)
 
void EnableSpiInterrupt_fake (void)
 
static RecordedCallRecord__SignalDataReady (void)
 
void _SignalDataReady_fake (void)
 
static RecordedCallRecord_DisableSpiInterrupt (void)
 
void DisableSpiInterrupt_fake (void)
 

Detailed Description

Faked calls record themselves in mock.


Tests access mock to see what the function under test does:

Definition in file SpiSlave_faked.c.

Function Documentation

◆ _SignalDataReady_fake()

void _SignalDataReady_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 84 of file SpiSlave_faked.c.

◆ DisableSpiInterrupt_fake()

void DisableSpiInterrupt_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 99 of file SpiSlave_faked.c.

◆ EnableSpiInterrupt_fake()

void EnableSpiInterrupt_fake ( void  )

Fake records calls made by function under test.

Record:

  • call name

Definition at line 69 of file SpiSlave_faked.c.

◆ SpiSlaveTxByte_fake()

void SpiSlaveTxByte_fake ( uint8_t  input_byte)

Fake records calls made by function under test.

Record:

  • call name
  • arg1

Definition at line 53 of file SpiSlave_faked.c.