diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/cache.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp index 323edda..8d95a9d 100644 --- a/src/tests/cache.cpp +++ b/src/tests/cache.cpp | |||
@@ -96,6 +96,19 @@ public: | |||
96 | f.write( s ); | 96 | f.write( s ); |
97 | } | 97 | } |
98 | 98 | ||
99 | virtual void sync( Bob *, const long & ) | ||
100 | { | ||
101 | } | ||
102 | |||
103 | virtual void sync() | ||
104 | { | ||
105 | } | ||
106 | |||
107 | virtual bool has( const long & ) | ||
108 | { | ||
109 | return true; | ||
110 | } | ||
111 | |||
99 | virtual Bob *load( const long &key ) | 112 | virtual Bob *load( const long &key ) |
100 | { | 113 | { |
101 | TRACE( key ); | 114 | TRACE( key ); |
@@ -156,6 +169,10 @@ public: | |||
156 | { | 169 | { |
157 | } | 170 | } |
158 | 171 | ||
172 | virtual bool shouldSync( Bob *, const long &, time_t ) | ||
173 | { | ||
174 | } | ||
175 | |||
159 | private: | 176 | private: |
160 | 177 | ||
161 | }; | 178 | }; |