Macros | Functions
assertion_test.cpp File Reference
#include "ros/assert.h"
#include <gtest/gtest.h>
Include dependency graph for assertion_test.cpp:

Go to the source code of this file.

Macros

#define ROS_ASSERT_ENABLED
 

Functions

void doAssert ()
 
void doAssertMessage ()
 
void doBreak ()
 
int main (int argc, char **argv)
 
 TEST (RosAssert, assert)
 
 TEST (RosAssert, assertWithMessage)
 
 TEST (RosAssert, breakpoint)
 

Macro Definition Documentation

◆ ROS_ASSERT_ENABLED

#define ROS_ASSERT_ENABLED

Definition at line 30 of file assertion_test.cpp.

Function Documentation

◆ doAssert()

void doAssert ( )

Definition at line 36 of file assertion_test.cpp.

◆ doAssertMessage()

void doAssertMessage ( )

Definition at line 46 of file assertion_test.cpp.

◆ doBreak()

void doBreak ( )

Definition at line 41 of file assertion_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 69 of file assertion_test.cpp.

◆ TEST() [1/3]

TEST ( RosAssert  ,
assert   
)

Definition at line 51 of file assertion_test.cpp.

◆ TEST() [2/3]

TEST ( RosAssert  ,
assertWithMessage   
)

Definition at line 63 of file assertion_test.cpp.

◆ TEST() [3/3]

TEST ( RosAssert  ,
breakpoint   
)

Definition at line 58 of file assertion_test.cpp.



rosconsole
Author(s): Josh Faust
autogenerated on Wed Mar 2 2022 00:53:52