jaulib v1.4.1
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
TestByteStream01 Class Reference
Collaboration diagram for TestByteStream01:

Public Member Functions

 TestByteStream01 ()
 
 ~TestByteStream01 ()
 
void test00a_protocols_error ()
 
void test00b_protocols_ok ()
 
void test01_copy_file_ok_11kiB_buff4k ()
 
void test02_copy_file_ok_65MiB_buff4k ()
 
void test04_copy_file_ok_65MiB_buff32k ()
 
void test11_copy_http_ok_buff32k ()
 
void test12_copy_http_404 ()
 
void test20_copy_fed_ok_buff4k_feed1k ()
 
void test21_copy_fed_ok_buff32k ()
 
void test22_copy_fed_ok_buff32k ()
 
void test23_copy_fed_irq ()
 
void test30_mem_seek ()
 
void test31_file_seek ()
 
void test40_seek_prep ()
 
void test41_seek_rw_file ()
 
void test42_seek_rw_url ()
 
void test4a_rewind_rw_file ()
 
void test4b_rewind_rw_url ()
 
void test_stream_rewind (jau::io::ByteStream &in, const std::string &out_name, const std::string &cmp_name)
 
void test_stream_seek (jau::io::ByteStream &in)
 
void test_stream_seek (jau::io::ByteStream &in, const std::string &out_name, const std::string &cmp_name, size_t skip1, size_t take1, size_t skip2, size_t take2)
 

Static Public Member Functions

static void feed_source_00 (jau::io::ByteInStream_Feed *data_feed, const size_t feed_size=1024)
 
static void feed_source_01 (jau::io::ByteInStream_Feed *data_feed, const size_t feed_size=1024)
 
static void feed_source_10 (jau::io::ByteInStream_Feed *data_feed, const size_t feed_size=1024)
 
static void feed_source_20 (jau::io::ByteInStream_Feed *data_feed, const size_t feed_size=1024)
 
static void feed_source_21 (jau::io::ByteInStream_Feed *data_feed, const size_t feed_size=1024)
 
static void httpd_start ()
 
static bool transfer (jau::io::ByteStream &input, const std::string &output_fname, const size_t buffer_size=4096)
 

Static Public Attributes

static constexpr const char * test40_cmp1_name = "test40_seek.cmp1.in"
 
static constexpr const char * test40_cmp2_name = "test40_seek.cmp2.in"
 
static constexpr const char * test40_cmp3_name = "test40_seek.cmp3.in"
 
static constexpr const char * test40_src_name = "test40_seek.src.in"
 

Detailed Description

Definition at line 45 of file test_bytestream01.cpp.

Constructor & Destructor Documentation

◆ TestByteStream01()

TestByteStream01::TestByteStream01 ( )
inline

Definition at line 131 of file test_bytestream01.cpp.

◆ ~TestByteStream01()

TestByteStream01::~TestByteStream01 ( )
inline

Definition at line 137 of file test_bytestream01.cpp.

Member Function Documentation

◆ httpd_start()

static void TestByteStream01::httpd_start ( )
inlinestatic

Definition at line 144 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ transfer()

static bool TestByteStream01::transfer ( jau::io::ByteStream & input,
const std::string & output_fname,
const size_t buffer_size = 4096 )
inlinestatic

Definition at line 156 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test00a_protocols_error()

void TestByteStream01::test00a_protocols_error ( )
inline

Definition at line 212 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test00b_protocols_ok()

void TestByteStream01::test00b_protocols_ok ( )
inline

Definition at line 279 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test01_copy_file_ok_11kiB_buff4k()

void TestByteStream01::test01_copy_file_ok_11kiB_buff4k ( )
inline

Definition at line 359 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test02_copy_file_ok_65MiB_buff4k()

void TestByteStream01::test02_copy_file_ok_65MiB_buff4k ( )
inline

Definition at line 375 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test04_copy_file_ok_65MiB_buff32k()

void TestByteStream01::test04_copy_file_ok_65MiB_buff32k ( )
inline

Definition at line 391 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test11_copy_http_ok_buff32k()

void TestByteStream01::test11_copy_http_ok_buff32k ( )
inline

