~ubuntu-branches/ubuntu/utopic/kde4libs/utopic

« back to all changes in this revision

Viewing changes to kioslave/http/tests/httpobjecttest.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-05-13 15:42:30 UTC
  • mfrom: (1.14.17)
  • Revision ID: package-import@ubuntu.com-20120513154230-2xv2bsi52w6x5lue
Tags: 4:4.8.3-0ubuntu1
* New upstream release
  - Drop kubuntu_fix_nepomuk_utils_crash.diff, applied upstream
  - Add new symbols to libkdecore5.symbols and libkdewebkit5.symbols
  - Update kdelibs5-dev.install and kdelibs5-experimental-dev.install
  - update symbol files for gcc 4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the KDE libraries
 
2
    Copyright (c) 2012 Rolf Eike Beer <kde@opensource.sf-tec.de>
 
3
 
 
4
    This library is free software; you can redistribute it and/or
 
5
    modify it under the terms of the GNU Library General Public
 
6
    License as published by the Free Software Foundation; either
 
7
    version 2 of the License, or (at your option) any later version.
 
8
 
 
9
    This library is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
    Library General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU Library General Public License
 
15
    along with this library; see the file COPYING.LIB.  If not, write to
 
16
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
17
    Boston, MA 02110-1301, USA.
 
18
*/
 
19
 
 
20
#ifndef HTTPOBJECTTEST_H
 
21
#define HTTPOBJECTTEST_H
 
22
 
 
23
#include <QtCore/QObject>
 
24
#include <http.h>
 
25
 
 
26
class HeaderObjectTest : public QObject
 
27
{
 
28
    Q_OBJECT
 
29
private Q_SLOTS:
 
30
    void runAllTests();
 
31
};
 
32
 
 
33
class TestHTTPProtocol : public HTTPProtocol
 
34
{
 
35
  Q_OBJECT
 
36
public:
 
37
  TestHTTPProtocol( const QByteArray &protocol, const QByteArray &pool,
 
38
                const QByteArray &app );
 
39
  virtual ~TestHTTPProtocol();
 
40
 
 
41
  void testParseContentDisposition(const QString &disposition);
 
42
};
 
43
 
 
44
#endif //HTTPOBJECTTEST_H