Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

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 

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]
 

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

ILogEntry com::cosylab::logging::LogEntryTest::log = null [package]
 

ACSLogParser com::cosylab::logging::LogEntryTest::logparser = null [package]
 

Node com::cosylab::logging::LogEntryTest::node = null [package]
 

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:13:02 2009 for ACS Java API by doxygen 1.3.8