Mercurial > hg > orthanc
comparison UnitTestsSources/UnitTestsMain.cpp @ 2172:84d1d392a9ab
GenerateUuid() not available in sandboxed environments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 12:06:00 +0100 |
parents | 5a8840920121 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2171:35febe19e874 | 2172:84d1d392a9ab |
---|---|
51 | 51 |
52 TEST(Uuid, Generation) | 52 TEST(Uuid, Generation) |
53 { | 53 { |
54 for (int i = 0; i < 10; i++) | 54 for (int i = 0; i < 10; i++) |
55 { | 55 { |
56 std::string s = Toolbox::GenerateUuid(); | 56 std::string s = SystemToolbox::GenerateUuid(); |
57 ASSERT_TRUE(Toolbox::IsUuid(s)); | 57 ASSERT_TRUE(Toolbox::IsUuid(s)); |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 TEST(Uuid, Test) | 61 TEST(Uuid, Test) |