Namespaces | Defines | Functions
generated_messages.cpp File Reference
#include <gtest/gtest.h>
#include "helpers.h"
#include "test_roscpp/ArrayOfFixedLength.h"
#include "test_roscpp/ArrayOfVariableLength.h"
#include "test_roscpp/EmbeddedFixedLength.h"
#include "test_roscpp/EmbeddedVariableLength.h"
#include "test_roscpp/FixedLength.h"
#include "test_roscpp/VariableLength.h"
#include "test_roscpp/WithHeader.h"
#include "test_roscpp/EmbeddedExternal.h"
#include "test_roscpp/WithTime.h"
#include "test_roscpp/WithDuration.h"
#include "test_roscpp/WithMemberNamedHeaderThatIsNotAHeader.h"
#include "test_roscpp/FixedLengthArrayOfExternal.h"
#include "test_roscpp/VariableLengthArrayOfExternal.h"
#include "test_roscpp/Constants.h"
#include "test_roscpp/VariableLengthStringArray.h"
#include "test_roscpp/FixedLengthStringArray.h"
#include "test_roscpp/HeaderNotFirstMember.h"
Include dependency graph for generated_messages.cpp:

Go to the source code of this file.

Namespaces

namespace  test_roscpp

Defines

#define ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST(Type, Allocator)
#define SERIALIZATION_COMPILATION_TEST(Type)

