Class TestInputGroupContext


  • public final class TestInputGroupContext
    extends java.lang.Object
    A class representing a TestInputGroup to the outside. This does not contain test inputs but therefore the TestInputGroupGenerator used to generate the group. It is used for identification in ExecutionReporter.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestInputGroupContext​(java.lang.Object identifier, de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator generator)
      Creates a new context with the given identifier and generator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator getGenerator()  
      java.lang.Object getIdentifier()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • TestInputGroupContext

        public TestInputGroupContext​(java.lang.Object identifier,
                                     de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator generator)
        Creates a new context with the given identifier and generator.
        Parameters:
        identifier - a unique identifier of this test input group
        generator - the generator used to generate the test input group
    • Method Detail

      • getIdentifier

        public java.lang.Object getIdentifier()
        Returns:
        the unique identifier
      • getGenerator

        public de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator getGenerator()
        Returns:
        the generator used to generate the test input group
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object