Mercurial > hg > orthanc
comparison UnitTestsSources/UnitTestsMain.cpp @ 2512:4dcafa8d6633
SystemToolbox::GenerateUuid moved to Toolbox::GenerateUuid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 15:20:50 +0200 |
parents | 83b8b6743531 |
children | 97a74f0eac7a |
comparison
equal
deleted
inserted
replaced
2511:8a0d3044ef53 | 2512:4dcafa8d6633 |
---|---|
52 | 52 |
53 TEST(Uuid, Generation) | 53 TEST(Uuid, Generation) |
54 { | 54 { |
55 for (int i = 0; i < 10; i++) | 55 for (int i = 0; i < 10; i++) |
56 { | 56 { |
57 std::string s = SystemToolbox::GenerateUuid(); | 57 std::string s = Toolbox::GenerateUuid(); |
58 ASSERT_TRUE(Toolbox::IsUuid(s)); | 58 ASSERT_TRUE(Toolbox::IsUuid(s)); |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 TEST(Uuid, Test) | 62 TEST(Uuid, Test) |