ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
testMAxis Namespace Reference

Classes

class  MyDeviceConfig
 Test MAxis Config class used for testing purposes. More...
 
class  MyMAxis
 Test MAxis class used for testing purposes. More...
 
class  TestMAxis
 

Functions

void ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::maxis::MAxisControllerData &, int)
 
 TEST_F (TestMAxis, Ctor)
 Test MAxis constructor.
 
 TEST_F (TestMAxis, Setup)
 Test the MAxis Setup method.
 

Variables

std::string const CONFIG_CFG = std::string("config/config.yaml")
 
std::string const MAXIS_CFG = std::string("config/testMAxis.yaml")
 

Function Documentation

◆ ExpectRead()

void testMAxis::ExpectRead ( std::shared_ptr< MockICommAdapter > comm_if,
std::shared_ptr< MyDeviceConfig > & dev_cfg,
ifw::fcf::devmgr::maxis::MAxisControllerData & ,
int  )

◆ TEST_F() [1/2]

testMAxis::TEST_F ( TestMAxis ,
Ctor  )

Test MAxis constructor.

◆ TEST_F() [2/2]

testMAxis::TEST_F ( TestMAxis ,
Setup  )

Test the MAxis Setup method.

Tests all three actions handled by HandleMotAction:

  • MAXIS_MOVE_REL
  • MAXIS_MOVE_ABS
  • MAXIS_MOVE_BY_NAME

Variable Documentation

◆ CONFIG_CFG

std::string const testMAxis::CONFIG_CFG = std::string("config/config.yaml")

◆ MAXIS_CFG

std::string const testMAxis::MAXIS_CFG = std::string("config/testMAxis.yaml")