Class GenericTestSuite

  • All Implemented Interfaces:
    IAbortableTestSuite, junit.framework.Test

    public abstract class GenericTestSuite
    extends junit.framework.TestSuite
    implements IAbortableTestSuite
    Suite that can run multiple test agents.
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericTestSuite​(boolean justStartComponents, java.lang.Class<?>... clazzes)  
      GenericTestSuite​(boolean justStartComponents, java.lang.String... components)  
      GenericTestSuite​(java.lang.Class<?>... clazzes)  
      GenericTestSuite​(java.lang.String... components)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTest​(junit.framework.Test test)  
      boolean isAborted()  
      void run​(junit.framework.TestResult result)  
      void runTest​(junit.framework.Test test, junit.framework.TestResult result)  
      void setConfig​(IPlatformConfiguration config)  
      • Methods inherited from class junit.framework.TestSuite

        addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString, warning
      • Methods inherited from class java.lang.Object

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

      • GenericTestSuite

        public GenericTestSuite​(java.lang.Class<?>... clazzes)
      • GenericTestSuite

        public GenericTestSuite​(java.lang.String... components)
      • GenericTestSuite

        public GenericTestSuite​(boolean justStartComponents,
                                java.lang.Class<?>... clazzes)
      • GenericTestSuite

        public GenericTestSuite​(boolean justStartComponents,
                                java.lang.String... components)
    • Method Detail

      • run

        public void run​(junit.framework.TestResult result)
        Specified by:
        run in interface junit.framework.Test
        Overrides:
        run in class junit.framework.TestSuite
      • runTest

        public void runTest​(junit.framework.Test test,
                            junit.framework.TestResult result)
        Overrides:
        runTest in class junit.framework.TestSuite
      • addTest

        public void addTest​(junit.framework.Test test)
        Overrides:
        addTest in class junit.framework.TestSuite