
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< TestEntry > | testEntries = new java.util.Vector<TestEntry>() |
| ACSLogParser | logparser = null |
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)
| com::cosylab::logging::LogEntryTest::LogEntryTest | ( | String | name | ) | [inline] |
LogEntryTest constructor comment.
| name | java.lang.String |
| void com::cosylab::logging::LogEntryTest::setUp | ( | ) | throws Exception [inline, protected] |
References log, logparser, alma::acs::logging::engine::parser::ACSLogParser::parse(), and testEntries.
| 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
| Exception |
References logparser, and alma::acs::logging::engine::parser::ACSLogParser::parse().
| void com::cosylab::logging::LogEntryTest::testGetDatas | ( | ) | [inline] |
References com::cosylab::logging::engine::log::ILogEntry::getAdditionalData(), and log.
| void com::cosylab::logging::LogEntryTest::testGetEntryTypeAsString | ( | ) | [inline] |
References com::cosylab::logging::engine::log::ILogEntry::getField(), and log.
| void com::cosylab::logging::LogEntryTest::testGetEntryTypeDescription | ( | ) | [inline] |
References com::cosylab::logging::engine::log::ILogEntry::getField(), and log.
| void com::cosylab::logging::LogEntryTest::testGetField | ( | ) | [inline] |
References com::cosylab::logging::engine::log::ILogEntry::getField(), and log.
| void com::cosylab::logging::LogEntryTest::testGetFieldClass | ( | String | currentFieldDesc | ) | [inline] |
| void com::cosylab::logging::LogEntryTest::testGetFieldDesc | ( | ) | [inline] |
References com::cosylab::logging::engine::log::ILogEntry::getField(), and log.
| void com::cosylab::logging::LogEntryTest::testIsValidLogEntryType | ( | ) | [inline] |
| void com::cosylab::logging::LogEntryTest::testLogEntry1 | ( | ) | [inline] |
| void com::cosylab::logging::LogEntryTest::testLogEntryConst | ( | ) | throws Exception [inline] |
Document com::cosylab::logging::LogEntryTest::doc = null [package] |
Referenced by testLogEntry1().
DocumentBuilderFactory com::cosylab::logging::LogEntryTest::factory = null [package] |
Referenced by testLogEntry1().
ILogEntry com::cosylab::logging::LogEntryTest::log = null [package] |
ACSLogParser com::cosylab::logging::LogEntryTest::logparser = null [package] |
Referenced by setUp(), testEmptyData(), and testLogEntryConst().
Node com::cosylab::logging::LogEntryTest::node = null [package] |
java.util.Vector<TestEntry> com::cosylab::logging::LogEntryTest::testEntries = new java.util.Vector<TestEntry>() [package] |
Referenced by setUp(), and testLogEntry1().
1.6.2