git/t/unit-tests/t-urlmatch-normalization.c

#include "test-lib.h"
#include "urlmatch.h"

static void check_url_normalizable(const char *url, unsigned int normalizable)
{}

static void check_normalized_url(const char *url, const char *expect)
{}

static void compare_normalized_urls(const char *url1, const char *url2,
				    unsigned int equal)
{}

static void check_normalized_url_length(const char *url, size_t len)
{}

/* Note that only "file:" URLs should be allowed without a host */
static void t_url_scheme(void)
{}

static void t_url_authority(void)
{}

static void t_url_port(void)
{}

static void t_url_port_normalization(void)
{}

static void t_url_general_escape(void)
{}

static void t_url_high_bit(void)
{}

static void t_url_utf8_escape(void)
{}

static void t_url_username_pass(void)
{}

static void t_url_length(void)
{}

static void t_url_dots(void)
{}

/*
 * "http://@foo" specifies an empty user name but does not specify a password.
 * "http://foo" specifies neither a user name nor a password.
 * So they should not be equivalent.
 */
static void t_url_equivalents(void)
{}

int cmd_main(int argc UNUSED, const char **argv UNUSED)
{}