Test buffer

This commit is contained in:
Victor Zverovich committed 2014-10-01 08:12:10 -07:00
1 parent 74dc571ba0
commit 8b9a6e03f6
3 files changed
+108 -80

No files matched your search

+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));