public class Excludes extends Assert
Constructor and Description |
---|
Excludes(Element element,
OutputFile file) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(String attribute)
Verifies that the element does not contain the provided expected
attribute.
|
void |
clazz(String unexpectedClass)
Verifies that the element's class does not contain the provided expected
class.
|
void |
selectOption(String option)
Verifies that the element's options do not contain the provided expected
option.
|
void |
selectValue(String selectValue)
Verifies that the element's options do not contain the provided expected
value.
|
void |
text(String expectedValue)
Verifies that the element's text does not contain the provided expected
text.
|
void |
value(String expectedValue)
Verifies that the element's value does not contain the provided expected
value.
|
getAttributes, getValue, isPresent, isPresentSelect, isPresentTable, isSelect, isTable
public Excludes(Element element, OutputFile file)
public void clazz(String unexpectedClass)
unexpectedClass
- - the unexpected class valuepublic void attribute(String attribute)
attribute
- - the attribute to check forpublic void text(String expectedValue)
expectedValue
- the expected value of the elementpublic void value(String expectedValue)
expectedValue
- the expected value of the elementpublic void selectOption(String option)
option
- the option not expected in the listpublic void selectValue(String selectValue)
selectValue
- the unexpected input value of the elementCopyright © 2017. All rights reserved.