Interface UnitTestManager

  • All Implemented Interfaces:

    
    public interface UnitTestManager
    
                        

    Implement this interface to work with the AllTests class. This interface allows AllTests to pass a configuration file to your application before running the junit unit tests.

    N.B. This interface must be in the main src/ tree (not test/) because it is implemented by JMeterUtils

    see JUnit class: org.apache.jorphan.test.AllTests
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void initializeProperties(String filename) Your implementation will be handed the filename that was provided to AllTests as a configuration file.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • initializeProperties

         abstract void initializeProperties(String filename)

        Your implementation will be handed the filename that was provided to AllTests as a configuration file. It can hold whatever properties you need to configure your system prior to the unit tests running.

        Parameters:
        filename - path to the configuration file