Lines Matching refs:AttachmentDownloaderImplTest
136 class AttachmentDownloaderImplTest : public testing::Test {
141 AttachmentDownloaderImplTest() : num_completed_downloads_(0) {}
154 return base::Bind(&AttachmentDownloaderImplTest::DownloadDone,
180 void AttachmentDownloaderImplTest::SetUp() {
199 void AttachmentDownloaderImplTest::TearDown() {
203 void AttachmentDownloaderImplTest::CompleteDownload(int response_code) {
222 void AttachmentDownloaderImplTest::DownloadDone(
242 void AttachmentDownloaderImplTest::VerifyDownloadResult(
250 void AttachmentDownloaderImplTest::RunMessageLoop() {
255 TEST_F(AttachmentDownloaderImplTest, HappyCase) {
270 TEST_F(AttachmentDownloaderImplTest, SameIdMultipleDownloads) {
304 TEST_F(AttachmentDownloaderImplTest, RequestAccessTokenFails) {
328 TEST_F(AttachmentDownloaderImplTest, URLFetcher_BadToken) {
343 TEST_F(AttachmentDownloaderImplTest, URLFetcher_ServiceUnavailable) {