alma::acs::jlog::test::LogIteratorTest Class Reference

Inheritance diagram for alma::acs::jlog::test::LogIteratorTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::jlog::test::LogIteratorTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LogIteratorTest () throws Exception
void setUp () throws Exception
void tearDown () throws Exception
void testIterator () throws Exception
void testIteratorWithException () throws Exception
void testRemove () throws Exception

Detailed Description

Test LogIterator

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::jlog::test::LogIteratorTest::LogIteratorTest (  )  throws Exception [inline]

Constructor


Member Function Documentation

void alma::acs::jlog::test::LogIteratorTest::setUp (  )  throws Exception [inline]
See also:
junit.framework.TestCase
void alma::acs::jlog::test::LogIteratorTest::tearDown (  )  throws Exception [inline]
See also:
junit.framework.TestCase
void alma::acs::jlog::test::LogIteratorTest::testIterator (  )  throws Exception [inline]

Test if the next() and hasNext() methods work well together

Exceptions:
Exception 

References com::cosylab::logging::client::cache::ILogMap::getSize(), and com::cosylab::logging::client::cache::ILogMap::iterator().

void alma::acs::jlog::test::LogIteratorTest::testIteratorWithException (  )  throws Exception [inline]

Test if the next() method works well. In this case hasNext is not used (an Exception signals that all the logs have been read)

Exceptions:
Exception 

References com::cosylab::logging::client::cache::ILogMap::getSize(), and com::cosylab::logging::client::cache::ILogMap::iterator().

void alma::acs::jlog::test::LogIteratorTest::testRemove (  )  throws Exception [inline]

Test the remove method deleting all the logs in cache

Exceptions:
Exception 

References com::cosylab::logging::client::cache::ILogMap::getSize(), and com::cosylab::logging::client::cache::ILogMap::iterator().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2