PreserveOrderMethodInterceptor (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Class PreserveOrderMethodInterceptor

    java.lang.Object
      org.testng.PreserveOrderMethodInterceptor

All Implemented Interfaces:
  IMethodInterceptor, ITestNGListener

    public class PreserveOrderMethodInterceptor

extends java.lang.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
`java.util.List<IMethodInstance>` | `intercept(java.util.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 java.util.List<IMethodInstance> intercept(java.util.List<IMethodInstance> methods,
                                                     ITestContext context)

  Specified by:
    `intercept` in interface `IMethodInterceptor`

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD