Testing the implementation of our thread safe map. More...
#include "sr_utilities/thread_safe_map.hpp"#include <boost/thread/thread.hpp>#include <boost/bind.hpp>#include <gtest/gtest.h>#include <string>
Go to the source code of this file.
Classes | |
| class | TestMultiThread |
Functions | |
| int | main (int argc, char **argv) |
| TEST (ThreadSafeMapOneThread, initialization) | |
| TEST (ThreadSafeMapOneThread, update) | |
| TEST (ThreadSafeMapMultiThreads, update) | |
Testing the implementation of our thread safe map.
Definition in file test_thread_safe_map.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 135 of file test_thread_safe_map.cpp.
| TEST | ( | ThreadSafeMapOneThread | , |
| initialization | |||
| ) |
Definition at line 88 of file test_thread_safe_map.cpp.
| TEST | ( | ThreadSafeMapOneThread | , |
| update | |||
| ) |
Definition at line 107 of file test_thread_safe_map.cpp.
| TEST | ( | ThreadSafeMapMultiThreads | , |
| update | |||
| ) |
Definition at line 129 of file test_thread_safe_map.cpp.