hudson.plugins.testlink.util
Class ExecutionOrderComparator

java.lang.Object
  extended by hudson.plugins.testlink.util.ExecutionOrderComparator
All Implemented Interfaces:
java.util.Comparator<TestCaseWrapper>

public class ExecutionOrderComparator
extends java.lang.Object
implements java.util.Comparator<TestCaseWrapper>

Compares Test Cases by its execution order. Returns the array in ASC order.

Since:
2.2
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br

Constructor Summary
ExecutionOrderComparator()
           
 
Method Summary
 int compare(TestCaseWrapper o1, TestCaseWrapper o2)
           
 
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
 

Constructor Detail

ExecutionOrderComparator

public ExecutionOrderComparator()
Method Detail

compare

public int compare(TestCaseWrapper o1,
                   TestCaseWrapper o2)
Specified by:
compare in interface java.util.Comparator<TestCaseWrapper>


Copyright © 2010-2011 the Jenkins TestLink plug-in team-2012 Jenkins. All Rights Reserved.