~ubuntu-branches/ubuntu/saucy/kate/saucy

« back to all changes in this revision

Viewing changes to part/tests/scriptdocument_test.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Rohan Garg, Jonathan Riddell
  • Date: 2013-06-21 00:48:29 UTC
  • mfrom: (1.1.28)
  • Revision ID: package-import@ubuntu.com-20130621004829-y2ui02eg0j47h94y
Tags: 4:4.10.80-0ubuntu1
[ Rohan Garg ]
* New upstream release
  - Update and sort install files
  - Drop kubuntu_pate_find_python.diff, kubuntu_kate_initial_preference.patch,
    kubuntu_find_python.diff from debian/patches , not required

[ Jonathan Riddell ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of the KDE libraries
2
 
   Copyright (C) 2010 Bernhard Beschow <bbeschow@cs.tu-berlin.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 KATE_SCRIPTDOCUMENT_TEST_H
21
 
#define KATE_SCRIPTDOCUMENT_TEST_H
22
 
 
23
 
#include <QtCore/QObject>
24
 
 
25
 
namespace KTextEditor {
26
 
  class View;
27
 
}
28
 
 
29
 
class KateDocument;
30
 
class KateScriptDocument;
31
 
 
32
 
class ScriptDocumentTest : public QObject
33
 
{
34
 
  Q_OBJECT
35
 
 
36
 
  public:
37
 
    ScriptDocumentTest();
38
 
    virtual ~ScriptDocumentTest();
39
 
 
40
 
  private Q_SLOTS:
41
 
    void initTestCase();
42
 
    void cleanupTestCase();
43
 
 
44
 
    void init();
45
 
    void cleanup();
46
 
 
47
 
    void testRfind_data();
48
 
    void testRfind();
49
 
 
50
 
  private:
51
 
    KateDocument *m_doc;
52
 
    KTextEditor::View *m_view;
53
 
    KateScriptDocument *m_scriptDoc;
54
 
 
55
 
  public:
56
 
    static QtMsgHandler s_msgHandler;
57
 
};
58
 
 
59
 
#endif