Class webdriver.testing.NegatedAssertion
code »webdriver.testing.Assertion
└ webdriver.testing.NegatedAssertion
An assertion that negates any applied matchers.
Constructor
Parameters |
---|
|
Instance Methods
Defined in webdriver.testing.NegatedAssertion
Defined in webdriver.testing.Assertion
code »closeTo ( value, range, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is a number within a given distance of an
expected value.
webdriver.promise.Promise
code »contains ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is a string or array-like structure
containing the given value.
webdriver.promise.Promise
Parameters |
---|
|
Returns |
|
code »endsWith ( suffix, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is a string ending with the given suffix.
webdriver.promise.Promise
code »equalTo ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the value managed by this assertion is strictly equal to the
given value
.
webdriver.promise.Promise
value
.Parameters |
---|
|
Returns |
|
code »greaterThan ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the value managed by this assertion is a number strictly
greater than value
.
webdriver.promise.Promise
value
.code »greaterThanEqualTo ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the value managed by this assertion is a number >= the given
value.
webdriver.promise.Promise
code »instanceOf ( ctor, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is an instance of the given class.
webdriver.promise.Promise
Asserts that the value managed by this assertion is strictly false.
Returns |
---|
|
code »isNull ( opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is null.
webdriver.promise.Promise
Parameters |
---|
|
Returns |
|
code »isNullOrUndefined ( opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is null or undefined.
webdriver.promise.Promise
Parameters |
---|
|
Returns |
|
Asserts that the value managed by this assertion is strictly true.
Returns |
---|
|
code »isUndefined ( opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is undefined.
webdriver.promise.Promise
Parameters |
---|
|
Returns |
|
code »lessThan ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the value managed by this assertion is a number strictly less
than the given value.
webdriver.promise.Promise
code »lessThanEqualTo ( value, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the value managed by this assertion is a number <= the given
value.
webdriver.promise.Promise
code »matches ( regex, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is a string that matches the given RegExp.
webdriver.promise.Promise
code »startsWith ( prefix, opt_message ) ⇒ webdriver.promise.Promise
Asserts that the wrapped value is a string starting with the given prefix.
webdriver.promise.Promise