LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
UITestLogger Class Reference

#include <logger.hxx>

Collaboration diagram for UITestLogger:
[legend]

Public Member Functions

 UITestLogger ()
 
void logCommand (const OUString &rAction, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
 
void logAction (VclPtr< Control > const &xUIElement, VclEventId nEvent)
 
void log (const OUString &rString)
 
void logKeyInput (VclPtr< vcl::Window > const &xUIElement, const KeyEvent &rEvent)
 
void logEvent (const EventDescription &rDescription)
 

Static Public Member Functions

static UITestLoggergetInstance ()
 

Private Attributes

SvFileStream maStream
 
bool mbValid
 

Detailed Description

Definition at line 27 of file logger.hxx.

Constructor & Destructor Documentation

UITestLogger::UITestLogger ( )

Definition at line 23 of file logger.cxx.

References maStream, mbValid, mbValid, SvFileStream::Open(), and SAL_CONFIGFILE.

Member Function Documentation

UITestLogger & UITestLogger::getInstance ( )
static
void UITestLogger::log ( const OUString &  rString)
void UITestLogger::logAction ( VclPtr< Control > const &  xUIElement,
VclEventId  nEvent 
)
void UITestLogger::logCommand ( const OUString &  rAction,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)

Definition at line 40 of file logger.cxx.

References maStream, mbValid, OUStringToOString(), and SvStream::WriteLine().

void UITestLogger::logEvent ( const EventDescription rDescription)
void UITestLogger::logKeyInput ( VclPtr< vcl::Window > const &  xUIElement,
const KeyEvent rEvent 
)

Member Data Documentation

SvFileStream UITestLogger::maStream
private

Definition at line 31 of file logger.hxx.

Referenced by log(), logAction(), logCommand(), logKeyInput(), and UITestLogger().

bool UITestLogger::mbValid
private

Definition at line 33 of file logger.hxx.

Referenced by log(), logAction(), logCommand(), logKeyInput(), and UITestLogger().


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