|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.edifactfile.EdifactFileVerifier<E>
E
- public class EdifactFileVerifier<E extends EdifactFileVerifier<E>>
Provides access to EDI files.
Field Summary | |
---|---|
static String |
ANY
|
static String |
DIFFERENT
|
static String |
MISSING
|
static String |
MOVED
|
static String |
UNEXPECTED
|
Constructor Summary | |
---|---|
EdifactFileVerifier(String filePath,
EdifactFileService service)
Constructor. |
Method Summary | |
---|---|
E |
addExclusionPath(StringData path)
Adds an XPath expression of which all matching Edifact elements are ignored |
E |
addKeyExpression(KeyExpressionData keyExpression)
Adds a key expression to the verifier. |
E |
addToleratedDiff(LocalDiffTypeData toleratedDiffType)
Allows the given diff type in comparisons. |
E |
delete()
Deletes the file. |
E |
verifyState()
Verifies the state. |
E |
verifyWith(StringData referenceFileName)
Asserts that the interchange stored in this document is equals to the provided interchange, ignoring the provided paths. |
E |
waitUntilExists()
Polls the file system until a file at the given path is found or a timeout occurs. |
E |
waitUntilNotExists()
Polls the file system until no file is found at the given path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ANY
public static final String DIFFERENT
public static final String MISSING
public static final String MOVED
public static final String UNEXPECTED
Constructor Detail |
---|
public EdifactFileVerifier(String filePath, EdifactFileService service)
filePath
- service
- Method Detail |
---|
public E addExclusionPath(StringData path)
path
- an XPath expressions of the EDI elements to ignore in comparison
public E addToleratedDiff(LocalDiffTypeData toleratedDiffType)
toleratedDiffType
- the diff type to tolerate
public E addKeyExpression(KeyExpressionData keyExpression)
keyExpression
- the XPath expression that provides the id
public E delete()
public E waitUntilExists()
public E waitUntilNotExists()
public E verifyWith(StringData referenceFileName)
referenceFileName
- the name of the reference file to verify against
public E verifyState()
ActionWordLibrary
GUIInteraction.wrongPageFlow(String)
verifyState
in interface ActionWordLibrary<E extends EdifactFileVerifier<E>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |