Apache HTTPD
Functions | Variables
testencode.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "apr_encode.h"
#include "apr_strings.h"
#include "abts.h"
#include "testutil.h"

Go to the source code of this file.

Functions

static void test_encode_base64 (abts_case *tc, void *data)
 
static void test_encode_base64_binary (abts_case *tc, void *data)
 
static void test_decode_base64 (abts_case *tc, void *data)
 
static void test_decode_base64_binary (abts_case *tc, void *data)
 
static void test_encode_base32 (abts_case *tc, void *data)
 
static void test_encode_base32_binary (abts_case *tc, void *data)
 
static void test_decode_base32 (abts_case *tc, void *data)
 
static void test_decode_base32_binary (abts_case *tc, void *data)
 
static void test_encode_base16 (abts_case *tc, void *data)
 
static void test_encode_base16_binary (abts_case *tc, void *data)
 
static void test_decode_base16 (abts_case *tc, void *data)
 
static void test_decode_base16_binary (abts_case *tc, void *data)
 
static void test_encode_errors (abts_case *tc, void *data)
 
static void test_decode_errors (abts_case *tc, void *data)
 
abts_suitetestencode (abts_suite *suite)
 

Variables

static const unsigned char ufoobar [] = { 'f', 'o', 'o', 'b', 'a', 'r' }
 

Function Documentation

◆ test_decode_base16()

static void test_decode_base16 ( abts_case tc,
void *  data 
)
static

Definition at line 862 of file testencode.c.

◆ test_decode_base16_binary()

static void test_decode_base16_binary ( abts_case tc,
void *  data 
)
static

Definition at line 884 of file testencode.c.

◆ test_decode_base32()

static void test_decode_base32 ( abts_case tc,
void *  data 
)
static

Definition at line 487 of file testencode.c.

◆ test_decode_base32_binary()

static void test_decode_base32_binary ( abts_case tc,
void *  data 
)
static

Definition at line 627 of file testencode.c.

◆ test_decode_base64()

static void test_decode_base64 ( abts_case tc,
void *  data 
)
static

Definition at line 122 of file testencode.c.

◆ test_decode_base64_binary()

static void test_decode_base64_binary ( abts_case tc,
void *  data 
)
static

Definition at line 177 of file testencode.c.

◆ test_decode_errors()

static void test_decode_errors ( abts_case tc,
void *  data 
)
static

Definition at line 956 of file testencode.c.

◆ test_encode_base16()

static void test_encode_base16 ( abts_case tc,
void *  data 
)
static

Definition at line 767 of file testencode.c.

◆ test_encode_base16_binary()

static void test_encode_base16_binary ( abts_case tc,
void *  data 
)
static

Definition at line 815 of file testencode.c.

◆ test_encode_base32()

static void test_encode_base32 ( abts_case tc,
void *  data 
)
static

Definition at line 232 of file testencode.c.

◆ test_encode_base32_binary()

static void test_encode_base32_binary ( abts_case tc,
void *  data 
)
static

Definition at line 372 of file testencode.c.

◆ test_encode_base64()

static void test_encode_base64 ( abts_case tc,
void *  data 
)
static

Definition at line 29 of file testencode.c.

◆ test_encode_base64_binary()

static void test_encode_base64_binary ( abts_case tc,
void *  data 
)
static

Definition at line 79 of file testencode.c.

◆ test_encode_errors()

static void test_encode_errors ( abts_case tc,
void *  data 
)
static

Definition at line 908 of file testencode.c.

◆ testencode()

abts_suite * testencode ( abts_suite suite)

Definition at line 1104 of file testencode.c.

Variable Documentation

◆ ufoobar

const unsigned char ufoobar[] = { 'f', 'o', 'o', 'b', 'a', 'r' }
static

Definition at line 27 of file testencode.c.