Functions

 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (ArrayOfFixedLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (ArrayOfVariableLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (EmbeddedFixedLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (EmbeddedVariableLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (FixedLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (VariableLength, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (WithHeader, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (EmbeddedExternal, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (WithTime, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (WithDuration, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (WithMemberNamedHeaderThatIsNotAHeader, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (FixedLengthArrayOfExternal, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (VariableLengthArrayOfExternal, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (FixedLengthStringArray, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (VariableLengthStringArray, std::allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyArrayOfFixedLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyArrayOfVariableLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyEmbeddedFixedLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyEmbeddedVariableLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyFixedLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyVariableLength, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyWithHeader, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyEmbeddedExternal, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyWithTime, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyWithDuration, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyWithMemberNamedHeaderThatIsNotAHeader, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyFixedLengthArrayOfExternal, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyVariableLengthArrayOfExternal, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyFixedLengthStringArray, Allocator< void >)
 ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST (MyVariableLengthStringArray, Allocator< void >)
int main (int argc, char **argv)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (ArrayOfFixedLength, MyArrayOfFixedLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (ArrayOfVariableLength, MyArrayOfVariableLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (EmbeddedFixedLength, MyEmbeddedFixedLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (EmbeddedVariableLength, MyEmbeddedVariableLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (FixedLength, MyFixedLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (VariableLength, MyVariableLength, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (WithHeader, MyWithHeader, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (EmbeddedExternal, MyEmbeddedExternal, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (WithTime, MyWithTime, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (WithDuration, MyWithDuration, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (WithMemberNamedHeaderThatIsNotAHeader, MyWithMemberNamedHeaderThatIsNotAHeader, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (FixedLengthArrayOfExternal, MyFixedLengthArrayOfExternal, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (VariableLengthArrayOfExternal, MyVariableLengthArrayOfExternal, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (FixedLengthStringArray, MyFixedLengthStringArray, Allocator)
 test_roscpp::ROS_DECLARE_MESSAGE_WITH_ALLOCATOR (VariableLengthStringArray, MyVariableLengthStringArray, Allocator)
 SERIALIZATION_COMPILATION_TEST (ArrayOfFixedLength)
 SERIALIZATION_COMPILATION_TEST (ArrayOfVariableLength)
 SERIALIZATION_COMPILATION_TEST (EmbeddedFixedLength)
 SERIALIZATION_COMPILATION_TEST (EmbeddedVariableLength)
 SERIALIZATION_COMPILATION_TEST (FixedLength)
 SERIALIZATION_COMPILATION_TEST (VariableLength)
 SERIALIZATION_COMPILATION_TEST (WithHeader)
 SERIALIZATION_COMPILATION_TEST (EmbeddedExternal)
 SERIALIZATION_COMPILATION_TEST (WithTime)
 SERIALIZATION_COMPILATION_TEST (WithDuration)
 SERIALIZATION_COMPILATION_TEST (WithMemberNamedHeaderThatIsNotAHeader)
 SERIALIZATION_COMPILATION_TEST (FixedLengthArrayOfExternal)
 SERIALIZATION_COMPILATION_TEST (VariableLengthArrayOfExternal)
 SERIALIZATION_COMPILATION_TEST (FixedLengthStringArray)
 SERIALIZATION_COMPILATION_TEST (VariableLengthStringArray)
 SERIALIZATION_COMPILATION_TEST (MyArrayOfFixedLength)
 SERIALIZATION_COMPILATION_TEST (MyArrayOfVariableLength)
 SERIALIZATION_COMPILATION_TEST (MyEmbeddedFixedLength)
 SERIALIZATION_COMPILATION_TEST (MyEmbeddedVariableLength)
 SERIALIZATION_COMPILATION_TEST (MyFixedLength)
 SERIALIZATION_COMPILATION_TEST (MyVariableLength)
 SERIALIZATION_COMPILATION_TEST (MyWithHeader)
 SERIALIZATION_COMPILATION_TEST (MyEmbeddedExternal)
 SERIALIZATION_COMPILATION_TEST (MyWithTime)
 SERIALIZATION_COMPILATION_TEST (MyWithDuration)
 SERIALIZATION_COMPILATION_TEST (MyWithMemberNamedHeaderThatIsNotAHeader)
 SERIALIZATION_COMPILATION_TEST (MyFixedLengthArrayOfExternal)
 SERIALIZATION_COMPILATION_TEST (MyVariableLengthArrayOfExternal)
 SERIALIZATION_COMPILATION_TEST (MyFixedLengthStringArray)
 SERIALIZATION_COMPILATION_TEST (MyVariableLengthStringArray)
 TEST (GeneratedMessages, traitsWithStandardMessages)
 TEST (GeneratedMessages, traitsWithCustomAllocator)
 TEST (Generated, serializationOStreamOperator)
 TEST (Generated, constants)

Define Documentation

Value:
TEST(GeneratedMessages, allocationConstructor_##Type) \
  { \
    Allocator a; \
    Type val(a); \
  }

Definition at line 219 of file generated_messages.cpp.

#define SERIALIZATION_COMPILATION_TEST (   Type)
Value:
TEST(GeneratedMessages, serialization_##Type) \
  { \
    Type ser_val, deser_val; \
    serializeAndDeserialize(ser_val, deser_val); \
  }

Definition at line 180 of file generated_messages.cpp.


Function Documentation

ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( ArrayOfFixedLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( ArrayOfVariableLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( EmbeddedFixedLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( EmbeddedVariableLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( FixedLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( VariableLength  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( WithHeader  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( EmbeddedExternal  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( WithTime  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( WithDuration  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( WithMemberNamedHeaderThatIsNotAHeader  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( FixedLengthArrayOfExternal  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( VariableLengthArrayOfExternal  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( FixedLengthStringArray  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( VariableLengthStringArray  ,
std::allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyArrayOfFixedLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyArrayOfVariableLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyEmbeddedFixedLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyEmbeddedVariableLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyFixedLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyVariableLength  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyWithHeader  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyEmbeddedExternal  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyWithTime  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyWithDuration  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyWithMemberNamedHeaderThatIsNotAHeader  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyFixedLengthArrayOfExternal  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyVariableLengthArrayOfExternal  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyFixedLengthStringArray  ,
Allocator< void >   
)
ALLOCATOR_CONSTRUCTOR_COMPILATION_TEST ( MyVariableLengthStringArray  ,
Allocator< void >   
)
int main ( int  argc,
char **  argv 
)

Definition at line 284 of file generated_messages.cpp.

SERIALIZATION_COMPILATION_TEST ( ArrayOfFixedLength  )
SERIALIZATION_COMPILATION_TEST ( ArrayOfVariableLength  )
SERIALIZATION_COMPILATION_TEST ( EmbeddedFixedLength  )
SERIALIZATION_COMPILATION_TEST ( EmbeddedVariableLength  )
SERIALIZATION_COMPILATION_TEST ( FixedLength  )
SERIALIZATION_COMPILATION_TEST ( VariableLength  )
SERIALIZATION_COMPILATION_TEST ( EmbeddedExternal  )
SERIALIZATION_COMPILATION_TEST ( WithDuration  )
SERIALIZATION_COMPILATION_TEST ( WithMemberNamedHeaderThatIsNotAHeader  )
SERIALIZATION_COMPILATION_TEST ( FixedLengthArrayOfExternal  )
SERIALIZATION_COMPILATION_TEST ( VariableLengthArrayOfExternal  )
SERIALIZATION_COMPILATION_TEST ( FixedLengthStringArray  )
SERIALIZATION_COMPILATION_TEST ( VariableLengthStringArray  )
SERIALIZATION_COMPILATION_TEST ( MyArrayOfFixedLength  )
SERIALIZATION_COMPILATION_TEST ( MyArrayOfVariableLength  )
SERIALIZATION_COMPILATION_TEST ( MyEmbeddedFixedLength  )
SERIALIZATION_COMPILATION_TEST ( MyEmbeddedVariableLength  )
SERIALIZATION_COMPILATION_TEST ( MyFixedLength  )
SERIALIZATION_COMPILATION_TEST ( MyVariableLength  )
SERIALIZATION_COMPILATION_TEST ( MyWithHeader  )
SERIALIZATION_COMPILATION_TEST ( MyEmbeddedExternal  )
SERIALIZATION_COMPILATION_TEST ( MyWithDuration  )
SERIALIZATION_COMPILATION_TEST ( MyWithMemberNamedHeaderThatIsNotAHeader  )
SERIALIZATION_COMPILATION_TEST ( MyFixedLengthArrayOfExternal  )
SERIALIZATION_COMPILATION_TEST ( MyVariableLengthArrayOfExternal  )
SERIALIZATION_COMPILATION_TEST ( MyFixedLengthStringArray  )
SERIALIZATION_COMPILATION_TEST ( MyVariableLengthStringArray  )
TEST ( GeneratedMessages  ,
traitsWithStandardMessages   
)

Definition at line 77 of file generated_messages.cpp.

TEST ( GeneratedMessages  ,
traitsWithCustomAllocator   
)

Definition at line 129 of file generated_messages.cpp.

TEST ( Generated  ,
serializationOStreamOperator   
)

Definition at line 258 of file generated_messages.cpp.

TEST ( Generated  ,
constants   
)

Definition at line 268 of file generated_messages.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Fri Aug 28 2015 12:33:59