comparison OrthancFramework/UnitTestsSources/DicomMapTests.cpp @ 4944:f377d5643538 more-tags

new Warnings configuration + InstanceAvailability tag
author Alain Mazy <am@osimis.io>
date Thu, 17 Mar 2022 17:03:59 +0100
parents 304514ce84ee
children 877bc3b96476
comparison
equal deleted inserted replaced
4941:96a3e81eba90 4944:f377d5643538
580 } 580 }
581 581
582 { 582 {
583 std::set<DicomTag> tags; 583 std::set<DicomTag> tags;
584 tags.insert(DICOM_TAG_MODALITIES_IN_STUDY); 584 tags.insert(DICOM_TAG_MODALITIES_IN_STUDY);
585 tags.insert(DICOM_TAG_RETRIEVE_URL);
585 586
586 ASSERT_TRUE(DicomMap::HasOnlyComputedTags(tags)); 587 ASSERT_TRUE(DicomMap::HasOnlyComputedTags(tags));
587 ASSERT_TRUE(DicomMap::HasComputedTags(tags, ResourceType_Study)); 588 ASSERT_TRUE(DicomMap::HasComputedTags(tags, ResourceType_Study));
588 ASSERT_FALSE(DicomMap::HasComputedTags(tags, ResourceType_Patient)); 589 ASSERT_FALSE(DicomMap::HasComputedTags(tags, ResourceType_Patient));
589 ASSERT_FALSE(DicomMap::HasComputedTags(tags, ResourceType_Series)); 590 ASSERT_FALSE(DicomMap::HasComputedTags(tags, ResourceType_Series));