#include <boost/property_tree/ptree.hpp>
#include <canopen_master/objdict.h>
#include <gtest/gtest.h>
Go to the source code of this file.
|
typedef ::testing::Types< uint8_t, uint16_t, uint32_t, uint64_t > | PosTypes |
|
|
int | main (int argc, char **argv) |
|
template<typename T > |
canopen::HoldAny | parse_int (boost::property_tree::iptree &pt, const std::string &key) |
|
template<typename T > |
canopen::HoldAny | prepare_test (const std::string &str) |
|
void | set_access (canopen::ObjectDict::Entry &entry, std::string access) |
|
| TEST (TestHex, checkCamelCase) |
|
| TEST (TestHex, checkNodeCamelCase) |
|
| TEST (TestHex, checkSpaces) |
|
| TEST (TestHex, checkNodeSpaces) |
|
| TEST (TestHex, checkCommonObjects) |
|
| TEST (TestAccessString, TestRO) |
|
| TEST (TestAccessString, TestWO) |
|
| TEST (TestAccessString, TestRW) |
|
| TEST (TestAccessString, TestConst) |
|
void | testAccess (bool c, bool r, bool w, const char *variants[]) |
|
| TYPED_TEST (TestHexTypes, checkZero) |
|
| TYPED_TEST_CASE (TestHexTypes, PosTypes) |
|
typedef ::testing::Types<uint8_t, uint16_t, uint32_t, uint64_t> PosTypes |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
template<typename T >
canopen::HoldAny parse_int |
( |
boost::property_tree::iptree & |
pt, |
|
|
const std::string & |
key |
|
) |
| |
TEST |
( |
TestHex |
, |
|
|
checkCamelCase |
|
|
) |
| |
TEST |
( |
TestHex |
, |
|
|
checkNodeCamelCase |
|
|
) |
| |
TEST |
( |
TestHex |
, |
|
|
checkSpaces |
|
|
) |
| |
TEST |
( |
TestHex |
, |
|
|
checkNodeSpaces |
|
|
) |
| |
TEST |
( |
TestHex |
, |
|
|
checkCommonObjects |
|
|
) |
| |
TEST |
( |
TestAccessString |
, |
|
|
TestRO |
|
|
) |
| |
TEST |
( |
TestAccessString |
, |
|
|
TestWO |
|
|
) |
| |
TEST |
( |
TestAccessString |
, |
|
|
TestRW |
|
|
) |
| |
TEST |
( |
TestAccessString |
, |
|
|
TestConst |
|
|
) |
| |
void testAccess |
( |
bool |
c, |
|
|
bool |
r, |
|
|
bool |
w, |
|
|
const char * |
variants[] |
|
) |
| |