Class NamedAttributeContextManager<T extends NamedAttribute>

java.lang.Object
com.aventstack.extentreports.model.context.NamedAttributeContextManager<T>

public class NamedAttributeContextManager<T extends NamedAttribute> extends Object
  • Constructor Details

    • NamedAttributeContextManager

      public NamedAttributeContextManager()
  • Method Details

    • addContext

      public void addContext(T attr, Test test)
    • addContext

      public void addContext(T attr, List<Test> testList)
    • removeTest

      public void removeTest(Test test)
      Remove a test from the context. This will also removed the context if there are no tests present after test removal
      Parameters:
      test - Test
    • hasItems

      public boolean hasItems()
    • resetAll

      public void resetAll()