diff -r b8bdbc8f59c7 -r 7d4490026038 persistentstorage/store/TPAGE/t_storpage.cpp --- a/persistentstorage/store/TPAGE/t_storpage.cpp Thu Aug 12 11:53:23 2010 +0100 +++ b/persistentstorage/store/TPAGE/t_storpage.cpp Mon Sep 27 11:59:56 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -235,6 +235,17 @@ const TInt KEntryCount=1000; TheTest.Start(_L(" @SYMTestCaseID:SYSLIB-STORE-CT-1180 Build set and stream out ")); aPool.Create(*TheStore); + TBool rc = aPool.HasAvailable(); + TEST(!rc); + rc = aPool.IsEmpty(); + TEST(rc); + TStorePagePoolToken token2(TStorePagePoolToken::EEmpty); + token2 = aPool.Token(); + rc = token2.IsEmpty(); + TEST(rc); + rc = token2.HasAvailable(); + TEST(!rc); + TPagedSet set1; set1.Connect(&aPool); @@ -245,7 +256,7 @@ set1.InsertL(it); } aPool.FlushL(); - + RStoreWriteStream out; TStreamId id=out.CreateLC(*TheStore); out<