#include <stdio.h>#include <string.h>#include <string>#include <vector>#include <gtest/gtest.h>#include <openssl/base64.h>#include <openssl/crypto.h>#include <openssl/err.h>#include "../internal.h"#include "../test/test_util.h"
Go to the source code of this file.
Classes | |
| class | Base64Test |
| struct | Base64TestVector |
Enumerations | |
| enum | encoding_relation { canonical, valid, invalid } |
Functions | |
| INSTANTIATE_TEST_SUITE_P (All, Base64Test, testing::ValuesIn(kTestVectors)) | |
| static std::string | RemoveNewlines (const char *in) |
| TEST_P (Base64Test, DecodeBase64) | |
| TEST_P (Base64Test, DecodeBlock) | |
| TEST_P (Base64Test, DecodeUpdateStreaming) | |
| TEST_P (Base64Test, EncodeBlock) | |
| TEST_P (Base64Test, EncodeDecode) | |
Variables | |
| static const Base64TestVector | kTestVectors [] |
| enum encoding_relation |
| Enumerator | |
|---|---|
| canonical | |
| valid | |
| invalid | |
Definition at line 31 of file base64_test.cc.
| INSTANTIATE_TEST_SUITE_P | ( | All | , |
| Base64Test | , | ||
| testing::ValuesIn(kTestVectors) | |||
| ) |
|
static |
Definition at line 111 of file base64_test.cc.
| TEST_P | ( | Base64Test | , |
| DecodeBase64 | |||
| ) |
Definition at line 142 of file base64_test.cc.
| TEST_P | ( | Base64Test | , |
| DecodeBlock | |||
| ) |
Definition at line 166 of file base64_test.cc.
| TEST_P | ( | Base64Test | , |
| DecodeUpdateStreaming | |||
| ) |
Definition at line 248 of file base64_test.cc.
| TEST_P | ( | Base64Test | , |
| EncodeBlock | |||
| ) |
Definition at line 124 of file base64_test.cc.
| TEST_P | ( | Base64Test | , |
| EncodeDecode | |||
| ) |
Definition at line 190 of file base64_test.cc.
|
static |
Definition at line 49 of file base64_test.cc.