Qorus Integration Engine®  4.0.3.p2_git
com.qoretechnologies.qorus.test.CheckLog Class Reference

abstract class representing an action in a test case More...

Inheritance diagram for com.qoretechnologies.qorus.test.CheckLog:
com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 CheckLog (String regex, QorusInterfaceTest test, String logfile) throws Throwable
 creates the object according to the arguments More...
 
 CheckLog (String regex, QorusInterfaceTest test) throws Throwable
 creates the object according to the arguments More...
 
 CheckLog (String regex) throws Throwable
 creates the object according to the arguments More...
 
Object run (QorusInterfaceTest t) throws Throwable
 checks the log file More...
 
String getRegex () throws Throwable
 Returns the regular expression string. More...
 
String getLogfile () throws Throwable
 returns the log file name More...
 
String logSinceTimepoint () throws Throwable
 returns the log contents since the last timestamp
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

abstract class representing an action in a test case

Constructor & Destructor Documentation

◆ CheckLog() [1/3]

com.qoretechnologies.qorus.test.CheckLog.CheckLog ( String  regex,
QorusInterfaceTest  test,
String  logfile 
) throws Throwable
inline

creates the object according to the arguments

Parameters
regexregex that log lines should match to
testthe test that the action belongs to
logfilelogfile

◆ CheckLog() [2/3]

com.qoretechnologies.qorus.test.CheckLog.CheckLog ( String  regex,
QorusInterfaceTest  test 
) throws Throwable
inline

creates the object according to the arguments

Parameters
regexregex that log lines should match to
testthe test that the action belongs to

◆ CheckLog() [3/3]

com.qoretechnologies.qorus.test.CheckLog.CheckLog ( String  regex) throws Throwable
inline

creates the object according to the arguments

Parameters
regexregex that log lines should match

Member Function Documentation

◆ getLogfile()

String com.qoretechnologies.qorus.test.CheckLog.getLogfile ( ) throws Throwable
inline

returns the log file name

Returns
logfile to inspect

◆ getRegex()

String com.qoretechnologies.qorus.test.CheckLog.getRegex ( ) throws Throwable
inline

Returns the regular expression string.

Returns
regex that should be matched

◆ run()

Object com.qoretechnologies.qorus.test.CheckLog.run ( QorusInterfaceTest  t) throws Throwable
inline

checks the log file

Parameters
tQorusInterfaceTest test object

checks log content


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