|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttemmental.TemplateRecorder
public class TemplateRecorder
Recorder for template calls (test case).
Method Summary | |
---|---|
static void |
clear()
Clear the cache of all calls. |
static java.util.Set<java.lang.String> |
getTemplateMessagesFilepaths()
Returns the messages corresponding to the given template |
static java.util.Set<java.lang.String> |
getTemplateRecordFilepaths()
|
static TemplateRecord |
getTemplateRecordFor(java.lang.String filepath)
Returns the record corresponding to the given template |
static boolean |
isRecording()
Indicates if the calls are recorded |
static void |
setRecording(boolean status)
Start or Stop recording |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setRecording(boolean status)
status
- recording status. true
to start recording, false
to stop recording.public static void clear()
public static boolean isRecording()
true
if calls are recorded, false
otherwise.public static TemplateRecord getTemplateRecordFor(java.lang.String filepath)
filepath
- the path to the template file
null
if the template has not been created.public static java.util.Set<java.lang.String> getTemplateMessagesFilepaths()
null
if the template has not been created.public static java.util.Set<java.lang.String> getTemplateRecordFilepaths()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |