Interface TestProviderDescriptor


public interface TestProviderDescriptor
JSL descriptor to provide services. Shall be implemented by tests only.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<?>[]
    getTests(int index)
    Returns a test represented as it's class for execution in jUnit.
  • Method Details

    • getTests

      Class<?>[] getTests(int index)
      Returns a test represented as it's class for execution in jUnit. This is required if a test running a service manager and other components like AAS as plugins shall get execute a test independently. [testing]
      Parameters:
      index - a 0-based index of the test/suite to return; usually test and implementing service manager are in close relationship and know the valid indexes
      Returns:
      the test classes or null if there is none for the given index