]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/CapturingStoreEntry.h
1 #ifndef SQUID_TESTS_CAPTURINGSTORE_ENTRY_H
2 #define SQUID_TESTS_CAPTURINGSTORE_ENTRY_H
7 /* class that captures various call data for test analysis */
9 class CapturingStoreEntry
: public StoreEntry
13 MEMPROXY_CLASS(CapturingStoreEntry
);
15 CapturingStoreEntry() : _buffer_calls(0), _flush_calls(0) {}
17 String _appended_text
;
31 virtual void append(char const * buf
, int len
)
33 _appended_text
.append(buf
, len
);
37 MEMPROXY_CLASS_INLINE(CapturingStoreEntry
);