![]() |
Project
|
#include "AODNative/Codecs.h"#include "AODNative/Errors.h"#include "RootFraming.h"#include <catch_amalgamated.hpp>#include <numeric>#include <random>Go to the source code of this file.
Functions | |
| TEST_CASE ("xxh64 matches the reference implementation") | |
| TEST_CASE ("each codec round-trips a single chunk") | |
| TEST_CASE ("each codec handles several chunks") | |
| TEST_CASE ("bounded decompression stops exactly at maxOut") | |
| TEST_CASE ("prefix reads of large chunks stop exactly at the bound") | |
| TEST_CASE ("no read can follow a prefix read") | |
| TEST_CASE ("incremental reads of odd sizes produce the same bytes") | |
| TEST_CASE ("truncated payloads raise CorruptData") | |
| TEST_CASE ("corrupt payloads raise CorruptData") | |
| TEST_CASE ("LZ4 checksum mismatch is detected") | |
| TEST_CASE ("legacy and unknown algorithms are unsupported") | |
| TEST_CASE ("chunks larger than the object length are rejected") | |
| TEST_CASE | ( | "bounded decompression stops exactly at maxOut" | ) |
Definition at line 72 of file test_Codecs.cxx.
Definition at line 193 of file test_Codecs.cxx.
| TEST_CASE | ( | "corrupt payloads raise CorruptData" | ) |
Definition at line 147 of file test_Codecs.cxx.
| TEST_CASE | ( | "each codec handles several chunks" | ) |
Definition at line 61 of file test_Codecs.cxx.
| TEST_CASE | ( | "each codec round-trips a single chunk" | ) |
Definition at line 50 of file test_Codecs.cxx.
| TEST_CASE | ( | "incremental reads of odd sizes produce the same bytes" | ) |
Definition at line 116 of file test_Codecs.cxx.
| TEST_CASE | ( | "legacy and unknown algorithms are unsupported" | ) |
Definition at line 180 of file test_Codecs.cxx.
| TEST_CASE | ( | "LZ4 checksum mismatch is detected" | ) |
Definition at line 171 of file test_Codecs.cxx.
| TEST_CASE | ( | "no read can follow a prefix read" | ) |
Definition at line 106 of file test_Codecs.cxx.
| TEST_CASE | ( | "prefix reads of large chunks stop exactly at the bound" | ) |
Definition at line 87 of file test_Codecs.cxx.
| TEST_CASE | ( | "truncated payloads raise CorruptData" | ) |
Definition at line 134 of file test_Codecs.cxx.
| TEST_CASE | ( | "xxh64 matches the reference implementation" | ) |
Definition at line 38 of file test_Codecs.cxx.