org.testng
Class PreserveOrderMethodInterceptor

java.lang.Object
  extended by org.testng.PreserveOrderMethodInterceptor
All Implemented Interfaces:
IMethodInterceptor, ITestNGListener

public class PreserveOrderMethodInterceptor
extends Object
implements IMethodInterceptor

A method interceptor that preserves the order in which test classes were found in the <test> tag.

Author:
cbeust

Constructor Summary
PreserveOrderMethodInterceptor()
           
 
Method Summary
 List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreserveOrderMethodInterceptor

public PreserveOrderMethodInterceptor()
Method Detail

intercept

public List<IMethodInstance> intercept(List<IMethodInstance> methods,
                                       ITestContext context)
Specified by:
intercept in interface IMethodInterceptor


Copyright © 2010. All Rights Reserved.