org.drools.ide.common.client.modeldriven.testing
Class VerifyFact
java.lang.Object
org.drools.ide.common.client.modeldriven.testing.VerifyFact
- All Implemented Interfaces:
- Serializable, PortableObject, Expectation, Fixture
public class VerifyFact
- extends Object
- implements Expectation
This is for making assertions over a specific facts value/state AFTER execution.
- See Also:
- Serialized Form
Field Summary |
boolean |
anonymous
This is true if it isn't a named fact, but it will just search working memory to verify. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anonymous
public boolean anonymous
- This is true if it isn't a named fact, but it will just search working memory to verify.
VerifyFact
public VerifyFact()
VerifyFact
public VerifyFact(String name,
List<VerifyField> fieldValues,
boolean anonymous)
VerifyFact
public VerifyFact(String name,
List<VerifyField> fieldValues)
wasSuccessful
public boolean wasSuccessful()
- Description copied from interface:
Expectation
- Return false if the assertion
- Specified by:
wasSuccessful
in interface Expectation
- Returns:
setFieldValues
public void setFieldValues(List<VerifyField> fieldValues)
getFieldValues
public List<VerifyField> getFieldValues()
setName
public void setName(String name)
getName
public String getName()
setDescription
public void setDescription(String description)
getDescription
public String getDescription()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.