com.atlassian.jira.functest.framework.suite
Class FunctionalCategoryComparator

java.lang.Object
  extended by com.atlassian.jira.functest.framework.suite.FunctionalCategoryComparator
All Implemented Interfaces:
Comparator<Class<?>>

public class FunctionalCategoryComparator
extends Object
implements Comparator<Class<?>>

Compares tests using their functional categories. Useful for keeping consistent ordering across the whole suite.

Since:
v4.3

Field Summary
static FunctionalCategoryComparator INSTANCE
           
 
Constructor Summary
FunctionalCategoryComparator()
           
 
Method Summary
 int compare(Class<?> test1, Class<?> test2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final FunctionalCategoryComparator INSTANCE
Constructor Detail

FunctionalCategoryComparator

public FunctionalCategoryComparator()
Method Detail

compare

public int compare(Class<?> test1,
                   Class<?> test2)
Specified by:
compare in interface Comparator<Class<?>>


Copyright © 2002-2012 Atlassian. All Rights Reserved.