forked from expertisesolutions/tctautomated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PMIN_prop_get_min_value.template
27 lines (27 loc) · 1.05 KB
/
PMIN_prop_get_min_value.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Test]
[Category("P1")]
[Description("Calling Property Get Min Value ${func.name}$.")]
[Property("SPEC", "${suite.name}$.${cls.name}$.${func.name}$_get A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "AutomaTest Boot, tct@automated")]
public void ${func.name}$_get_MIN_VALUE()
{
${def_params(parameters=func.getter_args, prefix="get_arg_")}$
${m_show(mshow=func.arg_get_init)}$#!
${m_show(mshow=func.get_init)}$#!
<!--(if func.pmin_init)-->
${m_show(mshow=func.pmin_init)}$#!
<!--(else)-->
<!--(for arg in filter(func.is_number, func.getter_keys))-->
get_arg_${arg.name}$ = ${suite.type_convert(arg.type)}$.MinValue;
<!--(end)-->
<!--(end)-->
/* CALLING PROPERTY */
${callget()}$
<!--(for p in func.getter_values)-->
Assert.NotNull(get_arg_${p.name}$, "${p.name}$ should be readable");
<!--(end)-->
${m_show(mshow=func.arg_get_shutdown)}$#!
${m_show(mshow=func.get_shutdown)}$#!
}