Test buffer

This commit is contained in:
Victor Zverovich
2014-10-01 08:12:10 -07:00
parent 74dc571ba0
commit 8b9a6e03f6
3 changed files with 108 additions and 80 deletions
+2
View File
@@ -33,6 +33,8 @@
template <typename T>
class MockAllocator {
public:
MockAllocator() {}
MockAllocator(const MockAllocator &) {}
typedef T value_type;
MOCK_METHOD1_T(allocate, T* (std::size_t n));
MOCK_METHOD2_T(deallocate, void (T* p, std::size_t n));