comparison UnitTestsSources/ServerIndexTests.cpp @ 1764:9ead18ef460a

escape
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2015 16:08:59 +0100
parents ca69082ab200
children 9ed9458aa44f
comparison
equal deleted inserted replaced
1763:f7014cca73c7 1764:9ead18ef460a
826 ASSERT_THROW(Toolbox::GetFileSize(path + "/index"), OrthancException); 826 ASSERT_THROW(Toolbox::GetFileSize(path + "/index"), OrthancException);
827 827
828 context.Stop(); 828 context.Stop();
829 db.Close(); 829 db.Close();
830 } 830 }
831
832
833 TEST(LookupIdentifierQuery, NormalizeIdentifier)
834 {
835 ASSERT_EQ("H^L.LO", LookupIdentifierQuery::NormalizeIdentifier(" Hé^l.LO %_ "));
836 ASSERT_EQ("1.2.840.113619.2.176.2025", LookupIdentifierQuery::NormalizeIdentifier(" 1.2.840.113619.2.176.2025 "));
837 }