summaryrefslogtreecommitdiff
path: root/tests/test-resource.h
blob: e55e2affafb90e92ed853ecea4c34b49d7bf3a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef TEST_RESOURCE_H
#define TEST_RESOURCE_H

#include <QtTest/QTest>
#include "resource.h"

class TestResource: public QObject
{
   Q_OBJECT
private:
   Resource *resource;

public:
   TestResource();
   ~TestResource();


private slots:

   void init();
   void cleanup();

   void testType_data();
   void testType();
   
   void testOptional_data();
   void testOptional();

   void testShared_data();
   void testShared();

   void testIdentifier_data();
   void testIdentifier();

   void testCopy();
   void testCopyConstructor();

   void testEqualsOperator();
};

#endif