~ubuntu-branches/ubuntu/saucy/ubuntu-download-manager/saucy-proposed

« back to all changes in this revision

Viewing changes to ubuntu-download-manager-tests/test_download.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Manuel de la Pena, Ubuntu daily release
  • Date: 2013-09-26 18:03:25 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20130926180325-dx5i1hmu9w8rt3ci
Tags: 0.2+13.10.20130926.2-0ubuntu1
[ Manuel de la Pena ]
* Return error if the url is ill formed. (LP: #1228245)
* Return DBus error when the hash method is not known. (LP: #1228246)

[ Ubuntu daily release ]
* Automatic snapshot from revision 138

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    void testSslErrorsIgnored();
124
124
    void testSslErrorsNotIgnored();
125
125
 
 
126
    // isValid tests
 
127
    void testInvalidUrl();
 
128
    void testValidUrl();
 
129
    void testInvalidHashAlgorithm();
 
130
    void testValidHashAlgorithm_data();
 
131
    void testValidHashAlgorithm();
 
132
 
126
133
 private:
127
134
    bool removeDir(const QString& dirName);
128
135
 
135
142
    QMap<QString, QString> _headers;
136
143
    QString _path;
137
144
    QUrl _url;
138
 
    QCryptographicHash::Algorithm _algo;
 
145
    QString _algo;
139
146
    FakeSystemNetworkInfo* _networkInfo;
140
147
    FakeRequestFactory* _reqFactory;
141
148
    FakeProcessFactory* _processFactory;