com.rational.test.ft.services

Class NullLog

  • All Implemented Interfaces:
    ILog, ISimpleLog


    public class NullLog
    extends LogExtensionAdapter
    NullLog: An implementation of the ILog interface that writes no log, for when the rt.write_log option is set to false.
    • Constructor Detail

      • NullLog

        public NullLog()
    • Method Detail

      • closeLog

        public void closeLog()
        This method closes a log file. No-op in the case of NullLog.
        Specified by:
        closeLog in class LogExtensionAdapter
      • writeLog

        public void writeLog(ILogMessage message)
        Write a message into the log. This interface allows a message with a detailed description to be set in the log file (i.e. name/value pairs).
        Specified by:
        writeLog in class LogExtensionAdapter
        Parameters:
        message - The message (i.e. resultCode, eventCode, note, and details)
      • viewerKnowsHowToBringUpComparator

        public boolean viewerKnowsHowToBringUpComparator()
        This answers yes/no whether the log-viewer associated with this log knows how to bring up our comparator. The answer is true for TSS log, and false otherwise. This is used to decide whether to do our own bring-up-comparator after playback.
        Specified by:
        viewerKnowsHowToBringUpComparator in interface ILog
        Overrides:
        viewerKnowsHowToBringUpComparator in class LogAdapter