com::cosylab::logging::LogEntryTest Class Reference

Collaboration diagram for com::cosylab::logging::LogEntryTest:
Collaboration graph
[legend]

List of all members.

Classes

class  TestEntry

Public Member Functions

 LogEntryTest (String name)
void testLogEntryConst () throws Exception
void testGetDatas ()
void testGetEntryTypeAsString ()
void testGetEntryTypeDescription ()
void testGetField ()
void testGetFieldClass (String currentFieldDesc)
void testIsValidLogEntryType ()
void testGetFieldDesc ()
void testLogEntry1 ()
void testEmptyData () throws Exception

Protected Member Functions

void setUp () throws Exception

Package Attributes

Document doc = null
ILogEntry log = null
Node node = null
DocumentBuilderFactory factory = null
java.util.Vector< TestEntrytestEntries = new java.util.Vector<TestEntry>()
ACSLogParser logparser = null

Detailed Description

LogEntryTest tests whether the starting tag is the same as expected. It tests the output of the constructors for a complete log entry and the one for a log entry derived from a node.

Creation date: (11/15/2001 10:58:03 AM)

Author:
:

Constructor & Destructor Documentation

com::cosylab::logging::LogEntryTest::LogEntryTest ( String  name  )  [inline]

LogEntryTest constructor comment.

Parameters:
name java.lang.String

Member Function Documentation

void com::cosylab::logging::LogEntryTest::setUp (  )  throws Exception [inline, protected]
void com::cosylab::logging::LogEntryTest::testEmptyData (  )  throws Exception [inline]

This test tries to parse 2 logs with empty Data. The former has a <Data .../> tag The latter has a <Data ...></Data> tag Both of the test should fail

Exceptions:
Exception 

References logparser, and alma::acs::logging::engine::parser::ACSLogParser::parse().

void com::cosylab::logging::LogEntryTest::testGetDatas (  )  [inline]
void com::cosylab::logging::LogEntryTest::testGetEntryTypeAsString (  )  [inline]
void com::cosylab::logging::LogEntryTest::testGetEntryTypeDescription (  )  [inline]
void com::cosylab::logging::LogEntryTest::testGetField (  )  [inline]
void com::cosylab::logging::LogEntryTest::testGetFieldClass ( String  currentFieldDesc  )  [inline]
void com::cosylab::logging::LogEntryTest::testGetFieldDesc (  )  [inline]
void com::cosylab::logging::LogEntryTest::testIsValidLogEntryType (  )  [inline]
void com::cosylab::logging::LogEntryTest::testLogEntry1 (  )  [inline]
void com::cosylab::logging::LogEntryTest::testLogEntryConst (  )  throws Exception [inline]

Member Data Documentation

Document com::cosylab::logging::LogEntryTest::doc = null [package]

Referenced by testLogEntry1().

DocumentBuilderFactory com::cosylab::logging::LogEntryTest::factory = null [package]

Referenced by testLogEntry1().

java.util.Vector<TestEntry> com::cosylab::logging::LogEntryTest::testEntries = new java.util.Vector<TestEntry>() [package]

Referenced by setUp(), and testLogEntry1().


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

Generated by  doxygen 1.6.2