iCub-main
Loading...
Searching...
No Matches
Classes | Functions
testDeviceCanBatterySensor.cpp File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <ethResource.h>
#include "EoProtocolAS.h"
#include "testUtils.h"
#include "embObjBattery.h"
+ Include dependency graph for testDeviceCanBatterySensor.cpp:

Go to the source code of this file.

Classes

class  embObjCanBatterysensor_Mock
 
class  embObjDevPrivData_Mock
 
class  EthResource_Mock
 

Functions

 TEST (CanBatterysensor, sendConfig2boards_simple_positive_001)
 
 TEST (CanBatterysensor, sendConfig2boards_simple_negative_001)
 
 TEST (CanBatterysensor, sendStart2boards_simple_positive_001)
 
 TEST (CanBatterysensor, sendStart2boards_simple_negative_001)
 
 TEST (CanBatterysensor, serviceSetRegulars_simple_positive_001)
 
 TEST (CanBatterysensor, serviceSetRegulars_simple_negative_001)
 
 TEST (CanBatterysensor, update_simple_positive_001)
 
 TEST (CanBatterysensor, update_simple_positive_trunk_voltage_001)
 
 TEST (CanBatterysensor, update_simple_negative_001)
 
 TEST (CanBatterysensor, getBatteryVoltage_positive_001)
 
 TEST (CanBatterysensor, calculateBoardTime_positive_001)
 
 TEST (CanBatterysensor, type)
 

Function Documentation

◆ TEST() [1/12]

TEST ( CanBatterysensor  ,
calculateBoardTime_positive_001   
)

Definition at line 242 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [2/12]

TEST ( CanBatterysensor  ,
getBatteryVoltage_positive_001   
)

Definition at line 224 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [3/12]

TEST ( CanBatterysensor  ,
sendConfig2boards_simple_negative_001   
)

Definition at line 81 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [4/12]

TEST ( CanBatterysensor  ,
sendConfig2boards_simple_positive_001   
)

Definition at line 63 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [5/12]

TEST ( CanBatterysensor  ,
sendStart2boards_simple_negative_001   
)

Definition at line 115 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [6/12]

TEST ( CanBatterysensor  ,
sendStart2boards_simple_positive_001   
)

Definition at line 97 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [7/12]

TEST ( CanBatterysensor  ,
serviceSetRegulars_simple_negative_001   
)

Definition at line 150 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [8/12]

TEST ( CanBatterysensor  ,
serviceSetRegulars_simple_positive_001   
)

Definition at line 133 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [9/12]

TEST ( CanBatterysensor  ,
type   
)

Definition at line 266 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [10/12]

TEST ( CanBatterysensor  ,
update_simple_negative_001   
)

Definition at line 205 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [11/12]

TEST ( CanBatterysensor  ,
update_simple_positive_001   
)

Definition at line 167 of file testDeviceCanBatterySensor.cpp.

◆ TEST() [12/12]

TEST ( CanBatterysensor  ,
update_simple_positive_trunk_voltage_001   
)

Definition at line 186 of file testDeviceCanBatterySensor.cpp.