changeset 1029:9e04f9f36096

fix windows build
author jodogne
date Thu, 10 Jul 2014 13:54:00 +0200
parents 20ccb7e2bc09
children 66fa947c7280
files UnitTestsSources/ServerIndexTests.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/ServerIndexTests.cpp	Thu Jul 10 12:19:05 2014 +0200
+++ b/UnitTestsSources/ServerIndexTests.cpp	Thu Jul 10 13:54:00 2014 +0200
@@ -584,8 +584,8 @@
     ServerIndex::MetadataMap metadata;
     ASSERT_EQ(StoreStatus_Success, index.Store(instanceMetadata, instance, attachments, "", metadata));
     ASSERT_EQ(2, instanceMetadata.size());
-    ASSERT_NE(instanceMetadata.end(), instanceMetadata.find(MetadataType_Instance_RemoteAet));
-    ASSERT_NE(instanceMetadata.end(), instanceMetadata.find(MetadataType_Instance_ReceptionDate));
+    ASSERT_TRUE(instanceMetadata.find(MetadataType_Instance_RemoteAet) != instanceMetadata.end());
+    ASSERT_TRUE(instanceMetadata.find(MetadataType_Instance_ReceptionDate) != instanceMetadata.end());
 
     DicomInstanceHasher hasher(instance);
     ids.push_back(hasher.HashPatient());