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

Go to the source code of this file.

Classes

struct  test_message_t
 

Functions

bool has_more (void *socket_)
 
int main (int, char **)
 
void test_stream_disconnect ()
 

Variables

static const int CLIENT = 1
 
const test_message_t dialog []
 
static const SETUP_TEARDOWN_TESTCONTEXT int SERVER = 0
 
const int steps = sizeof (dialog) / sizeof (dialog[0])
 

Function Documentation

◆ has_more()

bool has_more ( void socket_)

Definition at line 27 of file test_stream_disconnect.cpp.

◆ main()

int main ( int  ,
char **   
)

Definition at line 231 of file test_stream_disconnect.cpp.

◆ test_stream_disconnect()

void test_stream_disconnect ( )

Definition at line 37 of file test_stream_disconnect.cpp.

Variable Documentation

◆ CLIENT

const int CLIENT = 1
static

Definition at line 11 of file test_stream_disconnect.cpp.

◆ dialog

const test_message_t dialog[]
Initial value:
= {
{CLIENT, "i can haz cheez burger?"},
{SERVER, "y u no disonnect?"},
{CLIENT, ""},
}

Definition at line 20 of file test_stream_disconnect.cpp.

◆ SERVER

const SETUP_TEARDOWN_TESTCONTEXT int SERVER = 0
static

Definition at line 10 of file test_stream_disconnect.cpp.

◆ steps

const int steps = sizeof (dialog) / sizeof (dialog[0])

Definition at line 25 of file test_stream_disconnect.cpp.

SERVER
static const SETUP_TEARDOWN_TESTCONTEXT int SERVER
Definition: test_stream_disconnect.cpp:10
CLIENT
static const int CLIENT
Definition: test_stream_disconnect.cpp:11


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