Commit graph

5937 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
01d0bf9a8a Reorganized code of last tests for WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 10:52:07 +02:00
Manuel Rego Casasnovas
a34484ec25 Added more tests for criterions in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 10:39:25 +02:00
Manuel Rego Casasnovas
ceb76cf283 Fixed issues in advances related to previous tests.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-04 09:09:05 +02:00
Manuel Rego Casasnovas
96f2dc841f Added more tests for advances in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 18:07:32 +02:00
Manuel Rego Casasnovas
37d21e8895 Added more tests for labels in WBS and fixed detected issue.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Manuel Rego Casasnovas
b9de4bc47a Added more test to check labels behaviour on WBS movements.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Manuel Rego Casasnovas
25fe6947c9 Add test to check same criterion on WBS movement.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 17:55:19 +02:00
Susana Montes Pedreira
59c29c3106 [Bug #1044] it check out the subcontracted direct advance assignment exists before reattaching its measures.
FEA: ItEr74S04BugFixing
2011-05-03 16:35:52 +02:00
Óscar González Fernández
f86af62210 [Bug #1011] Fix bug
At limiting allocation when setting the day assignments, it used the
previous task's start and end date values instead of the ones just
calculated.

FEA: ItEr74S04BugFixing
2011-05-03 16:26:45 +02:00
Manuel Rego Casasnovas
54013a97fe [Bug #1040] Fixed problem added in previous commit.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 15:38:47 +02:00
Manuel Rego Casasnovas
70fd6b4299 [Bug #1040] Added new checks on tests and fixed problem for orphan children advance types.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 13:31:26 +02:00
Manuel Rego Casasnovas
9e4ffd25ee Removed unused variables in test.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 13:31:26 +02:00
Diego Pino Garcia
5e0be4f20f [Bug #1028] Removed unnecesary save of rootTask
Apparently this save, that served to reattach the rootTask before
calculating the progress related with critical path, was causing the
issue with the ConcurrentModificationException.

The reattach is no needed as all tasks in the graph are attached at
this point.

FEA: ItEr74S04BugFixing
2011-05-03 12:06:11 +02:00
Diego Pino Garcia
8c5fe0bf11 [Bug #1028] Avoid bug
updateAndRefresh() causes ConcurrentModificationException, however it's
need to do an update() when the project is saved, the graph changes, etc

The concurrent modification happens if a resource is allocated in a task
and the save project. If the project is saved before and then the
resource is allocated and save, it's OK.

Use refresh() instead to avoid the bug.

FEA: ItEr74S04BugFixing
2011-05-03 11:39:27 +02:00
Manuel Rego Casasnovas
8794d7d032 [Bug #1038] Added test and fixed bug for repeated labels in WBS.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:51:35 +02:00
Manuel Rego Casasnovas
a468460246 [Bug #1037] Fixed other tests affected by changes in bugfix.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:01 +02:00
Manuel Rego Casasnovas
70f0a7d7d4 [Bug #1037] Added test and fixed bug for advances of same type.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Manuel Rego Casasnovas
e0a858d8ce Refactorized test to have AdvanceType as checking variables.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Manuel Rego Casasnovas
ddf238e9df Basic test for move OrderLine to OrderLineGroup in OrderElementTreeModel.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-03 09:15:00 +02:00
Diego Pino Garcia
26c1bbdb68 [Bug #987] Pretty print ValidationExceptions as WrongValueExceptions in CostCategories
FEA: ItEr74S04BugFixing
2011-05-03 08:38:45 +02:00
Diego Pino Garcia
6360d2eacb [Bug #978] Update overallProgress whenever the user enters the Gantt screen
FEA: ItEr74S04BugFixing
2011-05-03 08:05:29 +02:00
Diego Pino Garcia
0a136ace5f [Bug #978] Update overallProgress when progress is assigned to a task
FEA: ItEr74S04BugFixing
2011-05-03 07:43:25 +02:00
Diego Pino Garcia
ad09483708 [Bug #1028] Remove update when a project is saved, and do updateAndRefresh when the graph changes
FEA: ItEr74S04BugFixing
2011-05-03 07:43:25 +02:00
Óscar González Fernández
567a089381 [Bug #1042] Fix bug
Add sort statement.

FEA: ItEr74S04BugFixing
2011-05-02 19:22:06 +02:00
Manuel Rego Casasnovas
868a2fc601 Added methods to assert criteria and used in the whole test file.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-02 14:33:27 +02:00
Manuel Rego Casasnovas
b8c6904a51 Basic test for move method in OrderElementTreeModel.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-02 14:33:27 +02:00
Óscar González Fernández
5f08086df3 [Bug #893] Fix bug updating dates
The dates of the "Task properties" tab were not updated when
calculating the end date. Updating them on
afterApplicationReloadValues method.

FEA: ItEr74S04BugFixing
2011-05-02 14:12:23 +02:00
Susana Montes Pedreira
8a8c8ed21a Merge branch 'FixBug894_3' 2011-05-02 12:38:18 +02:00
Óscar González Fernández
c58614b818 [Bug #1036] Fix bug removing a consolidation
FEA: ItEr74S04BugFixing
2011-05-02 12:29:23 +02:00
Susana Montes Pedreira
e0c1a6e3d5 [Bug #894] Add a confirm dialog on order list to warn the user when it
removes a subcontracted order.

FEA: ItEr74S04BugFixing
2011-05-02 12:27:11 +02:00
Manuel Rego Casasnovas
419d7b9889 Added more checks to test unindent method.
* Test what happens with indirect advances.
* Test what happens with indirect criterion requirement.

FEA: ItEr74S07WBSTreeRefactoring
2011-05-02 10:17:46 +02:00
Susana Montes Pedreira
315208a04e Rename "getDirectAdvanceAssignmentOfSubcontractedOrderElements" to
"getDirectAdvanceAssignmentOfTypeSubcontractor"

FEA: ItEr74S04BugFixing
2011-05-02 09:47:38 +02:00
Susana Montes Pedreira
95dd264824 [Bug #894] Subcontrating relation is maintained in the root element.
It remains the relation with subcontrated task although you delete the task.

FEA: ItEr74S04BugFixing
2011-05-02 09:43:12 +02:00
Manuel Rego Casasnovas
9e0ca50dec Added test to check invalidation of indirect criterion requirements.
FEA: ItEr74S07WBSTreeRefactoring
2011-05-02 08:36:58 +02:00
Óscar González Fernández
13bec81499 Extract copy and pasted code to utilities class
FEA: ItEr74S04BugFixing
2011-05-01 23:29:24 +02:00
Óscar González Fernández
78aaae3ec5 [Bug #1016] [Bug #1017] [Bug #1018] [Bug #1019] [Bug #1020] Fix report criteria hierarchy bugs
FEA: ItEr74S04BugFixing
2011-05-01 23:28:57 +02:00
Óscar González Fernández
32045dccd4 untilAllocating requires an EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-29 19:59:55 +02:00
Óscar González Fernández
b8d2bd574f Change HoursModification to use EffortDuration
Now it's called EffortModification.

FEA: ItEr74S04BugFixing
2011-04-29 19:59:55 +02:00
Óscar González Fernández
ab8abe5122 ResourceAllocation#isSatisfied considers the non consolidated assignments
FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
88abbea9bf Add intendedNonConsolidatedEffort field
intendedTotalAssignment was being used incorrectly when used for
creating HoursModifications. The new field holds the value to use for
a new HoursModification. intendedTotalAssignment also includes the non
consolidated part.

FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
648dc13fa3 Fix formatting
FEA: ItEr74S04BugFixing
2011-04-29 19:59:54 +02:00
Óscar González Fernández
343bd08d64 Rename originalTotalAssignment to intendedTotalAssignment and use EffortDuration instead of hours
FEA: ItEr74S04BugFixing
2011-04-29 19:59:53 +02:00
Óscar González Fernández
2a0ee6bb54 [Bug #1010] Switch from Intboxes to EffortDurationBoxes
FEA: ItEr74S04BugFixing
2011-04-29 19:59:38 +02:00
Óscar González Fernández
bce85384bd Return EffortDurations instead of ints in aggregating methods
FEA: ItEr74S04BugFixing
2011-04-29 19:54:48 +02:00
Óscar González Fernández
4370fe79c0 Extract method to produce a sum of EffortDurations
FEA: ItEr74S04BugFixing
2011-04-29 19:54:47 +02:00
Óscar González Fernández
a070377b99 Remove unused method
FEA: ItEr74S04BugFixing
2011-04-29 19:54:47 +02:00
Manuel Rego Casasnovas
689fc76c41 Removed unused method.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-29 18:49:42 +02:00
Manuel Rego Casasnovas
131d941cde Added remove method to interface ICriterionRequirable.
FEA: ItEr74S04BugFixing
2011-04-29 16:40:09 +02:00
Manuel Rego Casasnovas
7b42c10d11 Bump timeplot version to 1.0_2_4.
* .jar artifact uploaded to nexus repository.

FEA: ItEr74S04BugFixing
2011-04-29 12:36:55 +02:00
Manuel Rego Casasnovas
ad417388fd Removed unused and empty interface ICriterionRequirementHandler.
FEA: ItEr74S07WBSTreeRefactoring
2011-04-29 11:53:54 +02:00