ItEr43S08CUImportacionRecursosProductivosItEr42S12: One example more added to resources-sample.xml.
It illustrates an error when trying to add a resource with overlapping criterions satisfactions refering to the same criterion (even though its criterion type allows simultaneous criterion satisfactions). This case was already illustrated as a test case in ResourceServiceTest.
This commit is contained in:
parent
f04de2d768
commit
3f75fb7666
1 changed files with 18 additions and 0 deletions
|
|
@ -249,4 +249,22 @@
|
|||
</criterion-satisfaction-list>
|
||||
</worker>
|
||||
|
||||
<!-- [It assumes existence of "TestLocationGroupCriterion" and
|
||||
"TestLocationGroupCriterion2"] Criterion satisfaction overlapping in
|
||||
"LOCATION_GROUP :: TestLocationGroupCriterion". -->
|
||||
<worker first-name="w14-firstName" surname="w14-surname" nif="w14-nif">
|
||||
<criterion-satisfaction-list>
|
||||
<criterion-satisfaction
|
||||
criterion-type-name="LOCATION_GROUP"
|
||||
criterion-name="TestLocationGroupCriterion"
|
||||
start-date="2000-01-01"
|
||||
end-date="2000-02-01"/>
|
||||
<criterion-satisfaction
|
||||
criterion-type-name="LOCATION_GROUP"
|
||||
criterion-name="TestLocationGroupCriterion"
|
||||
start-date="2000-01-15"
|
||||
end-date="2000-02-01"/>
|
||||
</criterion-satisfaction-list>
|
||||
</worker>
|
||||
|
||||
</resource-list>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue