iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test-serialization.C File Reference
#include <nrt/config.h>
#include <nrt/Eigen/Eigen.H>
#include <nrt/Core/Blackboard/Blackboard.H>
#include <nrt/Core/Model/ParameterSummary.H>
#include <nrt/External/cereal/archives/binary.hpp>
#include <nrt/Core/Util/VectorUtils.H>
#include <nrt/Graphics/GraphicsMessage.H>
#include <nrt/Graphics/Shapes.H>
#include <random>
#include <boost/test/unit_test.hpp>

Author
Shane Grant

License

// ////////////////////////////////////////////////////////////////////////
//              The iLab Neuromorphic Robotics Toolkit (NRT)             //
// Copyright 2010-2012 by the University of Southern California (USC)    //
//                          and the iLab at USC.                         //
//                                                                       //
//                iLab - University of Southern California               //
//                Hedco Neurociences Building, Room HNB-10               //
//                    Los Angeles, Ca 90089-2520 - USA                   //
//                                                                       //
//      See http://ilab.usc.edu for information about this project.      //
// ////////////////////////////////////////////////////////////////////////
// This file is part of The iLab Neuromorphic Robotics Toolkit.          //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit 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 3 of the License, or (at your option) any later version.      //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit 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 The iLab Neuromorphic Robotics Toolkit.  If not, see       //
// <http://www.gnu.org/licenses/>.                                       //
// ////////////////////////////////////////////////////////////////////////

Definition in file test-serialization.C.

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   SerializationTest
 

Functions

 BOOST_AUTO_TEST_CASE (eigen)
 
nrt::blackboard::ModulePortSummary makeModulePortSummary ()
 
bool operator== (nrt::blackboard::ModulePortSummary const &l, nrt::blackboard::ModulePortSummary const &r)
 
 BOOST_AUTO_TEST_CASE (moduleportsummary)
 
nrt::ParameterSummary makeParameterSummary ()
 
bool operator== (nrt::ParameterSummary const &l, nrt::ParameterSummary const &r)
 
 BOOST_AUTO_TEST_CASE (parametersummary)
 
nrt::blackboard::ModuleSummary makeModuleSummary ()
 
bool operator== (nrt::blackboard::ModuleSummary const &l, nrt::blackboard::ModuleSummary const &r)
 
 BOOST_AUTO_TEST_CASE (modulesummary)
 
nrt::blackboard::ConnectorSummary makeConnectorSummary ()
 
bool operator== (nrt::blackboard::ConnectorSummary const &l, nrt::blackboard::ConnectorSummary const &r)
 
 BOOST_AUTO_TEST_CASE (connectorsummary)
 
nrt::blackboard::BlackboardSummary makeBlackboardSummary ()
 
bool operator== (nrt::blackboard::BlackboardSummary const &l, nrt::blackboard::BlackboardSummary const &r)
 
 BOOST_AUTO_TEST_CASE (blackboardsummary)
 
nrt::PointCloud2 createRandomCloud (int size)
 
 CEREAL_REGISTER_TYPE (FakeGraphicsCloud)
 
 BOOST_AUTO_TEST_CASE (graphicsmessage)