testUfs Class Reference
#include <testUfs.h>


Protected Member Functions | |
| void | commonInit () |
| void | testUfsSearch () |
| void | testUfsDefaultEngine () |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (testUfs) | |
| CPPUNIT_TEST (testUfsSearch) | |
| CPPUNIT_TEST (testUfsDefaultEngine) | |
| CPPUNIT_TEST_SUITE_END () | |
Detailed Description
Definition at line 11 of file testUfs.h.
Member Function Documentation
| void testUfs::commonInit | ( | ) | [protected] |
Definition at line 44 of file testUfs.cc.
References SquidConfig::avgObjectSize, comm_init(), Config, createRemovalPolicy_lru, httpHeaderInitModule(), httpReplyInitModule(), Esi::Init(), SquidConfig::maxObjectSize, SquidConfig::objectsPerBucket, SquidConfig::replPolicy, SquidConfig::Store, SquidConfig::store_dir_select_algorithm, storeReplAdd(), RemovalPolicySettings::type, and xstrdup().
Referenced by testUfsDefaultEngine(), and testUfsSearch().
| testUfs::CPPUNIT_TEST | ( | testUfsSearch | ) | [private] |
| testUfs::CPPUNIT_TEST | ( | testUfsDefaultEngine | ) | [private] |
| testUfs::CPPUNIT_TEST_SUITE | ( | testUfs | ) | [private] |
| testUfs::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
| void testUfs::testUfsDefaultEngine | ( | ) | [protected] |
Definition at line 224 of file testUfs.cc.
References addSwapDir(), SquidConfig::cacheSwap, commonInit(), Config, createRemovalPolicy(), free_cachedir(), mem_policy, NULL, SquidConfig::replPolicy, Store::Root(), safe_free, store_table, TESTDIR, RemovalPolicySettings::type, w_space, and xstrdup().
| void testUfs::testUfsSearch | ( | ) | [protected] |
Definition at line 78 of file testUfs.cc.
References addSwapDir(), StoreEntry::buffer(), request_flags::cachable, SquidConfig::cacheSwap, cbcalled, commonInit(), StoreEntry::complete(), Config, createRemovalPolicy(), DiskIOModule::Find(), StoreEntry::flush(), free_cachedir(), StoreEntry::getReply(), HTTP_OK, Store::init(), mem_policy, METHOD_GET, NULL, p, packerClean(), packerToStoreInit(), HttpReply::packHeadersInto(), SquidConfig::replPolicy, Store::Root(), EventLoop::runOnce(), safe_free, searchCallback(), HttpReply::setHeaders(), StoreEntry::setPublicKey(), squid_curtime, StoreController::store_dirs_rebuilding, storeCreateEntry(), storeDirWriteCleanLogs(), StoreEntry::swap_dirn, StoreEntry::swap_filen, StoreEntry::swapOut(), TESTDIR, StoreEntry::timestampsSet(), RemovalPolicySettings::type, StoreEntry::unlock(), visible_appname_string, w_space, and xstrdup().
The documentation for this class was generated from the following files:
- src/tests/testUfs.h
- src/tests/testUfs.cc
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
