Modifier | Constructor and Description |
---|---|
protected |
EmbeddedFileValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
EmbeddedFileValidator |
hasEmbeddedFile()
This method does what the name suggests.
|
EmbeddedFileValidator |
withContent(java.io.File expectedFile)
Verifies that a file exists that has the same content as file, given by the parameter.
|
EmbeddedFileValidator |
withContent(java.lang.String expectedFileName)
Verifies that a file exists that has the same content as value of the parameter.
|
EmbeddedFileValidator |
withName(java.lang.String expectedFilename)
Verifies that a file exists with the name given by the parameter.
|
protected EmbeddedFileValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
public EmbeddedFileValidator hasEmbeddedFile()
@Guarded public EmbeddedFileValidator withName(java.lang.String expectedFilename)
@Guarded public EmbeddedFileValidator withContent(java.io.File expectedFile)
@Guarded public EmbeddedFileValidator withContent(java.lang.String expectedFileName)
Copyright (C) PDFUnit.com. See here for license.