comparison OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp @ 5361:1e3e7c61640b

fix for wasm
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Jul 2023 15:54:57 +0200
parents 5b2a5cc64cb1
children 54b717b1d27e
comparison
equal deleted inserted replaced
5360:165b67c02927 5361:1e3e7c61640b
3477 ASSERT_EQ(ValueRepresentation_OtherWord, dicom.GuessPixelDataValueRepresentation()); 3477 ASSERT_EQ(ValueRepresentation_OtherWord, dicom.GuessPixelDataValueRepresentation());
3478 } 3478 }
3479 } 3479 }
3480 3480
3481 3481
3482 #if ORTHANC_SANDBOXED != 1
3482 TEST(ParsedDicomFile, DISABLED_InjectEmptyPixelData2) 3483 TEST(ParsedDicomFile, DISABLED_InjectEmptyPixelData2)
3483 { 3484 {
3484 static const char* PIXEL_DATA = "7FE00010"; 3485 static const char* PIXEL_DATA = "7FE00010";
3485 3486
3486 for (int i = 0; i <= DicomTransferSyntax_XML; i++) 3487 for (int i = 0; i <= DicomTransferSyntax_XML; i++)
3524 ASSERT_EQ("OW", visitor.GetResult() [PIXEL_DATA]["vr"].asString()); 3525 ASSERT_EQ("OW", visitor.GetResult() [PIXEL_DATA]["vr"].asString());
3525 } 3526 }
3526 } 3527 }
3527 } 3528 }
3528 } 3529 }
3529 3530 #endif
3530 3531
3531 3532
3532 3533
3533 #if ORTHANC_ENABLE_DCMTK_TRANSCODING == 1 3534 #if ORTHANC_ENABLE_DCMTK_TRANSCODING == 1
3534 3535