test_malloc_wrappers.cpp File Reference

#include <gtest/gtest.h>
#include "rosrt/malloc_wrappers.h"
#include "ros/atomic.h"
#include <ros/time.h>
#include <ros/console.h>
#include <boost/thread.hpp>
Include dependency graph for test_malloc_wrappers.cpp:

Go to the source code of this file.

Functions

void allocateThread (const atomic< bool > &done)
void doBreakOnMalloc ()
int main (int argc, char **argv)
void statsThread (atomic< bool > &failed)
 TEST (MallocWrappersDeathTest, breakOnAllocFree)
 TEST (MallocWrappers, statsNewThread)
 TEST (MallocWrappers, statsMainThread)

Function Documentation

void allocateThread ( const atomic< bool > &  done  ) 

Definition at line 51 of file test_malloc_wrappers.cpp.

void doBreakOnMalloc (  ) 

Definition at line 143 of file test_malloc_wrappers.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 159 of file test_malloc_wrappers.cpp.

void statsThread ( atomic< bool > &  failed  ) 

Definition at line 84 of file test_malloc_wrappers.cpp.

TEST ( MallocWrappersDeathTest  ,
breakOnAllocFree   
)

Definition at line 151 of file test_malloc_wrappers.cpp.

TEST ( MallocWrappers  ,
statsNewThread   
)

Definition at line 111 of file test_malloc_wrappers.cpp.

TEST ( MallocWrappers  ,
statsMainThread   
)

Definition at line 61 of file test_malloc_wrappers.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


rosrt
Author(s): Josh Faust
autogenerated on Fri Jan 11 10:07:46 2013