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.
Copyright 2011 Shadow Robot Company Ltd.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file test_thread_safe_map.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 132 of file test_thread_safe_map.cpp.
TEST | ( | ThreadSafeMapOneThread | , |
initialization | |||
) |
Definition at line 85 of file test_thread_safe_map.cpp.
Definition at line 104 of file test_thread_safe_map.cpp.
Definition at line 126 of file test_thread_safe_map.cpp.