Home
last modified time | relevance | path

Searched refs:MockTransaction (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/http/
Dhttp_transaction_unittest.h51 struct MockTransaction { struct
68 extern const MockTransaction kSimpleGET_Transaction; argument
69 extern const MockTransaction kSimplePOST_Transaction;
70 extern const MockTransaction kTypicalGET_Transaction;
71 extern const MockTransaction kETagGET_Transaction;
72 extern const MockTransaction kRangeGET_Transaction;
75 const MockTransaction* FindMockTransaction(const GURL& url);
79 void AddMockTransaction(const MockTransaction* trans);
80 void RemoveMockTransaction(const MockTransaction* trans);
82 struct ScopedMockTransaction : MockTransaction {
[all …]
Dhttp_transaction_unittest.cc21 typedef base::hash_map<std::string, const MockTransaction*> MockTransactionMap;
28 const MockTransaction kSimpleGET_Transaction = {
43 const MockTransaction kSimplePOST_Transaction = {
58 const MockTransaction kTypicalGET_Transaction = {
74 const MockTransaction kETagGET_Transaction = {
90 const MockTransaction kRangeGET_Transaction = {
105 static const MockTransaction* const kBuiltinMockTransactions[] = {
113 const MockTransaction* FindMockTransaction(const GURL& url) { in FindMockTransaction()
127 void AddMockTransaction(const MockTransaction* trans) { in AddMockTransaction()
131 void RemoveMockTransaction(const MockTransaction* trans) { in RemoveMockTransaction()
[all …]
Dhttp_cache_unittest.cc49 const MockTransaction* t = FindMockTransaction(url); in GetTestModeForEntry()
709 const MockTransaction& trans_info) { in ReadAndVerifyTransaction()
719 const MockTransaction& trans_info, in RunTransactionTestWithRequestAndLog()
747 const MockTransaction& trans_info, in RunTransactionTestWithRequest()
755 const MockTransaction& trans_info, in RunTransactionTestWithLog()
762 const MockTransaction& trans_info) { in RunTransactionTest()
767 const MockTransaction& trans_info, in RunTransactionTestWithResponseInfo()
774 const MockTransaction& trans_info, in RunTransactionTestWithResponse()
806 const MockTransaction kFastNoStoreGET_Transaction = {
943 const MockTransaction kRangeGET_TransactionOK = {
[all …]