aboutsummaryrefslogtreecommitdiff
path: root/src/tests/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/cache.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index 8d95a9d..5d542ed 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -171,6 +171,7 @@ public:
171 171
172 virtual bool shouldSync( Bob *, const long &, time_t ) 172 virtual bool shouldSync( Bob *, const long &, time_t )
173 { 173 {
174 return false;
174 } 175 }
175 176
176private: 177private:
@@ -224,9 +225,9 @@ int main( int argc, char *argv[] )
224 case 'l': 225 case 'l':
225 { 226 {
226 BobCache::Ptr pBob = cBob.getLazy( strtol( argv[2], NULL, 0 ) ); 227 BobCache::Ptr pBob = cBob.getLazy( strtol( argv[2], NULL, 0 ) );
227 printf("isLoaded: %s\n", pBob.isLoaded()?"yes":"no"); 228 printf("isBound: %s\n", pBob.isBound()?"yes":"no");
228 printf("Value = %d\n", pBob->getInt() ); 229 printf("Value = %d\n", pBob->getInt() );
229 printf("isLoaded: %s\n", pBob.isLoaded()?"yes":"no"); 230 printf("isBound: %s\n", pBob.isBound()?"yes":"no");
230 } 231 }
231 return 0; 232 return 0;
232 } 233 }