Interface TestCompilerHelper

  • All Implemented Interfaces:

    
    public interface TestCompilerHelper
    
                        

    Bug 53796 - TestCompiler uses static Set which can grow huge This interface is a means to allow the pair data to be saved with the parent instance, thus allowing it to be garbage collected when the thread completes. This uses a bit more memory, as each controller test element includes the data structure to contain the child element. However, there is no need to store the parent element.

    Since:

    2.8

    • 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 boolean addTestElementOnce(TestElement child) Add child test element only if it has not already been added.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • addTestElementOnce

         abstract boolean addTestElementOnce(TestElement child)

        Add child test element only if it has not already been added.

        Only for use by TestCompiler.

        Parameters:
        child - the TestElement to be added
        Returns:

        true if the child was added