All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testtoolinterfaces.testsuite.TestGroupLink Maven / Gradle / Ivy

There is a newer version: 0.3.11
Show newest version
package org.testtoolinterfaces.testsuite;

/**
 * Class for a link to a Test Group.
 * TestGroupLinks all have an Id, a Type, a sequenceNr, and a link to a File.
 * 
 * @author Arjan Kranenburg
 *
 */
public class TestGroupLink extends TestExecItemLinkImpl
{
	/**
	 * Constructor
	 * 
	 * @param aTestGroupId		TG Identifier
	 * @param aSequenceNr		Sequence Number
	 * @param aTgLink			Test Group Link
	 */
	public TestGroupLink( String aTestGroupId,
	                      int aSequenceNr,
	          			TestLink aTgLink) {
		super( TYPE.GroupLink, aTestGroupId,
		      aSequenceNr, aTgLink );
	}

	/**
	 * Constructor
	 * 
	 * @param aTestGroupId		TG Identifier
	 * @param aSequenceNr		Sequence Number
	 * @param aTgLinkName		Test Group File Name
	 * @param aType				Type of the TG File
	 */
	public TestGroupLink( String aTestGroupId,
	                      int aSequenceNr,
	                      String aTgLinkName,
	                      String aType )
	{
		super( TYPE.GroupLink, aTestGroupId,
		      aSequenceNr,
		      new TestLinkImpl( aTgLinkName, aType ) );
	}

	/**
	 * Constructor for default type
	 * 
	 * @param aTestGroupId		TG Identifier
	 * @param aSequenceNr		Sequence Number
	 * @param aTgLinkName		Test Group File Name
	 */
	public TestGroupLink( String aTestGroupId,
	                      int aSequenceNr,
	                      String aTgLinkName )
	{
		this( aTestGroupId,
		      aSequenceNr,
		      aTgLinkName, TYPE_TTI );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy