TPTP 4.1.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.forms.util
Class TestLogVerdictCollection

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.forms.util.TestLogVerdictCollection

public class TestLogVerdictCollection
extends java.lang.Object

This class is

Since:
4.1

Field Summary
static int VERDICT_TYPE_ALL
           
 
Constructor Summary
TestLogVerdictCollection(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result)
           
 
Method Summary
protected  void addVerdictEvent(int type, org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent event)
           
protected  void collectVerdicts(java.util.List executionEvents)
           
protected  void collectVerdicts(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result)
           
 boolean contains(int verdictType)
           
protected  int getChildIndex(java.lang.Object parent, java.lang.Object child)
           
 java.lang.Object[] getChildren(java.lang.Object parent)
           
 org.eclipse.hyades.models.common.testprofile.TPFExecutionResult getExecutionResult()
           
 org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getFirst(int verdictType)
           
 org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getLast(int verdictType)
           
 org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNext(int verdictType, java.lang.Object current)
          Returns the the next TPFVerdictEvent after the specified current element, or the first TPFVerdictEvent of the execution result this class represents when current is null.
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNextVerdict(int verdictType, java.lang.Object current)
           
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNextVerdict(int verdictType, org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent current)
           
protected  java.lang.Object getParent(java.lang.Object element)
           
 org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPrevious(int verdictType, java.lang.Object current)
          Returns the the previous TPFVerdictEvent before the specified current element, or the last TPFVerdictEvent of the execution result this class represents when current is null.
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPreviousVerdict(int verdictType, java.lang.Object current)
           
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPreviousVerdict(int verdictType, org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent current)
           
protected  java.util.Hashtable getVerdictLists()
           
 boolean hasNext(int verdictType, java.lang.Object current)
           
 boolean hasPrevious(int verdictType, java.lang.Object current)
           
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent searchNextVerdictInChildren(int verdictType, java.lang.Object parent, int index)
          Search for a TPFVerdictEvent of the specified type among all the nested children of parent starting after index.
protected  org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent searchPreviousVerdictInChildren(int verdictType, java.lang.Object parent, int index)
          Search for a TPFVerdictEvent of the specified type among all the nested children of parent starting after index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERDICT_TYPE_ALL

public static final int VERDICT_TYPE_ALL
See Also:
Constant Field Values
Constructor Detail

TestLogVerdictCollection

public TestLogVerdictCollection(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result)
Method Detail

contains

public boolean contains(int verdictType)

hasPrevious

public boolean hasPrevious(int verdictType,
                           java.lang.Object current)

hasNext

public boolean hasNext(int verdictType,
                       java.lang.Object current)

getFirst

public org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getFirst(int verdictType)

getLast

public org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getLast(int verdictType)

getNext

public org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNext(int verdictType,
                                                                            java.lang.Object current)
Returns the the next TPFVerdictEvent after the specified current element, or the first TPFVerdictEvent of the execution result this class represents when current is null.

Parameters:
verdictType -
current -
Returns:

getPrevious

public org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPrevious(int verdictType,
                                                                                java.lang.Object current)
Returns the the previous TPFVerdictEvent before the specified current element, or the last TPFVerdictEvent of the execution result this class represents when current is null.

Parameters:
verdictType -
current -
Returns:

getPreviousVerdict

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPreviousVerdict(int verdictType,
                                                                                          org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent current)

getPreviousVerdict

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getPreviousVerdict(int verdictType,
                                                                                          java.lang.Object current)

searchPreviousVerdictInChildren

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent searchPreviousVerdictInChildren(int verdictType,
                                                                                                       java.lang.Object parent,
                                                                                                       int index)
Search for a TPFVerdictEvent of the specified type among all the nested children of parent starting after index.


getNextVerdict

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNextVerdict(int verdictType,
                                                                                      org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent current)

getNextVerdict

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent getNextVerdict(int verdictType,
                                                                                      java.lang.Object current)

getChildIndex

protected int getChildIndex(java.lang.Object parent,
                            java.lang.Object child)

searchNextVerdictInChildren

protected org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent searchNextVerdictInChildren(int verdictType,
                                                                                                   java.lang.Object parent,
                                                                                                   int index)
Search for a TPFVerdictEvent of the specified type among all the nested children of parent starting after index.


getChildren

public java.lang.Object[] getChildren(java.lang.Object parent)

getParent

protected java.lang.Object getParent(java.lang.Object element)

getExecutionResult

public org.eclipse.hyades.models.common.testprofile.TPFExecutionResult getExecutionResult()

collectVerdicts

protected void collectVerdicts(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result)

collectVerdicts

protected void collectVerdicts(java.util.List executionEvents)

addVerdictEvent

protected void addVerdictEvent(int type,
                               org.eclipse.hyades.models.common.testprofile.TPFVerdictEvent event)

getVerdictLists

protected java.util.Hashtable getVerdictLists()

TPTP 4.1.0 Testing Tools Project
Public API Specification