public class AssertNotMore extends BoundedAssertion
assertion
that the number of instances of a property does not exceed a specified maximum.ALWAYS
Constructor and Description |
---|
AssertNotMore()
Creates a new AssertNotMore object.
|
AssertNotMore(String property,
int maximum)
Creates a new AssertNotMore 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.
|
boolean |
isExclusive()
Returns true is the bound is exclusive.
|
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.
|
equals, getBound, hashCode, setBound, toString
compatible, contains, getAssertionCount, getAssertions, getDisjunctCount, getDisjuncts, getProperty, setProperty
public AssertNotMore()
public AssertNotMore(String property, int maximum)
public boolean isExclusive()
isExclusive
in class BoundedAssertion
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.