Class webdriver.testing.NegatedAssertion
code »webdriver.testing.Assertion
└ webdriver.testing.NegatedAssertionAn 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.PromiseAsserts that the wrapped value is a number within a given distance of an
expected value.
webdriver.promise.Promisecode »contains ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts 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.PromiseAsserts that the wrapped value is a string ending with the given suffix.
webdriver.promise.Promisecode »equalTo ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the value managed by this assertion is strictly equal to the
given value.
webdriver.promise.Promisevalue.| Parameters |
|---|
|
| Returns |
|
code »greaterThan ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the value managed by this assertion is a number strictly
greater than value.
webdriver.promise.Promisevalue.code »greaterThanEqualTo ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the value managed by this assertion is a number >= the given
value.
webdriver.promise.Promisecode »instanceOf ( ctor, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the wrapped value is an instance of the given class.
webdriver.promise.PromiseAsserts that the value managed by this assertion is strictly false.
| Returns |
|---|
|
code »isNull ( opt_message ) ⇒ webdriver.promise.PromiseAsserts that the wrapped value is null.
webdriver.promise.Promise| Parameters |
|---|
|
| Returns |
|
code »isNullOrUndefined ( opt_message ) ⇒ webdriver.promise.PromiseAsserts 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.PromiseAsserts that the wrapped value is undefined.
webdriver.promise.Promise| Parameters |
|---|
|
| Returns |
|
code »lessThan ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the value managed by this assertion is a number strictly less
than the given value.
webdriver.promise.Promisecode »lessThanEqualTo ( value, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the value managed by this assertion is a number <= the given
value.
webdriver.promise.Promisecode »matches ( regex, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the wrapped value is a string that matches the given RegExp.
webdriver.promise.Promisecode »startsWith ( prefix, opt_message ) ⇒ webdriver.promise.PromiseAsserts that the wrapped value is a string starting with the given prefix.
webdriver.promise.Promise