public abstract class AbstractAssertion extends Object implements IAssertion
assertions
.ALWAYS
Constructor and Description |
---|
AbstractAssertion()
Creates a new AbstractAssertion object.
|
AbstractAssertion(String property)
Creates a new AbstractAssertion object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compatible(PropertySet properties)
Returns true if this condition is compatible with the given test case properties.
|
boolean |
contains(IAssertion assertion)
Returns true if the given assertion is a member of this disjunction.
|
boolean |
equals(Object object) |
int |
getAssertionCount()
Returns the number of assertions for this disjunction.
|
Iterator<IAssertion> |
getAssertions()
Returns the assertions for this disjunction.
|
int |
getDisjunctCount()
Returns the number of disjunctions for this conjunction.
|
Iterator<IDisjunct> |
getDisjuncts()
Returns the disjuncts in this conjunction.
|
String |
getProperty()
Returns the property asserted.
|
int |
hashCode() |
void |
setProperty(String property)
Changes the property asserted.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
completable, negate, negates
accept, satisfied
public AbstractAssertion()
public AbstractAssertion(String property)
public void setProperty(String property)
public String getProperty()
getProperty
in interface IAssertion
public Iterator<IAssertion> getAssertions()
getAssertions
in interface IDisjunct
public boolean contains(IAssertion assertion)
public int getAssertionCount()
getAssertionCount
in interface IDisjunct
public Iterator<IDisjunct> getDisjuncts()
getDisjuncts
in interface IConjunct
public int getDisjunctCount()
getDisjunctCount
in interface IConjunct
public boolean compatible(PropertySet properties)
compatible
in interface ICondition
Copyright © 2024 The Cornutum Project. All rights reserved.