#include "squid.h"
#include "base/CharacterSet.h"
#include "compat/cppunit.h"
#include "parser/Tokenizer.h"
#include "unitTestMain.h"
![](testTokenizer_8cc__incl.png)
Go to the source code of this file.
Classes | |
class | TestTokenizer |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (TestTokenizer) | |
int | main (int argc, char *argv[]) |
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 | ) |
◆ main()
Definition at line 640 of file testTokenizer.cc.
References TestProgram::run().
Variable Documentation
◆ alpha
const CharacterSet alpha("alpha","abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") |
◆ crlf
const CharacterSet crlf("crlf","\r\n") |
Definition at line 12 of file Elements.cc.
Referenced by Adaptation::Icap::ModXact::closeChunk(), Http::One::CrLf(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::ModXact::makeRequestHeaders(), TestTokenizer::testTokenizerPrefix(), and TestTokenizer::testTokenizerSuffix().
◆ numbers
const CharacterSet numbers("numbers","0123456789") |
Referenced by TestTokenizer::testTokenizerPrefix(), and TestTokenizer::testTokenizerSuffix().
◆ tab
const CharacterSet tab("tab","\t") |
Referenced by TestTokenizer::testTokenizerPrefix().
◆ 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") |
Referenced by Acl::NotNode::dump(), errorInitialize(), Ftp::Gateway::htmlifyListEntry(), ErrorPage::ImportStaticErrorText(), ipcache_entry::latestError(), Ssl::ParseAsSimpleDomainNameOrIp(), TestSBuf::testIterators(), TestTokenizer::testTokenizerPrefix(), TestTokenizer::testTokenizerSkip(), TestTokenizer::testTokenizerSuffix(), TestTokenizer::testTokenizerToken(), and Acl::Tree::treeDump().
◆ whitespace
const CharacterSet whitespace("whitespace"," \r\n") |
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products