File: tasklist-treeness.xml

package info (click to toggle)
charmtimetracker 1.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,340 kB
  • sloc: cpp: 19,176; xml: 284; python: 120; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 916 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE charmtests>
<testcases>
<testcase type="checkForTreenessTest" name="empty task lists" expectedResult="true">
   <tasks />
</testcase>
<testcase type="checkForTreenessTest" name="simple task lists" expectedResult="true">
   <tasks>
      <task taskid="1" subscribed="1" parentid="0" >task 1</task>
      <task taskid="2" subscribed="1" parentid="1" >task 2</task>
   </tasks>
</testcase>
<testcase type="checkForTreenessTest" name="cyclic task lists" expectedResult="false">
   <tasks>
      <task taskid="3" subscribed="1" parentid="5" >task 3</task>
      <task taskid="4" subscribed="1" parentid="3" >task 4</task>
      <task taskid="5" subscribed="1" parentid="4" >task 5</task>
   </tasks>
</testcase>
<testcase type="checkForTreenessTest" name="one cyclic task" expectedResult="false">
   <tasks>
      <task taskid="6" subscribed="1" parentid="6" >task 3</task>
   </tasks>
</testcase>
</testcases>