yarp-devices
Classes | Functions
roboticslab::test Namespace Reference

Contains classes related to unit testing.

Classes

class  FutureObserver
 Registers asynchronous operations. More...
 
class  observer_timer
 Functor wait-with-callback class. More...
 
class  CanBusSharerTest
 Does nothing, Jon S. More...
 
struct  fake_message
 Dummy CAN message proxy container of can_message. More...
 
class  FakeCanSenderDelegate
 Stores registered fake CAN messages and eases access to them. More...
 
class  CanOpenNodeTest
 Manages a FakeCanSenderDelegate and registers asynchronous operations. More...
 
class  StateObserverTest
 See FutureObserver. More...
 
class  TrajectoryTest
 Manages an instance of TrapezoidalTrajectory. More...
 
struct  DummyPositionDirectRaw
 Dummy implementation of a IPositionDirectRaw interface. More...
 
struct  DummySixAxisForceTorqueSensors
 Dummy implementation of a ISixAxisForceTorqueSensors interface. More...
 
struct  JointDriver
 Dummy implementation of a N-axis raw motor subdevice. More...
 
struct  SensorDriver
 Dummy implementation of a N-component sensor subdevice. More...
 
class  YarpDeviceMapperTest
 Wrapper class for dummy driver instances. More...
 

Functions

 TEST_F (CanBusSharerTest, CanUtils)
 
std::uint64_t toInt64 (std::uint8_t op, std::uint16_t index, std::uint8_t subindex, std::uint32_t data=0)
 Generate 8-byte SDO response data for expedited transfers.
 
std::uint64_t toInt64 (std::uint8_t op, const std::string &s="")
 Generate 8-byte SDO response data for segmented (normal) transfers.
 
 TEST_F (CanOpenNodeTest, SdoClientExpeditedUpload)
 
 TEST_F (CanOpenNodeTest, SdoClientExpeditedDownload)
 
 TEST_F (CanOpenNodeTest, SdoClientSegmented)
 
 TEST_F (CanOpenNodeTest, SdoClientPing)
 
 TEST_F (CanOpenNodeTest, ReceivePdo)
 
 TEST_F (CanOpenNodeTest, TransmitPdo)
 
 TEST_F (CanOpenNodeTest, NmtProtocol)
 
 TEST_F (CanOpenNodeTest, EmcyConsumer)
 
 TEST_F (CanOpenNodeTest, DriveStatusMachine)
 
 TEST_F (CanOpenNodeTest, CanOpenNode)
 
 TEST_F (StateObserverTest, StateObserver)
 
 TEST_F (TrajectoryTest, Inactive)
 
 TEST_F (TrajectoryTest, Reset)
 
 TEST_F (TrajectoryTest, NoDisplacement)
 
 TEST_F (TrajectoryTest, FullTrapezoidal)
 
 TEST_F (TrajectoryTest, FullTriangular)
 
 TEST_F (TrajectoryTest, PositiveOffsetTrapezoidal)
 
 TEST_F (TrajectoryTest, PositiveOffsetTriangular)
 
 TEST_F (TrajectoryTest, NegativeOffsetTrapezoidal)
 
 TEST_F (TrajectoryTest, NegativeOffsetTriangular)
 
 TEST_F (TrajectoryTest, OvershootTrapezoidal)
 
 TEST_F (TrajectoryTest, OvershootTriangular)
 
 TEST_F (TrajectoryTest, OvershootNoDisplacement)
 
 TEST_F (TrajectoryTest, Saddle)
 
 TEST_F (TrajectoryTest, RightHalfTrapezoidal)
 
 TEST_F (TrajectoryTest, RightHalfTriangular)
 
 TEST_F (TrajectoryTest, RightHalfTriangular2)
 
 TEST_F (TrajectoryTest, RightHalfTriangular3)
 
 TEST_F (TrajectoryTest, LeftHalfTrapezoidal)
 
 TEST_F (TrajectoryTest, LeftHalfRectangular)
 
 TEST_F (TrajectoryTest, Stop)
 
template<typename T >
yarp::dev::DriverCreator * dummyDriverCreator ()
 Provide a specialized YARP driver factory that creates instances of a dummy driver.
 
 TEST_F (YarpDeviceMapperTest, SequentialTask)
 
 TEST_F (YarpDeviceMapperTest, ParallelTask)
 
 TEST_F (YarpDeviceMapperTest, RawDevice)
 
 TEST_F (YarpDeviceMapperTest, DeviceMapper)