summaryrefslogtreecommitdiff
path: root/tests/ACE_Init_Test.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-19 20:25:08 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-19 20:25:08 +0000
commitdd943da4134bcfe7f50b6923842fe96094170169 (patch)
tree52b03ec598638ec838bff06992fd09c542521442 /tests/ACE_Init_Test.cpp
parent3fae0b0d39822b17d21304a66cfc7a6b39a90e1a (diff)
downloadATCD-dd943da4134bcfe7f50b6923842fe96094170169.tar.gz
ChangeLogTag:Thu Oct 19 13:17:41 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'tests/ACE_Init_Test.cpp')
-rw-r--r--tests/ACE_Init_Test.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ACE_Init_Test.cpp b/tests/ACE_Init_Test.cpp
index 77a041fd58e..5284915e7f3 100644
--- a/tests/ACE_Init_Test.cpp
+++ b/tests/ACE_Init_Test.cpp
@@ -14,10 +14,12 @@
//
// ACE_Init_Test.cpp : Defines the class behaviors for the application.
-#include "ace/Thread_Manager.h"
#include "ACE_Init_Test_StdAfx.h"
#include "ACE_Init_Test.h"
#include "ACE_Init_TestDlg.h"
+#include "test_config.h"
+#include "ace/Thread_Manager.h"
+
#ifdef _DEBUG
#define new DEBUG_NEW
@@ -57,12 +59,13 @@ CACE_Init_TestApp theApp;
BOOL CACE_Init_TestApp::InitInstance()
{
-
// This is needed because there's no overridden main(int, char *[])
// which would normally handle the initialization. Also see the
// corresponding ACE::fini, below.
ACE::init();
+ ACE_START_TEST (ACE_TEXT ("ACE_Init_Test"));
+
CACE_Init_TestDlg dlg;
m_pMainWnd = &dlg;
ACE_Thread_Manager::instance()->spawn (wait_and_kill_dialog,
@@ -81,6 +84,8 @@ BOOL CACE_Init_TestApp::InitInstance()
ACE_Thread_Manager::instance()->wait();
+ ACE_END_TEST;
+
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
ACE::fini();