Page Speed Optimization Libraries
 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.


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


 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(jmarantz): consider refactoring this as a subclass of DelayCache.