public class Assert extends AbstractAssertion
assertion
that asserts the existence of a single property.ALWAYS
Constructor and Description |
---|
Assert()
Creates a new Assert object.
|
Assert(String property)
Creates a new Assert object.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IConditionVisitor visitor)
Implements the Visitor pattern for this condition.
|
boolean |
completable()
Returns true if any property set that does NOT satisfy this assertion can be made to satisfy this assertion by
the addition of another (instance of a) property.
|
IAssertion |
negate()
Returns an assertion that negates this assertion.
|
boolean |
negates(IAssertion other)
Returns true if this assertion negates the other.
|
boolean |
satisfied(PropertySet properties)
Returns true if this condition is satisfied by the given test case properties.
|
compatible, contains, equals, getAssertionCount, getAssertions, getDisjunctCount, getDisjuncts, getProperty, hashCode, setProperty, toString
public Assert()
public Assert(String property)
public boolean satisfied(PropertySet properties)
public IAssertion negate()
public boolean negates(IAssertion other)
public boolean completable()
public void accept(IConditionVisitor visitor)
Copyright © 2024 The Cornutum Project. All rights reserved.