Definition at line 407 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test12_copy_http_404()

void TestByteStream01::test12_copy_http_404 ( )
inline

Definition at line 450 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ feed_source_00()

static void TestByteStream01::feed_source_00 ( jau::io::ByteInStream_Feed * data_feed,
const size_t feed_size = 1024 )
inlinestatic

Definition at line 478 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ feed_source_01()

static void TestByteStream01::feed_source_01 ( jau::io::ByteInStream_Feed * data_feed,
const size_t feed_size = 1024 )
inlinestatic

Definition at line 500 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ feed_source_10()

static void TestByteStream01::feed_source_10 ( jau::io::ByteInStream_Feed * data_feed,
const size_t feed_size = 1024 )
inlinestatic

Definition at line 523 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ feed_source_20()

static void TestByteStream01::feed_source_20 ( jau::io::ByteInStream_Feed * data_feed,
const size_t feed_size = 1024 )
inlinestatic

Definition at line 543 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ feed_source_21()

static void TestByteStream01::feed_source_21 ( jau::io::ByteInStream_Feed * data_feed,
const size_t feed_size = 1024 )
inlinestatic

Definition at line 567 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test20_copy_fed_ok_buff4k_feed1k()

void TestByteStream01::test20_copy_fed_ok_buff4k_feed1k ( )
inline

Definition at line 592 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test21_copy_fed_ok_buff32k()

void TestByteStream01::test21_copy_fed_ok_buff32k ( )
inline

Definition at line 676 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test22_copy_fed_ok_buff32k()

void TestByteStream01::test22_copy_fed_ok_buff32k ( )
inline

Definition at line 739 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test23_copy_fed_irq()

void TestByteStream01::test23_copy_fed_irq ( )
inline

Definition at line 766 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test_stream_seek() [1/2]

void TestByteStream01::test_stream_seek ( jau::io::ByteStream & in)
inline

Definition at line 813 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test30_mem_seek()

void TestByteStream01::test30_mem_seek ( )
inline

Definition at line 831 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test31_file_seek()

void TestByteStream01::test31_file_seek ( )
inline

Definition at line 837 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test40_seek_prep()

void TestByteStream01::test40_seek_prep ( )
inline

Definition at line 849 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test_stream_seek() [2/2]

void TestByteStream01::test_stream_seek ( jau::io::ByteStream & in,
const std::string & out_name,
const std::string & cmp_name,
size_t skip1,
size_t take1,
size_t skip2,
size_t take2 )
inline

Definition at line 869 of file test_bytestream01.cpp.

◆ test41_seek_rw_file()

void TestByteStream01::test41_seek_rw_file ( )
inline

Definition at line 915 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test42_seek_rw_url()

void TestByteStream01::test42_seek_rw_url ( )
inline

Definition at line 929 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test_stream_rewind()

void TestByteStream01::test_stream_rewind ( jau::io::ByteStream & in,
const std::string & out_name,
const std::string & cmp_name )
inline

Definition at line 960 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test4a_rewind_rw_file()

void TestByteStream01::test4a_rewind_rw_file ( )
inline

Definition at line 1128 of file test_bytestream01.cpp.

Here is the caller graph for this function:

◆ test4b_rewind_rw_url()

void TestByteStream01::test4b_rewind_rw_url ( )
inline

Definition at line 1139 of file test_bytestream01.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ test40_src_name

const char* TestByteStream01::test40_src_name = "test40_seek.src.in"
staticconstexpr

Definition at line 844 of file test_bytestream01.cpp.

◆ test40_cmp1_name

const char* TestByteStream01::test40_cmp1_name = "test40_seek.cmp1.in"
staticconstexpr

Definition at line 845 of file test_bytestream01.cpp.

◆ test40_cmp2_name

const char* TestByteStream01::test40_cmp2_name = "test40_seek.cmp2.in"
staticconstexpr

Definition at line 846 of file test_bytestream01.cpp.

◆ test40_cmp3_name

const char* TestByteStream01::test40_cmp3_name = "test40_seek.cmp3.in"
staticconstexpr

Definition at line 847 of file test_bytestream01.cpp.


The documentation for this class was generated from the following file: