Class TestRuleStoreClassName

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class TestRuleStoreClassName
    extends Object
    implements org.junit.rules.TestRule
    Stores the suite name so you can retrieve it from getTestClass()
    • Constructor Detail

      • TestRuleStoreClassName

        public TestRuleStoreClassName()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement s,
                                                       Description d)
        Specified by:
        apply in interface org.junit.rules.TestRule
      • getTestClass

        public Class<?> getTestClass()
        Returns the test class currently executing in this rule.