Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
raw_inflate_tests.cpp File Reference
#include "gtest/gtest.h"
#include <cstdint>
#include <cstring>
#include <string>
#include <vector>
#include "idna.h"
#include "../src/raw_inflate.hpp"
#include "../src/table_store.hpp"

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{raw_inflate_tests.cpp}

Functions

 TEST (RawInflate, FixedHuffmanHello)
 TEST (RawInflate, RejectsTruncatedInput)
 TEST (RawInflate, RejectsTinyOutputBuffer)
 TEST (RawInflate, HuffBuildFixedLitLen)
 TEST (RawInflate, TableBlobInflatesViaEnsureTables)
 TEST (RawInflate, LittleEndianWordsConvertToHost)
 TEST (RawInflate, HostEndianTablesServeUnicodeIdna)

Variables

constexpr uint8_t anonymous_namespace{raw_inflate_tests.cpp}::kHelloRaw [] = {203, 72, 205, 201, 201, 7, 0}

Function Documentation

◆ TEST() [1/7]

TEST ( RawInflate ,
FixedHuffmanHello  )

◆ TEST() [2/7]

TEST ( RawInflate ,
HostEndianTablesServeUnicodeIdna  )

◆ TEST() [3/7]

TEST ( RawInflate ,
HuffBuildFixedLitLen  )

◆ TEST() [4/7]

TEST ( RawInflate ,
LittleEndianWordsConvertToHost  )

Definition at line 73 of file raw_inflate_tests.cpp.

References ada::idna::detail::bswap_inplace().

◆ TEST() [5/7]

TEST ( RawInflate ,
RejectsTinyOutputBuffer  )

◆ TEST() [6/7]

TEST ( RawInflate ,
RejectsTruncatedInput  )

◆ TEST() [7/7]

TEST ( RawInflate ,
TableBlobInflatesViaEnsureTables  )