Functions | Variables
test_xpub_topic.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
Include dependency graph for test_xpub_topic.cpp:

Go to the source code of this file.

Functions

int main ()
 
template<size_t SIZE>
void test_subscribe_cancel (void *xpub, void *sub, const char(&topic)[SIZE])
 
void test_xpub_subscribe_long_topic ()
 

Variables

const SETUP_TEARDOWN_TESTCONTEXT char bind_address [] = "tcp://127.0.0.1:*"
 
char connect_address [MAX_SOCKET_STRING]
 
const char long_topic []
 
const char short_topic []
 

Function Documentation

◆ main()

int main ( )

Definition at line 77 of file test_xpub_topic.cpp.

◆ test_subscribe_cancel()

template<size_t SIZE>
void test_subscribe_cancel ( void xpub,
void sub,
const char(&)  topic[SIZE] 
)

Definition at line 27 of file test_xpub_topic.cpp.

◆ test_xpub_subscribe_long_topic()

void test_xpub_subscribe_long_topic ( )

Definition at line 58 of file test_xpub_topic.cpp.

Variable Documentation

◆ bind_address

const SETUP_TEARDOWN_TESTCONTEXT char bind_address[] = "tcp://127.0.0.1:*"

Definition at line 8 of file test_xpub_topic.cpp.

◆ connect_address

char connect_address[MAX_SOCKET_STRING]

Definition at line 9 of file test_xpub_topic.cpp.

◆ long_topic

const char long_topic[]
Initial value:
=
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEF"

Definition at line 19 of file test_xpub_topic.cpp.

◆ short_topic

const char short_topic[]
Initial value:
=
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP"
"ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDE"

Definition at line 12 of file test_xpub_topic.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04