libtld: /home/snapwebsites/snapcpp/contrib/libtld/tests/tld_test_domain_lowercase.c File Reference

libtld  1.5.13
A library to determine the Top-Level Domain name of any URL.
tld_test_domain_lowercase.c File Reference

Test the tld_domain_to_lowercase() function. More...

#include "libtld/tld.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <limits.h>
#include <wctype.h>
Include dependency graph for tld_test_domain_lowercase.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
void test_add_byte (char **out, int wc, int force_caps)
 
void test_all_characters ()
 
void test_empty ()
 
void test_invalid_xx ()
 
void test_to_utf8 (char **out, int wc, int force_caps)
 

Variables

int err_count = 0
 
int verbose = 0
 

Detailed Description

This file implements various test to verify that the tld_domain_to_lowercase() function works as expected.

Definition in file tld_test_domain_lowercase.c.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly