Add tasks-factories static properties tests
The tasks-factories properties tests were only being run on
tasks-factories with 'change' type names-factories, add tests to also
cover the 'static' type.
Change-Id: I6db8c5d06637c30a6b815232613dae100df32139
diff --git a/src/main/resources/Documentation/test/task_states.md b/src/main/resources/Documentation/test/task_states.md
index 9fe1677..fd7fb37 100644
--- a/src/main/resources/Documentation/test/task_states.md
+++ b/src/main/resources/Documentation/test/task_states.md
@@ -927,10 +927,49 @@
]
}
-[root "Root TaskFactory Properties"]
- subtasks-factory = TaskFactory Properties
+[root "Root Properties tasks-factory STATIC"]
+ subtasks-factory = tasks-factory STATIC Properties
-[tasks-factory "TaskFactory Properties"]
+[tasks-factory "tasks-factory STATIC Properties"]
+ set-welcome-message = Welcome to the jungle
+ names-factory = names-factory static list
+ fail-hint = ${welcome-message} Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
+ fail = True
+
+{
+ "applicable" : true,
+ "hasPass" : false,
+ "name" : "Root Properties tasks-factory STATIC",
+ "status" : "WAITING",
+ "subTasks" : [
+ {
+ "applicable" : true,
+ "hasPass" : true,
+ "hint" : "Welcome to the jungle Name(my a task) Change Number(_change_number) Change Id(_change_id) Change Project(_change_project) Change Branch(_change_branch) Change Status(_change_status) Change Topic(_change_topic)",
+ "name" : "my a task",
+ "status" : "FAIL"
+ },
+ {
+ "applicable" : true,
+ "hasPass" : true,
+ "hint" : "Welcome to the jungle Name(my b task) Change Number(_change_number) Change Id(_change_id) Change Project(_change_project) Change Branch(_change_branch) Change Status(_change_status) Change Topic(_change_topic)",
+ "name" : "my b task",
+ "status" : "FAIL"
+ },
+ {
+ "applicable" : true,
+ "hasPass" : true,
+ "hint" : "Welcome to the jungle Name(my c task) Change Number(_change_number) Change Id(_change_id) Change Project(_change_project) Change Branch(_change_branch) Change Status(_change_status) Change Topic(_change_topic)",
+ "name" : "my c task",
+ "status" : "FAIL"
+ }
+ ]
+}
+
+[root "Root Properties tasks-factory CHANGE"]
+ subtasks-factory = tasks-factory CHANGE Properties
+
+[tasks-factory "tasks-factory CHANGE Properties"]
set-welcome-message = Welcome to the pleasuredome
names-factory = names-factory my change
fail-hint = ${welcome-message} Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
@@ -943,7 +982,7 @@
{
"applicable" : true,
"hasPass" : false,
- "name" : "Root TaskFactory Properties",
+ "name" : "Root Properties tasks-factory CHANGE",
"status" : "WAITING",
"subTasks" : [
{