Mercurial > hg > orthanc
comparison OrthancFramework/UnitTestsSources/MemoryCacheTests.cpp @ 4062:0953b3dc3261 framework
pretty-printing
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Jun 2020 14:38:31 +0200 |
parents | e241e5f3f088 |
children | e00f3d089991 |
comparison
equal
deleted
inserted
replaced
4061:496e07123e37 | 4062:0953b3dc3261 |
---|---|
33 | 33 |
34 #if ORTHANC_UNIT_TESTS_LINK_FRAMEWORK == 1 | 34 #if ORTHANC_UNIT_TESTS_LINK_FRAMEWORK == 1 |
35 # include <OrthancFramework.h> | 35 # include <OrthancFramework.h> |
36 #endif | 36 #endif |
37 | 37 |
38 #include "gtest/gtest.h" | 38 #include <gtest/gtest.h> |
39 | |
40 #include <memory> | |
41 #include <algorithm> | |
42 #include <boost/thread.hpp> | |
43 #include <boost/lexical_cast.hpp> | |
44 | 39 |
45 #include "../Sources/Cache/MemoryCache.h" | 40 #include "../Sources/Cache/MemoryCache.h" |
46 #include "../Sources/Cache/MemoryStringCache.h" | 41 #include "../Sources/Cache/MemoryStringCache.h" |
47 #include "../Sources/Cache/SharedArchive.h" | 42 #include "../Sources/Cache/SharedArchive.h" |
48 #include "../Sources/IDynamicObject.h" | 43 #include "../Sources/IDynamicObject.h" |
49 #include "../Sources/Logging.h" | 44 #include "../Sources/Logging.h" |
45 | |
46 #include <memory> | |
47 #include <algorithm> | |
48 #include <boost/thread.hpp> | |
49 #include <boost/lexical_cast.hpp> | |
50 | 50 |
51 | 51 |
52 TEST(LRU, Basic) | 52 TEST(LRU, Basic) |
53 { | 53 { |
54 Orthanc::LeastRecentlyUsedIndex<std::string> r; | 54 Orthanc::LeastRecentlyUsedIndex<std::string> r; |