public class Matchers
extends org.testatoo.core.matcher.Matchers
| Constructor and Description |
|---|
Matchers() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Select> |
has(int num,
Option[] option)
To test the number of options in a select element, using the syntax "has(4, options())"
|
static org.hamcrest.Matcher<Select> |
has(int num,
OptionGroup[] optionGroups)
To test the number of optiongroups in a select element, using the syntax "has(4, optionGroups())"
|
static org.hamcrest.Matcher<Select> |
has(int num,
String[] something)
To test the number of something, using the syntax "has(4, xxxxxx())"
|
a, checked, collapsed, contains, contains, containsExactlyText, containsExactlyValues, containsText, containsValues, disabled, displays, empty, emptyLabel, enabled, exist, has, has, has, has, hidden, label, label, maxLength, no, selectedValue, selectedValues, size, text, title, unChecked, valid, value, visiblepublic static org.hamcrest.Matcher<Select> has(int num, Option[] option)
num - the expected number of optionsoption - the tested element, here : optionpublic static org.hamcrest.Matcher<Select> has(int num, OptionGroup[] optionGroups)
num - the expected number of optiongroupsoptionGroups - the tested element, here : optionGroupCopyright © 2008-2012 Ovea. All Rights Reserved.