Modifier | Constructor and Description |
---|---|
protected |
LayerNameValidator(com.pdfunit.internal.spi.IDocument testDocument,
java.util.List<com.pdfunit.internal.spi.ILayer> allLayers,
LayerValidator backReference) |
Modifier and Type | Method and Description |
---|---|
LayerValidator |
containing(java.lang.String expectedLayerName)
Verifying that a layer exists, which name contains the
value, given by the parameter.
|
LayerValidator |
matchingComplete(java.lang.String expectedLayerName)
Verifying that a layer exists, which name is equal to the
value, given by the parameter.
|
LayerValidator |
startingWith(java.lang.String expectedLayerName)
Verifying that a layer exists, which name starts with the
value, given by the parameter.
|
LayerNameValidator |
withName()
Preparation for following string comparation.
|
protected LayerNameValidator(com.pdfunit.internal.spi.IDocument testDocument, java.util.List<com.pdfunit.internal.spi.ILayer> allLayers, LayerValidator backReference)
public LayerNameValidator withName()
@Guarded public LayerValidator startingWith(java.lang.String expectedLayerName)
Whitespaces are ignored.
@Guarded public LayerValidator containing(java.lang.String expectedLayerName)
Whitespaces are ignored.
@Guarded public LayerValidator matchingComplete(java.lang.String expectedLayerName)
Whitespaces are ignored.
Copyright (C) PDFUnit.com. See here for license.