Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / MFC

Unit Test's Reporter

Rate me:
Please Sign up or sign in to vote.
4.86/5 (28 votes)
19 Feb 2006CPOL11 min read 64.6K   2.8K   58  
The article describes an application built to visualise testing processes for the unit test framework of CppUnitLite.
#ifndef	_INTERFACE__H
#define	_INTERFACE__H

#ifndef	TEST_OBJECT
#define	TEST_OBJECT		void*	//LPVOID
#endif

#ifndef	TEST_SESSION
#define	TEST_SESSION	void*	//LPVOID
#endif

#ifndef	null
#define	null	0
#endif

#ifndef OBJECT_TYPE
#define	OBJECT_TYPE

enum ObjectType
{
	Application	= 0,
	Test		= 1,
	Macro		= 2
};

#endif

#ifndef	WITHOUT_WINDOWS_DEFINITIONS
TEST_SESSION	StartSession	(CTreeCtrl*	pTreeCtrl);
#endif
TEST_OBJECT		InsertObject	(TEST_SESSION session, TEST_OBJECT parent, char* name, char* image, ObjectType type);
bool			UpdateObject	(TEST_OBJECT object, char* name, char* image, char* entity);
bool			DestroyObject	(TEST_OBJECT object);
bool			FinalSession	(TEST_SESSION* session);

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Israel Israel
MSc in System Engineering from Tallinn Technical University, Estonia. Currently, I work in a hitech enterprise in Israel.

Comments and Discussions