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

#ifndef NX_ENTITYMANAGERTEST_H
#define NX_ENTITYMANAGERTEST_H

#include <string>

#include <cppunit/extensions/HelperMacros.h>

#include "Nanorex/Interface/NXEntityManager.h"

using namespace Nanorex;
using namespace OpenBabel;


/* CLASS: NXEntityManagerTest */
class NXEntityManagerTest : public CPPUNIT_NS::TestFixture {

	CPPUNIT_TEST_SUITE(NXEntityManagerTest);
	CPPUNIT_TEST(moleculeSetTraversalTest);
	CPPUNIT_TEST(moleculeTraversalTest);
	//CPPUNIT_TEST(atomTraversalTest1);
	CPPUNIT_TEST(atomTraversalTest2);
	CPPUNIT_TEST_SUITE_END();

	public:
		void setUp();
		void tearDown();

		void moleculeSetTraversalTest();
		void moleculeTraversalTest();
		//void atomTraversalTest1();
		void atomTraversalTest2();

	private:
		NXEntityManager* entityManager;
		
		//std::string atomTraversalTest1Helper(NXMoleculeSet* moleculeSet);
};

#endif