Mercurial > hg > orthanc
diff OrthancFramework/UnitTestsSources/JobsTests.cpp @ 4457:789676a8c96a
Refactoring and improvements to the cache of DICOM files in ServerContext
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 Jan 2021 19:05:04 +0100 |
parents | f4dbdb2dcba6 |
children | 522e13a60cfc |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/JobsTests.cpp Tue Jan 19 16:11:23 2021 +0100 +++ b/OrthancFramework/UnitTestsSources/JobsTests.cpp Tue Jan 19 19:05:04 2021 +0100 @@ -1442,7 +1442,7 @@ a.SerializeJob(v); ASSERT_EQ(Json::objectValue, v.type()); ASSERT_EQ("ORTHANC", v["LocalAet"].asString()); - ASSERT_EQ(DicomAssociationParameters::GetDefaultTimeout(), v["Timeout"].asInt()); + ASSERT_EQ(DicomAssociationParameters::GetDefaultTimeout(), v["Timeout"].asUInt()); ASSERT_TRUE(v.isMember("Remote")); ASSERT_TRUE(v.isMember("MaximumPduLength")); @@ -1489,6 +1489,6 @@ ASSERT_EQ("key", b.GetOwnPrivateKeyPath()); ASSERT_EQ("crt", b.GetOwnCertificatePath()); ASSERT_EQ("trusted", b.GetTrustedCertificatesPath()); - ASSERT_EQ(131072, b.GetMaximumPduLength()); + ASSERT_EQ(131072u, b.GetMaximumPduLength()); } }