#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>
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 (MallocWrappers, statsMainThread) | |
| TEST (MallocWrappers, statsNewThread) | |
| TEST (MallocWrappersDeathTest, breakOnAllocFree) | |
| 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 | ( | MallocWrappers | , | 
| statsMainThread | |||
| ) | 
Definition at line 61 of file test_malloc_wrappers.cpp.
| TEST | ( | MallocWrappers | , | 
| statsNewThread | |||
| ) | 
Definition at line 111 of file test_malloc_wrappers.cpp.
| TEST | ( | MallocWrappersDeathTest | , | 
| breakOnAllocFree | |||
| ) | 
Definition at line 151 of file test_malloc_wrappers.cpp.