-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathUnittestDoc.h
62 lines (51 loc) · 1.56 KB
/
UnittestDoc.h
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* UnittestDoc.h : interface of the CUnittestDoc class
Copyright (c) 1987-2019 Advanced Systems for Power Engineering, Inc. (ASPEN).
All rights reserved.
*/
#pragma once
class CUnittestDoc : public CDocument
{
protected: // create from serialization only
CUnittestDoc();
DECLARE_DYNCREATE(CUnittestDoc)
// Attributes
public:
// Operations
public:
// Overrides
public:
virtual BOOL OnNewDocument();
virtual BOOL OnOpenDocument( LPCTSTR lpszPathName );
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent();
virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
#endif // SHARED_HANDLERS
// Implementation
public:
virtual ~CUnittestDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
BOOL m_nFileOpen; // 0-No; 1-ReadWrite; 2-Readonly;
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
#ifdef SHARED_HANDLERS
// Helper function that sets search content for a Search Handler
void SetSearchContent(const CString& value);
#endif // SHARED_HANDLERS
public:
afx_msg void OnTestDataAccess();
afx_msg void OnUpdateTestDataAccess( CCmdUI *pCmdUI );
afx_msg void OnTestFaultSimulation();
afx_msg void OnUpdateTestFaultSimulation( CCmdUI *pCmdUI );
afx_msg void OnUpdateTestDiffandMerge( CCmdUI *pCmdUI );
afx_msg void OnTestDiffandMerge();
afx_msg void OnTestRun1lPFCmd();
afx_msg void OnUpdateTestRun1LPFCmd( CCmdUI *pCmdUI );
afx_msg void OnTestApiCall();
afx_msg void OnUpdateTestApiCall( CCmdUI *pCmdUI );
};