KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_base64.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <core/base64.h>
#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Functions

static std::vector< uint8_t > bytes (const std::string &aText)
 
static std::string decoded (const std::string &aBase64)
 
 BOOST_AUTO_TEST_CASE (DecodeKnownVectors)
 
 BOOST_AUTO_TEST_CASE (RoundTrip)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( DecodeKnownVectors )

Definition at line 46 of file test_base64.cpp.

References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and decoded().

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( RoundTrip )

◆ bytes()

static std::vector< uint8_t > bytes ( const std::string & aText)
static

Definition at line 29 of file test_base64.cpp.

Referenced by KIGEOM::FRACTURE_INDEX::ActualCapacityFits(), EASYPC_PCB::ApplyTextPosition(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), KIGEOM::FRACTURE_INDEX::CapacityFits(), copyBytes(), LIBGIT_BACKEND::CreateMergedCommit(), decoded(), EASYPC::TEXT_METRICS::Encode(), KIGFX::GAL_MODERN::evictBitmapCacheEntries(), EASYPC::FillTitleBlock(), PADS_IO::BINARY_PARSER::layerStackupBase(), EASYPC::COMPOUND_FILE::LibraryProduct(), PCB_IO_EAGLE::loadBoard(), SCH_IO_EAGLE::loadXmlDocument(), PADS_IO::BINARY_PARSER::Parse(), PADS_IO::PADS_SDB::parsePhysicalFraming(), PADS_IO::BINARY_PARSER::parseTerminals(), KIGFX::queryFreeVideoMemoryBytes(), KIPLATFORM::IO::FILE_LOCK::ReadAll(), EASYPC::ARCHIVE::ReadString(), PANEL_GIT_HISTORY::requestAvatar(), EAGLE_BIN_PARSER::resolveSchConnects(), KIPLATFORM::IO::FILE_LOCK::Rewrite(), SafeReadFile(), storedImageData(), KIGFX::GAL_MODERN::submitSpan(), ALLEGRO::FILE_STREAM::swapBytes(), utf8_utils::UTF8_CONVERTER::to_utf32(), PLUGIN_CONTENT_MANAGER::VerifyHash(), and WriteTempGlb().

◆ decoded()