org.squashtest.csp.tm.domain.testautomation
Class AutomatedTest

java.lang.Object
  extended by org.squashtest.csp.tm.domain.testautomation.AutomatedTest

@Entity
public class AutomatedTest
extends Object


Constructor Summary
AutomatedTest()
           
AutomatedTest(String name, TestAutomationProject project)
           
 
Method Summary
 String getFullName()
           
 Long getId()
           
 String getName()
           
 String getNameWithoutRoot()
           
 String getPath()
           
 TestAutomationProject getProject()
           
 String getRootFolderName()
           
 String getShortName()
           
 boolean isAtTheRoot()
           
 AutomatedTest newWithName(String name)
           
 AutomatedTest newWithProject(TestAutomationProject project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomatedTest

public AutomatedTest()

AutomatedTest

public AutomatedTest(String name,
                     TestAutomationProject project)
Method Detail

getId

public Long getId()

getProject

public TestAutomationProject getProject()

getName

public String getName()

getFullName

public String getFullName()
Returns:
project.name + name

getPath

public String getPath()
Returns:
name - shortName

getShortName

public String getShortName()
Returns:
returns name - path

getNameWithoutRoot

public String getNameWithoutRoot()
Returns:
name - rootfolder

getRootFolderName

public String getRootFolderName()

isAtTheRoot

public boolean isAtTheRoot()
Returns:
if the test is a direct child of the root folder

newWithProject

public AutomatedTest newWithProject(TestAutomationProject project)

newWithName

public AutomatedTest newWithName(String name)


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.