aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2013-07-03 19:55:56 +0000
committerMike Buland <eichlan@xagasoft.com>2013-07-03 19:55:56 +0000
commit65cc54be0a14e627938731ff8deefea61c2c1cfa (patch)
tree8c52df22ffba1a21bb3b849660adf12ebd185208 /src/tests
parent7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4 (diff)
downloadlibbu++-65cc54be0a14e627938731ff8deefea61c2c1cfa.tar.gz
libbu++-65cc54be0a14e627938731ff8deefea61c2c1cfa.tar.bz2
libbu++-65cc54be0a14e627938731ff8deefea61c2c1cfa.tar.xz
libbu++-65cc54be0a14e627938731ff8deefea61c2c1cfa.zip
Modified the Bu::CacheBase API, what was erase is eraseNow, and erase is about
to be re-engineered to actually do a lazy erase like removing an iNode in a posix filesystem. While the file remains open it exists, but the references visible to the user on disk are gone.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/random.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/random.cpp b/src/tests/random.cpp
index d7b94ce..07a2a06 100644
--- a/src/tests/random.cpp
+++ b/src/tests/random.cpp
@@ -41,6 +41,13 @@ void coverage()
41 41
42int main() 42int main()
43{ 43{
44 RandomCmwc c( 123456 );
45 for( int j = 0; j < 10; j++ )
46 {
47 println("%1").arg( c.rand() );
48 }
49 return 0;
50
44 coverage<RandomBasic>(); 51 coverage<RandomBasic>();
45 coverage<RandomCmwc>(); 52 coverage<RandomCmwc>();
46 coverage<RandomSystem>(); 53 coverage<RandomSystem>();