Classes | Functions
test_thread_safe_map.cpp File Reference

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>
Include dependency graph for test_thread_safe_map.cpp:

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)

Detailed Description

Testing the implementation of our thread safe map.

Author:
Ugo Cupcic <ugo@shadowrobot.com>
Date:
Thu Jun 16 11:44:00 2011

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.


Function Documentation

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.

TEST ( ThreadSafeMapOneThread  ,
update   
)

Definition at line 104 of file test_thread_safe_map.cpp.

TEST ( ThreadSafeMapMultiThreads  ,
update   
)

Definition at line 126 of file test_thread_safe_map.cpp.



sr_utilities
Author(s): Ugo Cupcic
autogenerated on Fri Jan 3 2014 12:02:44