mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpdetailssharedialog/inc/unittest_mpdetailssharedialog.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Unit test for mpdetailssharedialog |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef UNITTEST_MPDETAILSSHAREDIALOG_H_ |
|
19 #define UNITTEST_MPDETAILSSHAREDIALOG_H_ |
|
20 |
|
21 #include <QtTest/QtTest> |
|
22 |
|
23 class MpDetailsShareDialog; |
|
24 class MpSongData; |
|
25 |
|
26 class TestMpDetailsShareDialog : public QObject |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 |
|
32 TestMpDetailsShareDialog(); |
|
33 virtual ~TestMpDetailsShareDialog(); |
|
34 |
|
35 signals: |
|
36 |
|
37 public slots: |
|
38 void initTestCase(); |
|
39 void cleanupTestCase(); |
|
40 void init(); |
|
41 void cleanup(); |
|
42 |
|
43 private slots: |
|
44 void testIndexLoadOk(); |
|
45 void testConstruction(); |
|
46 |
|
47 private: |
|
48 MpDetailsShareDialog *mTest; |
|
49 MpSongData* mSongData; |
|
50 |
|
51 }; |
|
52 |
|
53 |
|
54 #endif /* UNITTEST_MPDETAILSSHAREDIALOG_H_ */ |