|
scenario_simulator_v2 C++ API
|
#include <gtest/gtest.h>#include <ament_index_cpp/get_package_share_directory.hpp>#include <boost/filesystem.hpp>#include <fstream>#include <iostream>#include <simple_junit/junit5.hpp>#include <string>
Macros | |
| #define | EXPECT_TEXT_FILE_EQ(FILE0, FILE1) |
Functions | |
| std::string | readFromFile (const std::string &path) |
| std::string | trimCharacter (const std::string &string, const std::string &character) |
| std::string | trim (const std::string &string) |
| void | cleanup (const std::string &filename) |
| TEST (SIMPLE_JUNIT, PASS) | |
| TEST (SIMPLE_JUNIT, FAILURE) | |
| TEST (SIMPLE_JUNIT, ERROR) | |
| TEST (SIMPLE_JUNIT, COMPLEX) | |
| TEST (SIMPLE_JUNIT, ATTRIBUTES) | |
| TEST (SIMPLE_JUNIT, TESTSUITES_NAME) | |
| int | main (int argc, char **argv) |
| #define EXPECT_TEXT_FILE_EQ | ( | FILE0, | |
| FILE1 | |||
| ) |
| void cleanup | ( | const std::string & | filename | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string readFromFile | ( | const std::string & | path | ) |
| TEST | ( | SIMPLE_JUNIT | , |
| ATTRIBUTES | |||
| ) |
| TEST | ( | SIMPLE_JUNIT | , |
| COMPLEX | |||
| ) |
| TEST | ( | SIMPLE_JUNIT | , |
| ERROR | |||
| ) |
| TEST | ( | SIMPLE_JUNIT | , |
| FAILURE | |||
| ) |
| TEST | ( | SIMPLE_JUNIT | , |
| PASS | |||
| ) |
| TEST | ( | SIMPLE_JUNIT | , |
| TESTSUITES_NAME | |||
| ) |
| std::string trim | ( | const std::string & | string | ) |
| std::string trimCharacter | ( | const std::string & | string, |
| const std::string & | character | ||
| ) |