Class TestRegistry


  • public class TestRegistry
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TestRegistry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> java.util.function.Consumer<T> getTest​(java.lang.Class<T> type)  
      boolean isIgnored​(java.lang.Class clazz)  
      boolean isTested​(java.lang.Class clazz)  
      void markAsRun​(java.lang.Class type)  
      TestRegistry withIgnoredClass​(java.lang.Class<?>... classesToIgnore)  
      <T> TestRegistry withTest​(java.lang.Class<T> clazz, java.util.function.Consumer<T> consumer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestRegistry

        public TestRegistry()
    • Method Detail

      • withIgnoredClass

        public TestRegistry withIgnoredClass​(java.lang.Class<?>... classesToIgnore)
      • withTest

        public <T> TestRegistry withTest​(java.lang.Class<T> clazz,
                                         java.util.function.Consumer<T> consumer)
      • isTested

        public boolean isTested​(java.lang.Class clazz)
      • isIgnored

        public boolean isIgnored​(java.lang.Class clazz)
      • getTest

        public <T> java.util.function.Consumer<T> getTest​(java.lang.Class<T> type)
      • markAsRun

        public void markAsRun​(java.lang.Class type)