@DoNotObfuscate
public final class EmbeddedFileValidator
extends com.pdfunit.validators.AbstractValidator
Modifier | Constructor and Description |
---|---|
protected |
EmbeddedFileValidator(DocumentValidator documentValidator) |
Modifier and Type | Method and Description |
---|---|
EmbeddedFileValidator |
hasEmbeddedFile()
This method does what the name suggests.
|
EmbeddedFileValidator |
withContent(java.io.File expectedFilename)
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(DocumentValidator documentValidator)
public EmbeddedFileValidator hasEmbeddedFile()
@Guarded public EmbeddedFileValidator withName(java.lang.String expectedFilename)
@Guarded public EmbeddedFileValidator withContent(java.io.File expectedFilename)
@Guarded public EmbeddedFileValidator withContent(java.lang.String expectedFileName)
Copyright (C) PDFUnit.com. See here for license.