Split the task preload preload test out
Split out the task preload preload test into its own test case with its
own root to make it easier to maintain and to debug when something goes
wrong.
Change-Id: I97f6012833f1499f9fc3295951d3a41ccc60a82d
diff --git a/src/main/resources/Documentation/test/task_states.md b/src/main/resources/Documentation/test/task_states.md
index 57926e8..18ec589 100644
--- a/src/main/resources/Documentation/test/task_states.md
+++ b/src/main/resources/Documentation/test/task_states.md
@@ -1059,7 +1059,6 @@
[task "Subtask Preload"]
preload-task = Subtask READY
- subtask = Subtask Preload Preload
subtask = Subtask Preload Hints PASS
subtask = Subtask Preload Hints FAIL
subtask = Subtask Preload Override Pass
@@ -1068,12 +1067,6 @@
subtask = Subtask Preload Optional
subtask = Subtask Preload Properties
-[task "Subtask Preload Preload"]
- preload-task = Subtask Preload with Preload
-
-[task "Subtask Preload with Preload"]
- preload-task = Subtask PASS
-
[task "Subtask Preload Hints PASS"]
preload-task = Subtask Hints
pass = False
@@ -1127,12 +1120,6 @@
{
"applicable" : true,
"hasPass" : true,
- "name" : "Subtask Preload Preload",
- "status" : "PASS"
- },
- {
- "applicable" : true,
- "hasPass" : true,
"hint" : "Task is ready",
"name" : "Subtask Preload Hints PASS",
"status" : "READY"
@@ -1194,6 +1181,30 @@
]
}
+[root "Root Preload Preload"]
+ subtask = Subtask Preload Preload
+
+[task "Subtask Preload Preload"]
+ preload-task = Subtask Preload with Preload
+
+[task "Subtask Preload with Preload"]
+ preload-task = Subtask PASS
+
+{
+ "applicable" : true,
+ "hasPass" : false,
+ "name" : "Root Preload Preload",
+ "status" : "PASS",
+ "subTasks" : [
+ {
+ "applicable" : true,
+ "hasPass" : true,
+ "name" : "Subtask Preload Preload",
+ "status" : "PASS"
+ }
+ ]
+}
+
[root "Root INVALID Preload"]
preload-task = missing