net.thucydides.core.reports.json
Class ProgressColorScheme

Package class diagram package ProgressColorScheme
java.lang.Object
  extended by net.thucydides.core.reports.json.ProgressColorScheme
All Implemented Interfaces:
ColorScheme

public class ProgressColorScheme
extends Object
implements ColorScheme

Determine what color boxes should be in the feature/story/scenario treemap.


Field Summary
static Color DONE_BLUE
           
static Color PALE_BLUE
           
 
Constructor Summary
ProgressColorScheme()
           
 
Method Summary
 Color colorFor(FeatureResults feature)
          What color should a given feature be?
 Color colorFor(StoryTestResults storyResult)
           
 Color colorFor(TestOutcome outcome)
           
 Color colorFor(TestOutcomes outcome)
           
 Color colorFor(TestStep step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PALE_BLUE

public static final Color PALE_BLUE

DONE_BLUE

public static final Color DONE_BLUE
Constructor Detail

ProgressColorScheme

public ProgressColorScheme()
Method Detail

colorFor

public Color colorFor(FeatureResults feature)
What color should a given feature be?

Specified by:
colorFor in interface ColorScheme

colorFor

public Color colorFor(StoryTestResults storyResult)
Specified by:
colorFor in interface ColorScheme

colorFor

public Color colorFor(TestOutcomes outcome)
Specified by:
colorFor in interface ColorScheme

colorFor

public Color colorFor(TestOutcome outcome)
Specified by:
colorFor in interface ColorScheme

colorFor

public Color colorFor(TestStep step)
Specified by:
colorFor in interface ColorScheme


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