Click here to Skip to main content
15,881,881 members
Articles / Desktop Programming / ATL

Test Runner Application

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
2 Nov 2005 105.9K   1.7K   27  
A framework for performing unit tests.
// 
// 
//                         MALLINCKRODT 
//         Copyright(c) 1999 All Rights Reserved 
// 
// File:
//    cvResultsView.h 
// 
// Description:
//    Declares cvCResultsView - used to display test results
// 
// $Log: 
//  3    CliniVision1.2         11/16/99 5:01:47 PM  Doug C. Eveland Added DocJet
//       group comment
//  2    CliniVision1.1         11/11/99 10:26:28 AM Doug C. Eveland Added class
//       header
//  1    CliniVision1.0         11/9/99 11:22:51 AM  Doug C. Eveland 
// $
// $Revision: 3$
// $Date: 11/16/99 5:01:47 PM$
// $Author: Doug C. Eveland$
// 
#pragma once

// {group:View Classes}
// 
// Description:
// 	Used to display the results from a test run
// 
// Author:
// 	Doug Eveland
// 
class cvCResultsView : public CListView
{
protected:
	cvCResultsView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(cvCResultsView)

// Attributes
public:

// Operations
public:
	void Log(LPCTSTR szMessage);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(cvCResultsView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~cvCResultsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(cvCResultsView)
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnClearResults();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP();

private:

};

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions