Class TestContext
- Object
-
- org.thymeleaf.testing.templateengine.context.TestContext
-
- All Implemented Interfaces:
ITestContext
public final class TestContext extends Object implements ITestContext
-
-
Constructor Summary
Constructors Constructor Description TestContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITestContext
aggregate(ITestContext context)
Map<String,ITestContextExpression>
getApplicationAttributes()
ITestContextExpression
getLocale()
Map<String,ITestContextExpression>
getRequestAttributes()
Map<String,ITestContextExpression[]>
getRequestParameters()
Map<String,ITestContextExpression>
getSessionAttributes()
Map<String,ITestContextExpression>
getVariables()
void
setLocale(ITestContextExpression locale)
-
-
-
Method Detail
-
getLocale
public ITestContextExpression getLocale()
- Specified by:
getLocale
in interfaceITestContext
-
setLocale
public void setLocale(ITestContextExpression locale)
-
getVariables
public Map<String,ITestContextExpression> getVariables()
- Specified by:
getVariables
in interfaceITestContext
-
getRequestParameters
public Map<String,ITestContextExpression[]> getRequestParameters()
- Specified by:
getRequestParameters
in interfaceITestContext
-
getRequestAttributes
public Map<String,ITestContextExpression> getRequestAttributes()
- Specified by:
getRequestAttributes
in interfaceITestContext
-
getSessionAttributes
public Map<String,ITestContextExpression> getSessionAttributes()
- Specified by:
getSessionAttributes
in interfaceITestContext
-
getApplicationAttributes
public Map<String,ITestContextExpression> getApplicationAttributes()
- Specified by:
getApplicationAttributes
in interfaceITestContext
-
aggregate
public ITestContext aggregate(ITestContext context)
- Specified by:
aggregate
in interfaceITestContext
-
-