com.aventstack.extentreports

## Class TestAttributeTestContextProvider<T extends TestAttribute>

- java.lang.Object
- - com.aventstack.extentreports.TestAttributeTestContextProvider<T>

- Type Parameters:
    `T` - A `TestAttribute` type

      public class TestAttributeTestContextProvider<T extends TestAttribute>
      extends Object

  Uses an attribute context for `TestAttribute` (Category, Device, Author etc.) and tracks the collection of tests segregated by the type `TestAttribute`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TestAttributeTestContextProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<TestAttributeTestContext<T>>` | `getTestAttributeTestContextList()`
    `void` | `removeTest(Test test)`
    `void` | `setAttributeContext(T attr, Test test)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TestAttributeTestContextProvider

          public TestAttributeTestContextProvider()

  - ### Method Detail

    - #### setAttributeContext

          public void setAttributeContext(T attr,
                                          Test test)

    - #### removeTest

          public void removeTest(Test test)

    - #### getTestAttributeTestContextList

          public List<TestAttributeTestContext<T>> getTestAttributeTestContextList()

Copyright © 2018. All rights reserved.