~mandel/ubuntu-download-manager/wily-add-appid-metadata

« back to all changes in this revision

Viewing changes to tests/downloads/daemon/test_group_download.h

  • Committer: CI bot
  • Author(s): Manuel de la Pena, Manuel de la Peña
  • Date: 2014-11-26 12:56:56 UTC
  • mfrom: (330.1.17 adapt-network-changes)
  • Revision ID: ps-jenkins@lists.canonical.com-20141126125656-ixnxtea9a4h5eo6p
Ensure that the download manager does track network changes correctly. Fixes: #1235138, #1390205
Approved by: Barry Warsaw, PS Jenkins bot, Manuel de la Peña

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <ubuntu/downloads/group_download.h>
25
25
#include <process_factory.h>
26
26
#include <request_factory.h>
27
 
#include <system_network_info.h>
 
27
#include <network_session.h>
28
28
 
29
29
#include "base_testcase.h"
30
30
#include "factory.h"
97
97
    bool _isGSMDownloadAllowed;
98
98
    QVariantMap _metadata;
99
99
    QMap<QString, QString> _headers;
100
 
    MockSystemNetworkInfo* _networkInfo;
 
100
    MockNetworkSession* _networkSession;
101
101
    MockDownloadFactory* _factory;
102
102
    MockFileManager* _fileManager;
103
103
};