scclib
Stable Cloud Computing C++ Library
Macros | Functions

Tests for input/output stream utilities. More...

#include <util/rwloopbuf.h>
#include <util/rwcounter.h>
#include <util/rwtimer.h>
#include <util/iopipeline.h>
#include <gtest/gtest.h>
#include <iostream>
#include <string>
#include <thread>
#include <util/iostream.h>
Include dependency graph for iohelper.cc:

Go to the source code of this file.

Macros

#define BUF_SZ   1024
 

Functions

 TEST (RwLoopBuffer, sanity)
 
 TEST (RwLoopBuffer, read_empty)
 
 TEST (RwLoopBuffer, Write_all_read_0)
 
 TEST (RwLoopBuffer, Write_all_read_max)
 
 TEST (RwLoopBuffer, Write_chunks_read_chunks)
 
 TEST (RwLoopBuffer, clear)
 
 TEST (RwCounter, counter_and_loop_buffer)
 
 TEST (IoHelpers, counter_timer)
 
 TEST (IoHelpers, chained_test)
 
 TEST_F (IoPipelineTester, basic)
 
 TEST_F (IoPipelineTester, replace_base)
 
 TEST_F (IoPipelineTester, add_and_delete)
 

Detailed Description

Tests for input/output stream utilities.

Definition in file iohelper.cc.

Function Documentation

◆ TEST() [1/2]

TEST ( IoHelpers  ,
chained_test   
)

[Chained test]

[Chained test]

Definition at line 226 of file iohelper.cc.

◆ TEST() [2/2]

TEST ( IoHelpers  ,
counter_timer   
)

[Counter and timer]

[Counter and timer]

Definition at line 187 of file iohelper.cc.