Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
streams_tests.cpp File Reference
#include <flatfile.h>
#include <node/blockstorage.h>
#include <streams.h>
#include <test/util/common.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)
 BOOST_AUTO_TEST_CASE (size_preserves_position)

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/18]

BOOST_AUTO_TEST_CASE ( bitstream_reader_writer )

Definition at line 267 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/18]

BOOST_AUTO_TEST_CASE ( buffered_reader_matches_autofile_random_content )

Definition at line 629 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/18]

BOOST_AUTO_TEST_CASE ( buffered_writer_matches_autofile_random_content )

Definition at line 683 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/18]

BOOST_AUTO_TEST_CASE ( buffered_writer_reader )

Definition at line 744 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/18]

BOOST_AUTO_TEST_CASE ( obfuscation_empty )

Definition at line 82 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/18]

BOOST_AUTO_TEST_CASE ( obfuscation_hexkey )

Definition at line 52 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/18]

BOOST_AUTO_TEST_CASE ( obfuscation_serialize )

Definition at line 60 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/18]

BOOST_AUTO_TEST_CASE ( size_preserves_position )

Definition at line 790 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/18]

BOOST_AUTO_TEST_CASE ( streams_buffered_file )

Definition at line 328 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [10/18]

BOOST_AUTO_TEST_CASE ( streams_buffered_file_rand )

Definition at line 507 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/18]

BOOST_AUTO_TEST_CASE ( streams_buffered_file_skip )

Definition at line 458 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/18]

BOOST_AUTO_TEST_CASE ( streams_hashed )

Definition at line 776 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [13/18]

BOOST_AUTO_TEST_CASE ( streams_serializedata_xor )

Definition at line 302 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [14/18]

BOOST_AUTO_TEST_CASE ( streams_vector_reader )

Definition at line 211 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [15/18]

BOOST_AUTO_TEST_CASE ( streams_vector_reader_rvalue )

Definition at line 256 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [16/18]

BOOST_AUTO_TEST_CASE ( streams_vector_writer )

Definition at line 153 of file streams_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/18]

BOOST_AUTO_TEST_CASE ( xor_file )

Definition at line 91 of file streams_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [18/18]

BOOST_AUTO_TEST_CASE ( xor_random_chunks )

Definition at line 24 of file streams_tests.cpp.

Here is the call graph for this function: