Bitcoin Core 29.99.0
P2P Digital Currency
Functions
streams_tests.cpp File Reference
#include <flatfile.h>
#include <node/blockstorage.h>
#include <streams.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/fs.h>
#include <util/obfuscation.h>
#include <util/strencodings.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for streams_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (xor_random_chunks)
 
 BOOST_AUTO_TEST_CASE (obfuscation_hexkey)
 
 BOOST_AUTO_TEST_CASE (obfuscation_serialize)
 
 BOOST_AUTO_TEST_CASE (obfuscation_empty)
 
 BOOST_AUTO_TEST_CASE (xor_file)
 
 BOOST_AUTO_TEST_CASE (streams_vector_writer)
 
 BOOST_AUTO_TEST_CASE (streams_vector_reader)
 
 BOOST_AUTO_TEST_CASE (streams_vector_reader_rvalue)
 
 BOOST_AUTO_TEST_CASE (bitstream_reader_writer)
 
 BOOST_AUTO_TEST_CASE (streams_serializedata_xor)
 
 BOOST_AUTO_TEST_CASE (streams_buffered_file)
 
 BOOST_AUTO_TEST_CASE (streams_buffered_file_skip)
 
 BOOST_AUTO_TEST_CASE (streams_buffered_file_rand)
 
 BOOST_AUTO_TEST_CASE (buffered_reader_matches_autofile_random_content)
 
 BOOST_AUTO_TEST_CASE (buffered_writer_matches_autofile_random_content)
 
 BOOST_AUTO_TEST_CASE (buffered_writer_reader)
 
 BOOST_AUTO_TEST_CASE (streams_hashed)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/17]

BOOST_AUTO_TEST_CASE ( bitstream_reader_writer  )

Definition at line 261 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/17]

BOOST_AUTO_TEST_CASE ( buffered_reader_matches_autofile_random_content  )

Definition at line 623 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/17]

BOOST_AUTO_TEST_CASE ( buffered_writer_matches_autofile_random_content  )

Definition at line 677 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/17]

BOOST_AUTO_TEST_CASE ( buffered_writer_reader  )

Definition at line 738 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/17]

BOOST_AUTO_TEST_CASE ( obfuscation_empty  )

Definition at line 81 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/17]

BOOST_AUTO_TEST_CASE ( obfuscation_hexkey  )

Definition at line 51 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/17]

BOOST_AUTO_TEST_CASE ( obfuscation_serialize  )

Definition at line 59 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/17]

BOOST_AUTO_TEST_CASE ( streams_buffered_file  )

Definition at line 322 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/17]

BOOST_AUTO_TEST_CASE ( streams_buffered_file_rand  )

Definition at line 501 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/17]

BOOST_AUTO_TEST_CASE ( streams_buffered_file_skip  )

Definition at line 452 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/17]

BOOST_AUTO_TEST_CASE ( streams_hashed  )

Definition at line 770 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/17]

BOOST_AUTO_TEST_CASE ( streams_serializedata_xor  )

Definition at line 296 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( streams_vector_reader  )

Definition at line 205 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( streams_vector_reader_rvalue  )

Definition at line 250 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( streams_vector_writer  )

Definition at line 147 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/17]

BOOST_AUTO_TEST_CASE ( xor_file  )

Definition at line 90 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [17/17]

BOOST_AUTO_TEST_CASE ( xor_random_chunks  )

Definition at line 23 of file streams_tests.cpp.