aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/cache.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index 97aba4a..3470ecb 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -41,6 +41,12 @@ public:
41 TRACE( i ); 41 TRACE( i );
42 iInt = i; 42 iInt = i;
43 } 43 }
44
45 long getKey() const
46 {
47 TRACE( i );
48 return iInt;
49 }
44 50
45 int getInt() 51 int getInt()
46 { 52 {
@@ -177,6 +183,10 @@ public:
177 { 183 {
178 } 184 }
179 185
186 virtual void onDestroy( Bob *, const long & )
187 {
188 }
189
180 virtual bool shouldSync( Bob *, const long &, time_t ) 190 virtual bool shouldSync( Bob *, const long &, time_t )
181 { 191 {
182 return false; 192 return false;