Macros | Functions | Variables
test_spec_pushpull.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
Include dependency graph for test_spec_pushpull.cpp:

Go to the source code of this file.

Macros

#define def_test_spec_pushpull(name, bind_address_)
 

Functions

 def_test_spec_pushpull (inproc, "inproc://a") def_test_spec_pushpull(tcp
 
 RUN_TEST (test_spec_pushpull_inproc_pull_fair_queue_in)
 
 RUN_TEST (test_spec_pushpull_inproc_push_block_on_send_no_peers)
 
 RUN_TEST (test_spec_pushpull_inproc_push_multipart_atomic_drop_block)
 
 RUN_TEST (test_spec_pushpull_inproc_push_multipart_atomic_drop_non_block)
 
 RUN_TEST (test_spec_pushpull_inproc_push_round_robin_out)
 
 RUN_TEST (test_spec_pushpull_tcp_pull_fair_queue_in)
 
 RUN_TEST (test_spec_pushpull_tcp_push_block_on_send_no_peers)
 
 RUN_TEST (test_spec_pushpull_tcp_push_multipart_atomic_drop_block)
 
 RUN_TEST (test_spec_pushpull_tcp_push_multipart_atomic_drop_non_block)
 
 RUN_TEST (test_spec_pushpull_tcp_push_round_robin_out)
 
void test_destroy_queue_on_disconnect (const char *bind_address_)
 
void test_pull_fair_queue_in (const char *bind_address_)
 
void test_push_block_on_send_no_peers (const char *bind_address_)
 
void test_push_multipart_atomic_drop (const char *bind_address_, const bool block_)
 
void test_push_round_robin_out (const char *bind_address_)
 
 UNITY_BEGIN ()
 
return UNITY_END ()
 

Variables

tcp __pad0__
 
SETUP_TEARDOWN_TESTCONTEXT char connect_address [MAX_SOCKET_STRING]
 

Macro Definition Documentation

◆ def_test_spec_pushpull

#define def_test_spec_pushpull (   name,
  bind_address_ 
)
Value:
void test_spec_pushpull_##name##_push_round_robin_out () \
{ \
test_push_round_robin_out (bind_address_); \
} \
void test_spec_pushpull_##name##_pull_fair_queue_in () \
{ \
test_pull_fair_queue_in (bind_address_); \
} \
void test_spec_pushpull_##name##_push_block_on_send_no_peers () \
{ \
test_push_block_on_send_no_peers (bind_address_); \
} \
void test_spec_pushpull_##name##_destroy_queue_on_disconnect () \
{ \
test_destroy_queue_on_disconnect (bind_address_); \
} \
void test_spec_pushpull_##name##_push_multipart_atomic_drop_block () \
{ \
test_push_multipart_atomic_drop (bind_address_, true); \
} \
void test_spec_pushpull_##name##_push_multipart_atomic_drop_non_block () \
{ \
test_push_multipart_atomic_drop (bind_address_, false); \
}

Definition at line 343 of file test_spec_pushpull.cpp.

Function Documentation

◆ def_test_spec_pushpull()

def_test_spec_pushpull ( inproc  ,
"inproc://a  
)

◆ RUN_TEST() [1/10]

RUN_TEST ( test_spec_pushpull_inproc_pull_fair_queue_in  )

◆ RUN_TEST() [2/10]

RUN_TEST ( test_spec_pushpull_inproc_push_block_on_send_no_peers  )

◆ RUN_TEST() [3/10]

RUN_TEST ( test_spec_pushpull_inproc_push_multipart_atomic_drop_block  )

◆ RUN_TEST() [4/10]

RUN_TEST ( test_spec_pushpull_inproc_push_multipart_atomic_drop_non_block  )

◆ RUN_TEST() [5/10]

RUN_TEST ( test_spec_pushpull_inproc_push_round_robin_out  )

◆ RUN_TEST() [6/10]

RUN_TEST ( test_spec_pushpull_tcp_pull_fair_queue_in  )

◆ RUN_TEST() [7/10]

RUN_TEST ( test_spec_pushpull_tcp_push_block_on_send_no_peers  )

◆ RUN_TEST() [8/10]

RUN_TEST ( test_spec_pushpull_tcp_push_multipart_atomic_drop_block  )

◆ RUN_TEST() [9/10]

RUN_TEST ( test_spec_pushpull_tcp_push_multipart_atomic_drop_non_block  )

◆ RUN_TEST() [10/10]

RUN_TEST ( test_spec_pushpull_tcp_push_round_robin_out  )

◆ test_destroy_queue_on_disconnect()

void test_destroy_queue_on_disconnect ( const char *  bind_address_)

Definition at line 145 of file test_spec_pushpull.cpp.

◆ test_pull_fair_queue_in()

void test_pull_fair_queue_in ( const char *  bind_address_)

Definition at line 55 of file test_spec_pushpull.cpp.

◆ test_push_block_on_send_no_peers()

void test_push_block_on_send_no_peers ( const char *  bind_address_)

Definition at line 127 of file test_spec_pushpull.cpp.

◆ test_push_multipart_atomic_drop()

void test_push_multipart_atomic_drop ( const char *  bind_address_,
const bool  block_ 
)

Definition at line 210 of file test_spec_pushpull.cpp.

◆ test_push_round_robin_out()

void test_push_round_robin_out ( const char *  bind_address_)

Definition at line 15 of file test_spec_pushpull.cpp.

◆ UNITY_BEGIN()

UNITY_BEGIN ( )

◆ UNITY_END()

return UNITY_END ( )

Variable Documentation

◆ __pad0__

tcp __pad0__

Definition at line 375 of file test_spec_pushpull.cpp.

◆ connect_address

Definition at line 11 of file test_spec_pushpull.cpp.

name
GLuint const GLchar * name
Definition: glcorearb.h:3055


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