comparison UnitTestsSources/UnitTestsMain.cpp @ 2352:3ab96768d144

Fix issue #52 (DICOM level security association problems)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Jul 2017 17:33:26 +0200
parents ae6245053bcf
children ae50eccd41b7
comparison
equal deleted inserted replaced
2351:56504f89d4ac 2352:3ab96768d144
526 ASSERT_EQ(2047, StringToMetadata("2047")); 526 ASSERT_EQ(2047, StringToMetadata("2047"));
527 ASSERT_EQ(2047, StringToMetadata("Ceci est un test")); 527 ASSERT_EQ(2047, StringToMetadata("Ceci est un test"));
528 528
529 ASSERT_STREQ("Generic", EnumerationToString(StringToModalityManufacturer("Generic"))); 529 ASSERT_STREQ("Generic", EnumerationToString(StringToModalityManufacturer("Generic")));
530 ASSERT_STREQ("GenericNoWildcardInDates", EnumerationToString(StringToModalityManufacturer("GenericNoWildcardInDates"))); 530 ASSERT_STREQ("GenericNoWildcardInDates", EnumerationToString(StringToModalityManufacturer("GenericNoWildcardInDates")));
531 ASSERT_STREQ("GenericNoWildcards", EnumerationToString(StringToModalityManufacturer("GenericNoWildcards"))); 531 ASSERT_STREQ("GenericNoUniversalWildcard", EnumerationToString(StringToModalityManufacturer("GenericNoUniversalWildcard")));
532 ASSERT_STREQ("StoreScp", EnumerationToString(StringToModalityManufacturer("StoreScp"))); 532 ASSERT_STREQ("StoreScp", EnumerationToString(StringToModalityManufacturer("StoreScp")));
533 ASSERT_STREQ("ClearCanvas", EnumerationToString(StringToModalityManufacturer("ClearCanvas"))); 533 ASSERT_STREQ("ClearCanvas", EnumerationToString(StringToModalityManufacturer("ClearCanvas")));
534 ASSERT_STREQ("Dcm4Chee", EnumerationToString(StringToModalityManufacturer("Dcm4Chee"))); 534 ASSERT_STREQ("Dcm4Chee", EnumerationToString(StringToModalityManufacturer("Dcm4Chee")));
535 ASSERT_STREQ("Vitrea", EnumerationToString(StringToModalityManufacturer("Vitrea"))); 535 ASSERT_STREQ("Vitrea", EnumerationToString(StringToModalityManufacturer("Vitrea")));
536 // backward compatibility tests (to remove once we make these manufacturer really obsolete) 536 // backward compatibility tests (to remove once we make these manufacturer really obsolete)