Mercurial > hg > orthanc
diff UnitTestsSources/ServerIndexTests.cpp @ 3075:ead8576a02ef db-changes
IDatabaseWrapper::ApplyLookupResources now returns lists
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Jan 2019 18:39:25 +0100 |
parents | 0e9d1731b1b0 |
children | 1a75595d8e44 |
line wrap: on
line diff
--- a/UnitTestsSources/ServerIndexTests.cpp Wed Jan 02 15:50:44 2019 +0100 +++ b/UnitTestsSources/ServerIndexTests.cpp Wed Jan 02 18:39:25 2019 +0100 @@ -249,7 +249,7 @@ } - void DoLookupIdentifier(std::vector<std::string>& result, + void DoLookupIdentifier(std::list<std::string>& result, ResourceType level, const DicomTag& tag, ConstraintType type, @@ -266,7 +266,7 @@ } - void DoLookupIdentifier2(std::vector<std::string>& result, + void DoLookupIdentifier2(std::list<std::string>& result, ResourceType level, const DicomTag& tag, ConstraintType type1, @@ -740,7 +740,7 @@ index_->SetIdentifierTag(a[2], DICOM_TAG_STUDY_INSTANCE_UID, "0"); index_->SetIdentifierTag(a[3], DICOM_TAG_SERIES_INSTANCE_UID, "0"); - std::vector<std::string> s; + std::list<std::string> s; DoLookupIdentifier(s, ResourceType_Study, DICOM_TAG_STUDY_INSTANCE_UID, ConstraintType_Equal, "0"); ASSERT_EQ(2u, s.size());