Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces
mock_time_cache.h File Reference
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/shared_string.h"
#include "pagespeed/kernel/base/string_util.h"
#include "pagespeed/kernel/cache/cache_interface.h"

Go to the source code of this file.

Classes

class  net_instaweb::MockTimeCache
 See file comment. More...
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Detailed Description

Contains MockTimeCache, which lets one inject Scheduler-simulated delays before callback invocations of a cache object.

Note: DelayCache also supports delayed callbacks, but each key's delivery is controlled by API.

Todo:
TODO(jmarantz): consider refactoring this as a subclass of DelayCache.