test_http_range.cc File Reference
#include "squid.h"
#include "fatal.h"
#include "HttpHeader.h"
#include "HttpHeaderRange.h"
#include "HttpHeaderTools.h"
Include dependency graph for test_http_range.cc:

Go to the source code of this file.

Functions

static void testRangeParser (char const *rangestring)
 
static HttpHdrRangerangeFromString (char const *rangestring)
 
static void testRangeIter ()
 
static void testRangeCanonization ()
 
int main (int, char **)
 

Function Documentation

◆ main()

int main ( int  ,
char **   
)

◆ rangeFromString()

static HttpHdrRange* rangeFromString ( char const *  rangestring)
static

Definition at line 38 of file test_http_range.cc.

References HttpHdrRange::ParseCreate().

Referenced by testRangeCanonization(), and testRangeIter().

◆ testRangeCanonization()

static void testRangeCanonization ( )
static

Definition at line 71 of file test_http_range.cc.

References assert, HttpHdrRange::canonize(), rangeFromString(), and HttpHdrRange::specs.

Referenced by main().

◆ testRangeIter()

static void testRangeIter ( )
static

Definition at line 50 of file test_http_range.cc.

References assert, HttpHdrRange::begin(), HttpHdrRange::end(), rangeFromString(), and HttpHdrRange::specs.

Referenced by main().

◆ testRangeParser()

static void testRangeParser ( char const *  rangestring)
static

Definition at line 18 of file test_http_range.cc.

References assert, HttpHdrRange::begin(), HttpHdrRange::ParseCreate(), and HttpHdrRange::specs.

Referenced by main().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors