#include <gtest/gtest.h>
#include <monocam_settler/ConfigGoal.h>
#include <monocam_settler/monocam_settler.h>
Go to the source code of this file.
Functions | |
vector< calibration_msgs::Interval > | addToSettler (MonocamSettler &settler, unsigned int time_channel, bool always_success) |
ConfigGoal | config1 () |
ConfigGoal | config2 (bool ignore_failures) |
void | doCatchFailuresCheck (const vector< calibration_msgs::Interval > &intervals) |
void | doEasyCheck (const vector< calibration_msgs::Interval > &intervals) |
void | doIgnoreFailuresCheck (const vector< calibration_msgs::Interval > &intervals) |
int | main (int argc, char **argv) |
TEST (MonocamSettler, easyCheck) | |
TEST (MonocamSettler, ignoreFailuresCheck) | |
TEST (MonocamSettler, catchFailuresCheck) | |
TEST (MonocamSettler, reconfigureCheck) | |
Variables | |
static const unsigned int | C = 2 |
static const double | data [N][2 *C] |
static const unsigned int | N = 9 |
static const bool | success [N] |
static const unsigned int | times [N][2] |
vector<calibration_msgs::Interval> addToSettler | ( | MonocamSettler & | settler, |
unsigned int | time_channel, | ||
bool | always_success | ||
) |
Definition at line 80 of file monocam_settler_unittest.cpp.
ConfigGoal config1 | ( | ) |
Definition at line 201 of file monocam_settler_unittest.cpp.
ConfigGoal config2 | ( | bool | ignore_failures | ) |
Definition at line 216 of file monocam_settler_unittest.cpp.
void doCatchFailuresCheck | ( | const vector< calibration_msgs::Interval > & | intervals | ) |
Definition at line 170 of file monocam_settler_unittest.cpp.
void doEasyCheck | ( | const vector< calibration_msgs::Interval > & | intervals | ) |
Definition at line 108 of file monocam_settler_unittest.cpp.
void doIgnoreFailuresCheck | ( | const vector< calibration_msgs::Interval > & | intervals | ) |
Definition at line 139 of file monocam_settler_unittest.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 286 of file monocam_settler_unittest.cpp.
TEST | ( | MonocamSettler | , |
easyCheck | |||
) |
Definition at line 231 of file monocam_settler_unittest.cpp.
TEST | ( | MonocamSettler | , |
ignoreFailuresCheck | |||
) |
Definition at line 243 of file monocam_settler_unittest.cpp.
TEST | ( | MonocamSettler | , |
catchFailuresCheck | |||
) |
Definition at line 255 of file monocam_settler_unittest.cpp.
TEST | ( | MonocamSettler | , |
reconfigureCheck | |||
) |
Definition at line 267 of file monocam_settler_unittest.cpp.
|
static |
Definition at line 46 of file monocam_settler_unittest.cpp.
Definition at line 48 of file monocam_settler_unittest.cpp.
|
static |
Definition at line 45 of file monocam_settler_unittest.cpp.
|
static |
Definition at line 69 of file monocam_settler_unittest.cpp.
|
static |
Definition at line 59 of file monocam_settler_unittest.cpp.