Classes | Typedefs | Functions
test_parser.cpp File Reference
#include <boost/property_tree/ptree.hpp>
#include <canopen_master/objdict.h>
#include <gtest/gtest.h>
Include dependency graph for test_parser.cpp:

Go to the source code of this file.

Classes

class  TestHexTypes< T >

Typedefs

typedef ::testing::Types
< uint8_t, uint16_t, uint32_t,
uint64_t > 
PosTypes

Functions

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 Documentation

typedef ::testing::Types<uint8_t, uint16_t, uint32_t, uint64_t> PosTypes

Definition at line 27 of file test_parser.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 152 of file test_parser.cpp.

template<typename T >
canopen::HoldAny parse_int ( boost::property_tree::iptree &  pt,
const std::string &  key 
)

Definition at line 139 of file objdict.cpp.

template<typename T >
canopen::HoldAny prepare_test ( const std::string &  str)

Definition at line 11 of file test_parser.cpp.

void set_access ( canopen::ObjectDict::Entry entry,
std::string  access 
)

Definition at line 84 of file objdict.cpp.

TEST ( TestHex  ,
checkCamelCase   
)

Definition at line 42 of file test_parser.cpp.

TEST ( TestHex  ,
checkNodeCamelCase   
)

Definition at line 49 of file test_parser.cpp.

TEST ( TestHex  ,
checkSpaces   
)

Definition at line 59 of file test_parser.cpp.

TEST ( TestHex  ,
checkNodeSpaces   
)

Definition at line 65 of file test_parser.cpp.

TEST ( TestHex  ,
checkCommonObjects   
)

Definition at line 78 of file test_parser.cpp.

TEST ( TestAccessString  ,
TestRO   
)

Definition at line 119 of file test_parser.cpp.

TEST ( TestAccessString  ,
TestWO   
)

Definition at line 125 of file test_parser.cpp.

TEST ( TestAccessString  ,
TestRW   
)

Definition at line 131 of file test_parser.cpp.

TEST ( TestAccessString  ,
TestConst   
)

Definition at line 143 of file test_parser.cpp.

void testAccess ( bool  c,
bool  r,
bool  w,
const char *  variants[] 
)

Definition at line 103 of file test_parser.cpp.

TYPED_TEST ( TestHexTypes  ,
checkZero   
)

Definition at line 31 of file test_parser.cpp.



canopen_master
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:42