net.thucydides.core.reports.json
Class JSONTreeNode

Package class diagram package JSONTreeNode
java.lang.Object
  extended by net.thucydides.core.reports.json.JSONTreeNode

public class JSONTreeNode
extends Object

Used to store data in JSON form to be displayed on the report dashboard.


Constructor Summary
JSONTreeNode(String id, String name, ColorScheme colorScheme)
           
 
Method Summary
 void addFeature(FeatureResults feature)
           
 void addTestOutcomesForTag(String tag, TestOutcomes testOutcomes)
           
 List<JSONTreeNode> getChildren()
           
 Map<String,Object> getData()
           
 String getId()
           
 String getName()
           
protected  int totalExecutedTestsIn(FeatureResults feature)
           
protected  int totalStepsInExecutedTestsIn(FeatureResults feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONTreeNode

public JSONTreeNode(String id,
                    String name,
                    ColorScheme colorScheme)
Method Detail

getId

public String getId()

getName

public String getName()

getData

public Map<String,Object> getData()

getChildren

public List<JSONTreeNode> getChildren()

addFeature

public void addFeature(FeatureResults feature)

addTestOutcomesForTag

public void addTestOutcomesForTag(String tag,
                                  TestOutcomes testOutcomes)

totalExecutedTestsIn

protected int totalExecutedTestsIn(FeatureResults feature)

totalStepsInExecutedTestsIn

protected int totalStepsInExecutedTestsIn(FeatureResults feature)


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.