test/TestSuite/Scheduler/Correct/Limits.tjp in taskjuggler-0.0.5 vs test/TestSuite/Scheduler/Correct/Limits.tjp in taskjuggler-0.0.6
- old
+ new
@@ -8,13 +8,15 @@
resource d "D"
resource e "E"
resource f "F"
resource g "G"
resource h "H"
+resource i "I"
+resource j "J"
+resource k "K"
task tasks "Tasks" {
- start ${projectstart}
task t1 "40h with 4h daily limit" {
effort 40h
allocate a
limits { dailymax 4h }
${FixEnd "2007-09-11-14:00"}
@@ -38,11 +40,10 @@
${FixEnd "2007-12-04-15:00"}
}
}
task nested "Nested Tasks (20h/week limit)" {
- start ${projectstart}
limits { weeklymax 20h }
task a "Task A" {
allocate e
effort 30d
${FixEnd "2008-02-06-14:00"}
@@ -55,22 +56,28 @@
${FixEnd "2007-11-14-16:00"}
}
}
task interval "Interval Limit" {
- start ${projectstart}
effort 20d
allocate g
limits { weeklymax 8h { period 2007-09-05 +8d }}
${FixEnd "2007-10-01-18:00"}
}
task resource "Resource Limit" {
- start ${projectstart}
effort 10d
allocate h
limits { weeklymax 16h { resources h }}
${FixEnd "2007-09-25-18:00"}
+}
+
+task resources "Multiple Resources" {
+ effort 20d
+ allocate i, j, k
+ limits { dailymax 2h { resources i}
+ dailymax 6h { resources j} }
+ ${FixEnd "2007-09-11-18:00"}
}
taskreport limits "Limits" {
formats html
columns no, name, start, end, effort, daily