summaryrefslogtreecommitdiff
path: root/cad/plugins/NanoVision-1/src/Interface/NXGraphicsManagerTest.h
blob: ac77dc82052fd0806705f6b46d79d12a9376e3d0 (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
42
// Copyright 2008 Nanorex, Inc.  See LICENSE file for details.

#ifndef NX_GRAPHICSMANAGERTEST_H
#define NX_GRAPHICSMANAGERTEST_H

#include <string>

#include <QtGui>
#include <QtTest/QtTest>

#include "Nanorex/Interface/NXGraphicsManager.h"

using namespace Nanorex;
using namespace OpenBabel;

class NXGraphicsManagerTest : public QObject {

	Q_OBJECT;
	
public:
	NXGraphicsManagerTest();
	virtual ~NXGraphicsManagerTest() {}
	
private:
	string propertiesFileName;
	NXProperties properties;
	NXGraphicsManager graphicsManager;
	NXLogger *logger;
	
	void setUpPropertiesFile(std::string const& filename);

private slots:
	
	void initTestCase(void);
	void cleanupTestCase(void);
	
	void loadPluginsTest(void);
	
};


#endif // NX_GRAPHICSMANAGERTEST_H