summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/evictor/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/evictor/TestI.cpp')
-rwxr-xr-x[-rw-r--r--]cpp/test/Freeze/evictor/TestI.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/test/Freeze/evictor/TestI.cpp b/cpp/test/Freeze/evictor/TestI.cpp
index 2be433a4309..56a5a80a910 100644..100755
--- a/cpp/test/Freeze/evictor/TestI.cpp
+++ b/cpp/test/Freeze/evictor/TestI.cpp
@@ -534,6 +534,14 @@ Test::RemoteEvictorI::RemoteEvictorI(const CommunicatorPtr& communicator, const
{
_evictor = Freeze::createBackgroundSaveEvictor(_evictorAdapter, envName, category, initializer);
}
+
+ //
+ // Check that we can get an iterator on a non-existing facet
+ //
+ Freeze::EvictorIteratorPtr p = _evictor->getIterator("foo", 1);
+ test(p->hasNext() == false);
+
+
initializer->init(this, _evictor);
_evictorAdapter->addServantLocator(_evictor, category);