toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
templates_test
/
com.hexagonkt.templates.test
/
TemplateAdapterTest
Template
Adapter
Test
@
TestInstance
(
value
=
TestInstance.Lifecycle.PER_CLASS
)
abstract
class
TemplateAdapterTest
(
url
:
URL
,
adapter
:
TemplatePort
)
Members
Constructors
Template
Adapter
Test
Link copied to clipboard
constructor
(
url
:
URL
,
adapter
:
TemplatePort
)
Functions
A
static
template
is
rendered
properly
Link copied to clipboard
@
Test
fun
A static template is rendered properly
(
)
A
static
template
with
missing
properties
is
rendered
properly
Link copied to clipboard
@
Test
fun
A static template with missing properties is rendered properly
(
)
Invalid
resource
path
will
return
empty
map
Link copied to clipboard
@
Test
fun
Invalid resource path will return empty map
(
)
Set
up
adapter
Link copied to clipboard
@
BeforeAll
fun
Set up adapter
(
)
Template
with
not
proper
properties
is
rendered
Link copied to clipboard
@
Test
fun
Template with not proper properties is rendered
(
)