cartago
Class BasicAlignmentTest

java.lang.Object
  extended by cartago.BasicAlignmentTest
All Implemented Interfaces:
IAlignmentTest, java.io.Serializable

public class BasicAlignmentTest
extends java.lang.Object
implements IAlignmentTest, java.io.Serializable

Basic alignment test, based on the equality of a list of observable properties

Author:
aricci
See Also:
Serialized Form

Constructor Summary
BasicAlignmentTest(java.util.HashMap<java.lang.String,java.lang.Object> props)
           
 
Method Summary
 boolean match(IObsPropMap obsProp)
          Check if the current observable state of the artifact matches what expected by the test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAlignmentTest

public BasicAlignmentTest(java.util.HashMap<java.lang.String,java.lang.Object> props)
Method Detail

match

public boolean match(IObsPropMap obsProp)
Description copied from interface: IAlignmentTest
Check if the current observable state of the artifact matches what expected by the test

Specified by:
match in interface IAlignmentTest
Parameters:
obsProp - observable state of the artifact
Returns:
true if the current observable state of the artifact matches what expected by the test


>DEIS - University of Bologna