Home
last modified time | relevance | path

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

/external/chromium/net/http/
Dhttp_transaction_unittest.cc22 const MockTransaction kSimpleGET_Transaction = {
37 const MockTransaction kSimplePOST_Transaction = {
52 const MockTransaction kTypicalGET_Transaction = {
68 const MockTransaction kETagGET_Transaction = {
84 const MockTransaction kRangeGET_Transaction = {
99 static const MockTransaction* const kBuiltinMockTransactions[] = {
107 typedef base::hash_map<std::string, const MockTransaction*>
111 void AddMockTransaction(const MockTransaction* trans) { in AddMockTransaction()
115 void RemoveMockTransaction(const MockTransaction* trans) { in RemoveMockTransaction()
119 const MockTransaction* FindMockTransaction(const GURL& url) { in FindMockTransaction()
Dhttp_transaction_unittest.h47 struct MockTransaction { struct
64 extern const MockTransaction kSimpleGET_Transaction; argument
65 extern const MockTransaction kSimplePOST_Transaction;
66 extern const MockTransaction kTypicalGET_Transaction;
67 extern const MockTransaction kETagGET_Transaction;
68 extern const MockTransaction kRangeGET_Transaction;
71 const MockTransaction* FindMockTransaction(const GURL& url);
75 void AddMockTransaction(const MockTransaction* trans);
76 void RemoveMockTransaction(const MockTransaction* trans);
78 struct ScopedMockTransaction : MockTransaction {
[all …]
Dhttp_cache_unittest.cc45 const MockTransaction* t = FindMockTransaction(url); in GetTestModeForEntry()
559 const MockTransaction& trans_info) { in ReadAndVerifyTransaction()
569 const MockTransaction& trans_info, in RunTransactionTestWithRequestAndLog()
597 const MockTransaction& trans_info, in RunTransactionTestWithRequest()
605 const MockTransaction& trans_info, in RunTransactionTestWithLog()
612 const MockTransaction& trans_info) { in RunTransactionTest()
617 const MockTransaction& trans_info, in RunTransactionTestWithResponseInfo()
624 const MockTransaction& trans_info, in RunTransactionTestWithResponse()
656 const MockTransaction kFastNoStoreGET_Transaction = {
785 const MockTransaction kRangeGET_TransactionOK = {
[all …]