testTokenizer.cc File Reference
#include "squid.h"
#include "base/CharacterSet.h"
#include "parser/Tokenizer.h"
#include "tests/testTokenizer.h"
#include "unitTestMain.h"
Include dependency graph for testTokenizer.cc:

Go to the source code of this file.

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (testTokenizer)
 

Variables

SBuf text ("GET http://resource.com/path HTTP/1.1\r\n" "Host: resource.com\r\n" "Cookie: laijkpk3422r j1noin \r\n" "\r\n")
 
const CharacterSet alpha ("alpha","abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
 
const CharacterSet whitespace ("whitespace"," \r\n")
 
const CharacterSet crlf ("crlf","\r\n")
 
const CharacterSet tab ("tab","\t")
 
const CharacterSet numbers ("numbers","0123456789")
 

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( testTokenizer  )

Variable Documentation

◆ alpha

const CharacterSet alpha("alpha","abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")

◆ crlf

◆ numbers

const CharacterSet numbers("numbers","0123456789")

◆ tab

const CharacterSet tab("tab","\t")

◆ text

SBuf text("GET http://resource.com/path HTTP/1.1\r\n" "Host: resource.com\r\n" "Cookie: laijkpk3422r j1noin \r\n" "\r\n")

◆ whitespace

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors