Package com.vaadin.uitest.model
Class UiRoute
java.lang.Object
com.vaadin.uitest.model.UiRoute
Represents a component that it's a view in the app
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeTestName(File testsDir, TestFramework testFramework) getFile()getHtml()getRoute()voidsetBaseUrl(String baseUrl) voidsetClassName(String className) voidSet the file name of view, but at the same time compute the framework and the route, like in file-based routing.voidsetFramework(String framework) voidsetGherkin(String gherkin) voidvoidsetLayoutClass(String layoutClass) voidsetProjectRoot(String projectRoot) voidvoidsetRouteExpression(String routeExpression) voidvoidsetTagName(String tagName) voidsetTestClass(String testClass) voidsetTestfile(String testfile) voidsetTestScenarios(TestScenarios testScenarios) toString()
-
Constructor Details
-
UiRoute
public UiRoute() -
UiRoute
-
-
Method Details
-
getProjectRoot
-
setProjectRoot
-
getClassName
-
getTagName
-
setClassName
-
setTagName
-
getSimpleName
-
getLayoutClass
-
getRoute
-
getRouteExpression
-
setRoute
-
getBaseUrl
-
setBaseUrl
-
setRouteExpression
-
setLayoutClass
-
getSource
-
setSource
-
getHtml
-
setHtml
-
getGherkin
-
setGherkin
-
getTestScenarios
-
setTestScenarios
-
getFile
-
setFile
Set the file name of view, but at the same time compute the framework and the route, like in file-based routing.- Parameters:
file- : file name of the view
-
getFramework
-
computeTestName
-
setFramework
-
getTestfile
-
setTestfile
-
getTestsDir
-
getTestClass
-
setTestClass
-
toString
-