~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to tests/cameranamehelpertest.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2009-08-01
 
7
 * Description : a test for the CameraNameHelper
 
8
 *
 
9
 * Copyright (C) 2009 by Andi Clemens <andi dot clemens at gmx dot net>
 
10
 *
 
11
 * This program is free software; you can redistribute it
 
12
 * and/or modify it under the terms of the GNU General
 
13
 * Public License as published by the Free Software Foundation;
 
14
 * either version 2, or (at your option)
 
15
 * any later version.
 
16
 *
 
17
 * This program is distributed in the hope that it will be useful,
 
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 * GNU General Public License for more details.
 
21
 *
 
22
 * ============================================================ */
 
23
 
 
24
#ifndef CAMERANAMEHELPERTEST_H
 
25
#define CAMERANAMEHELPERTEST_H
 
26
 
 
27
// Qt includes
 
28
 
 
29
#include <QtCore/QObject>
 
30
 
 
31
class CameraNameHelperTest : public QObject
 
32
{
 
33
    Q_OBJECT
 
34
 
 
35
private Q_SLOTS:
 
36
 
 
37
    void testCameraNameFromGPCamera();
 
38
 
 
39
    void testStaticCreateName();
 
40
    void testStaticCreateName_data();
 
41
 
 
42
    void testForSameDevices();
 
43
    void testForSameDevices_data();
 
44
 
 
45
};
 
46
 
 
47
#endif /* CAMERANAMEHELPERTEST_H */