SBufFindTest.cc File Reference
#include "squid.h"
#include "base/CharacterSet.h"
#include "tests/SBufFindTest.h"
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/Message.h>
#include <limits>
#include <random>
Include dependency graph for SBufFindTest.cc:

Go to the source code of this file.

Functions

template<typename Type >
std::string AnyToString (const Type &value)
 helper function to convert "printable" Type to std::string More...
 
std::string PosToString (const std::string::size_type pos)
 helper function to convert std::string position to a human-friendly string More...
 
std::string lengthKey (const std::string &str)
 helper function to format a length-based key (part of case category string) More...
 

Function Documentation

template<typename Type >
std::string AnyToString ( const Type value)
inline

Definition at line 199 of file SBufFindTest.cc.

Referenced by PosToString().

std::string lengthKey ( const std::string &  str)
inline

Definition at line 263 of file SBufFindTest.cc.

Referenced by SBufFindTest::handleFailure().

std::string PosToString ( const std::string::size_type  pos)
inline

Definition at line 217 of file SBufFindTest.cc.

References AnyToString().

Referenced by SBufFindTest::handleFailure(), and SBufFindTest::testAllMethods().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors