Inspectors.cpp
Go to the documentation of this file.
00001 #include "../utest.h"
00002 
00003 using namespace std;
00004 using namespace PointMatcherSupport;
00005 
00006 //---------------------------
00007 // Inspectors
00008 //---------------------------
00009 TEST(Inspectors, PerformanceInspector)
00010 {
00011         PM::Inspector* performances =
00012                 PM::get().REG(Inspector).create(
00013                         "PerformanceInspector", map_list_of
00014                                 ("baseFileName", "/tmp/utest_performances")
00015                                 ("dumpPerfOnExit", "1")
00016                 )
00017         ;
00018 
00019   performances->init();
00020 
00021         //TODO: we only test constructor here, check other things...
00022 }
00023 
00024 TEST(Inspectors, VTKFileInspector)
00025 {
00026         PM::Inspector* vtkFile = 
00027                 PM::get().REG(Inspector).create(
00028                         "VTKFileInspector", map_list_of
00029                                 ("baseFileName", "/tmp/utest_vtk")
00030                                 ("dumpPerfOnExit", "1")
00031                 )
00032         ;
00033         //TODO: we only test constructor here, check other things...
00034 
00035   vtkFile->init();
00036 }


libpointmatcher
Author(s):
autogenerated on Mon Sep 14 2015 02:59:06