summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-22 23:04:53 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-08-22 23:04:53 +0000
commit9b0fd2e0d56403aa3a105e33ae474543d7e8e87a (patch)
tree23362b65b7355f747b816795dc870a0d2afa0615 /tests
parentd751b392181b3a593ee13f997fdee36491a6ae26 (diff)
downloadATCD-9b0fd2e0d56403aa3a105e33ae474543d7e8e87a.tar.gz
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile6
-rw-r--r--tests/Message_Queue_Notifications_Test.bpr (renamed from tests/MsgQueue_Notifications_Test.bpr)4
-rw-r--r--tests/Message_Queue_Notifications_Test.cpp (renamed from tests/MsgQueue_Notifications_Test.cpp)4
-rw-r--r--tests/Message_Queue_Notifications_Test.dsp (renamed from tests/MsgQueue_Notifications_Test.dsp)28
-rw-r--r--tests/Message_Queue__Notifications_Test.bpr177
-rw-r--r--tests/Message_Queue__Notifications_Test.cpp319
-rw-r--r--tests/Message_Queue__Notifications_Test.dsp226
-rw-r--r--tests/run_tests.bat2
-rwxr-xr-xtests/run_tests.psosim4
-rwxr-xr-xtests/run_tests.sh2
-rw-r--r--tests/run_tests.vxworks6
-rw-r--r--tests/tests.bpg4
-rw-r--r--tests/tests.dsw2
-rw-r--r--tests/tests.mak40
14 files changed, 773 insertions, 51 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0d1dacf6454..bcac0d89435 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -29,7 +29,7 @@ BIN = Aio_Platform_Test \
MT_SOCK_Test \
Message_Block_Test \
Message_Queue_Test \
- MsgQueue_Notifications_Test \
+ Message_Queue_Notifications_Test.cpp \
Naming_Test \
Notify_Performance_Test \
Process_Mutex_Test \
@@ -1099,8 +1099,8 @@ endif
$(ACE_ROOT)/ace/Synch_Options.h \
$(ACE_ROOT)/ace/Hash_Map_Manager.h \
$(ACE_ROOT)/ace/Message_Queue.i
-.obj/MsgQueue_Notifications_Test.o .obj/MsgQueue_Notifications_Test.so .shobj/MsgQueue_Notifications_Test.o .shobj/MsgQueue_Notifications_Test.so: \
- MsgQueue_Notifications_Test.cpp test_config.h \
+.obj/Message_Queue_Notifications_Test.cpp.o .obj/Message_Queue_Notifications_Test.cpp.so .shobj/Message_Queue_Notifications_Test.cpp.o .shobj/Message_Queue_Notifications_Test.cpp.so: \
+ Message_Queue_Notifications_Test.cpp.cpp test_config.h \
$(ACE_ROOT)/ace/OS.h \
$(ACE_ROOT)/ace/inc_user_config.h \
$(ACE_ROOT)/ace/config.h \
diff --git a/tests/MsgQueue_Notifications_Test.bpr b/tests/Message_Queue_Notifications_Test.bpr
index 7792b5e289d..d452a2a8667 100644
--- a/tests/MsgQueue_Notifications_Test.bpr
+++ b/tests/Message_Queue_Notifications_Test.bpr
@@ -13,8 +13,8 @@ BCB = $(MAKEDIR)\..
VERSION = BCB.03
# ---------------------------------------------------------------------------
-PROJECT = MsgQueue_Notifications_Test.exe
-OBJFILES = objs\MsgQueue_Notifications_Test.obj
+PROJECT = Message_Queue_Notifications_Test.cpp.exe
+OBJFILES = objs\Message_Queue_Notifications_Test.cpp.obj
RESFILES =
RESDEPEN = $(RESFILES)
LIBFILES = ..\ace\aced.lib
diff --git a/tests/MsgQueue_Notifications_Test.cpp b/tests/Message_Queue_Notifications_Test.cpp
index bf11e19246f..360d62ae9e5 100644
--- a/tests/MsgQueue_Notifications_Test.cpp
+++ b/tests/Message_Queue_Notifications_Test.cpp
@@ -39,7 +39,7 @@
#include "ace/Strategies.h"
#include "ace/Task.h"
-ACE_RCSID(tests, MsgQueue_Notifications_Test, "$Id$")
+ACE_RCSID(tests, Message_Queue_Notifications_Test.cpp, "$Id$")
#if defined(__BORLANDC__) && __BORLANDC__ >= 0x0530
USELIB("..\ace\aced.lib");
@@ -284,7 +284,7 @@ Watermark_Test::svc (void)
int
main (int, ASYS_TCHAR *[])
{
- ACE_START_TEST (ASYS_TEXT ("MsgQueue_Notifications_Test"));
+ ACE_START_TEST (ASYS_TEXT ("Message_Queue_Notifications_Test.cpp"));
ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Starting message queue reactive notification test...\n")));
ACE_Reactor reactor;
diff --git a/tests/MsgQueue_Notifications_Test.dsp b/tests/Message_Queue_Notifications_Test.dsp
index a2bc284b358..c072492b322 100644
--- a/tests/MsgQueue_Notifications_Test.dsp
+++ b/tests/Message_Queue_Notifications_Test.dsp
@@ -1,27 +1,27 @@
-# Microsoft Developer Studio Project File - Name="MsgQueue_Notifications_Test" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="Message_Queue_Notifications_Test.cpp" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603
-CFG=MsgQueue_Notifications_Test - Win32 Debug
+CFG=Message_Queue_Notifications_Test.cpp - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
-!MESSAGE NMAKE /f "MsgQueue_Notifications_Test.mak".
+!MESSAGE NMAKE /f "Message_Queue_Notifications_Test.cpp.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
-!MESSAGE NMAKE /f "MsgQueue_Notifications_Test.mak"\
- CFG="MsgQueue_Notifications_Test - Win32 Debug"
+!MESSAGE NMAKE /f "Message_Queue_Notifications_Test.cpp.mak"\
+ CFG="Message_Queue_Notifications_Test.cpp - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "MsgQueue_Notifications_Test - Win32 Debug" (based on\
+!MESSAGE "Message_Queue_Notifications_Test.cpp - Win32 Debug" (based on\
"Win32 (x86) Console Application")
-!MESSAGE "MsgQueue_Notifications_Test - Win32 Alpha Debug" (based on\
+!MESSAGE "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug" (based on\
"Win32 (ALPHA) Console Application")
!MESSAGE
@@ -29,7 +29,7 @@ CFG=MsgQueue_Notifications_Test - Win32 Debug
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
-!IF "$(CFG)" == "MsgQueue_Notifications_Test - Win32 Debug"
+!IF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -56,7 +56,7 @@ LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\ace"
-!ELSEIF "$(CFG)" == "MsgQueue_Notifications_Test - Win32 Alpha Debug"
+!ELSEIF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -88,18 +88,18 @@ LINK32=link.exe
# Begin Target
-# Name "MsgQueue_Notifications_Test - Win32 Debug"
-# Name "MsgQueue_Notifications_Test - Win32 Alpha Debug"
+# Name "Message_Queue_Notifications_Test.cpp - Win32 Debug"
+# Name "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
# Begin Source File
-SOURCE=.\MsgQueue_Notifications_Test.cpp
+SOURCE=.\Message_Queue_Notifications_Test.cpp.cpp
-!IF "$(CFG)" == "MsgQueue_Notifications_Test - Win32 Debug"
+!IF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Debug"
-!ELSEIF "$(CFG)" == "MsgQueue_Notifications_Test - Win32 Alpha Debug"
+!ELSEIF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
DEP_CPP_MESSA=\
"..\ace\ACE.h"\
diff --git a/tests/Message_Queue__Notifications_Test.bpr b/tests/Message_Queue__Notifications_Test.bpr
new file mode 100644
index 00000000000..d452a2a8667
--- /dev/null
+++ b/tests/Message_Queue__Notifications_Test.bpr
@@ -0,0 +1,177 @@
+# ---------------------------------------------------------------------------
+!if !$d(BCB)
+BCB = $(MAKEDIR)\..
+!endif
+
+# ---------------------------------------------------------------------------
+# IDE SECTION
+# ---------------------------------------------------------------------------
+# The following section of the project makefile is managed by the BCB IDE.
+# It is recommended to use the IDE to change any of the values in this
+# section.
+# ---------------------------------------------------------------------------
+
+VERSION = BCB.03
+# ---------------------------------------------------------------------------
+PROJECT = Message_Queue_Notifications_Test.cpp.exe
+OBJFILES = objs\Message_Queue_Notifications_Test.cpp.obj
+RESFILES =
+RESDEPEN = $(RESFILES)
+LIBFILES = ..\ace\aced.lib
+LIBRARIES =
+SPARELIBS =
+PACKAGES = VCLX35.bpi VCL35.bpi VCLDB35.bpi VCLDBX35.bpi bcbsmp35.bpi dclocx35.bpi \
+ QRPT35.bpi TEEUI35.bpi TEEDB35.bpi TEE35.bpi ibsmp35.bpi NMFAST35.bpi \
+ INETDB35.bpi INET35.bpi
+DEFFILE =
+# ---------------------------------------------------------------------------
+PATHCPP = .;
+PATHASM = .;
+PATHPAS = .;
+PATHRC = .;
+DEBUGLIBPATH = $(BCB)\lib\debug
+RELEASELIBPATH = $(BCB)\lib\release
+# ---------------------------------------------------------------------------
+CFLAG1 = -Od -r- -k -y -v -vi- -c -tWC
+CFLAG2 = -D_NO_VCL -I..;$(BCB)\include
+CFLAG3 = -w-rvl -Tkh30000
+PFLAGS = -D_NO_VCL -N2obj -N0obj -U$(BCB)\lib;$(DEBUGLIBPATH) \
+ -I..;$(BCB)\include -$Y -$W -$O- -v -JPHN -M
+RFLAGS = -D_NO_VCL -i..;$(BCB)\include
+AFLAGS = /i.. /i$(BCB)\include /d_NO_VCL /mx /w2 /zd
+LFLAGS = -L$(BCB)\lib;$(DEBUGLIBPATH) -ap -Tpe -x -Gn -v
+IFLAGS =
+# ---------------------------------------------------------------------------
+ALLOBJ = c0x32.obj $(OBJFILES)
+ALLRES = $(RESFILES)
+ALLLIB = $(LIBFILES) import32.lib cw32mt.lib
+# ---------------------------------------------------------------------------
+!ifdef IDEOPTIONS
+
+[Version Info]
+IncludeVerInfo=0
+AutoIncBuild=0
+MajorVer=1
+MinorVer=0
+Release=0
+Build=0
+Debug=0
+PreRelease=0
+Special=0
+Private=0
+DLL=0
+Locale=1033
+CodePage=1252
+
+[Version Info Keys]
+CompanyName=
+FileDescription=Executable (Console)
+FileVersion=1.0.0.0
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=1.0.0.0
+Comments=
+
+[HistoryLists\hlIncludePath]
+Count=2
+Item0=..;$(BCB)\include
+Item1=$(ACE_ROOT);$(BCB)\include
+
+[HistoryLists\hlLibraryPath]
+Count=1
+Item0=$(BCB)\lib
+
+[HistoryLists\hlConditionals]
+Count=1
+Item0=_NO_VCL
+
+[HistoryLists\hlIntOutputDir]
+Count=1
+Item0=obj
+
+[Debugging]
+DebugSourceDirs=
+
+[Parameters]
+RunParams=
+HostApplication=
+
+!endif
+
+# ---------------------------------------------------------------------------
+# MAKE SECTION
+# ---------------------------------------------------------------------------
+# This section of the project file is not used by the BCB IDE. It is for
+# the benefit of building from the command-line using the MAKE utility.
+# ---------------------------------------------------------------------------
+
+.autodepend
+# ---------------------------------------------------------------------------
+!if !$d(BCC32)
+BCC32 = bcc32
+!endif
+
+!if !$d(DCC32)
+DCC32 = dcc32
+!endif
+
+!if !$d(TASM32)
+TASM32 = tasm32
+!endif
+
+!if !$d(LINKER)
+LINKER = ilink32
+!endif
+
+!if !$d(BRCC32)
+BRCC32 = brcc32
+!endif
+# ---------------------------------------------------------------------------
+!if $d(PATHCPP)
+.PATH.CPP = $(PATHCPP)
+.PATH.C = $(PATHCPP)
+!endif
+
+!if $d(PATHPAS)
+.PATH.PAS = $(PATHPAS)
+!endif
+
+!if $d(PATHASM)
+.PATH.ASM = $(PATHASM)
+!endif
+
+!if $d(PATHRC)
+.PATH.RC = $(PATHRC)
+!endif
+# ---------------------------------------------------------------------------
+$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
+ $(BCB)\BIN\$(LINKER) @&&!
+ $(LFLAGS) +
+ $(ALLOBJ), +
+ $(PROJECT),, +
+ $(ALLLIB), +
+ $(DEFFILE), +
+ $(ALLRES)
+!
+# ---------------------------------------------------------------------------
+.pas.hpp:
+ $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
+
+.pas.obj:
+ $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
+
+.cpp.obj:
+ $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
+
+.c.obj:
+ $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
+
+.asm.obj:
+ $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
+
+.rc.res:
+ $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
+# ---------------------------------------------------------------------------
diff --git a/tests/Message_Queue__Notifications_Test.cpp b/tests/Message_Queue__Notifications_Test.cpp
new file mode 100644
index 00000000000..360d62ae9e5
--- /dev/null
+++ b/tests/Message_Queue__Notifications_Test.cpp
@@ -0,0 +1,319 @@
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// tests
+//
+// = FILENAME
+// MsgQueue_Notification_Test.cpp
+//
+// = DESCRIPTION
+// There are two tests that test 2 different notification mechanisms
+// in Message Queue.
+//
+// The first test illustrates the notification mechanisms in
+// Message_Queue and its integration with Reactor.
+//
+// Note the following things about this part of the test:
+//
+// 1. Multiple threads are not required.
+// 2. You do not have to explicitly notify the Reactor
+// 3. This code will work the same with any Reactor Implementation
+// 4. handle_input, handle_exception, handle_output are the only
+// callbacks supported by this mechanism
+// 5. The notification mechanism need not notify the Reactor. You can
+// write your own strategy classes that can do whatever application
+// specific behavior you want.
+//
+// The second test also makes sure the high/low water mark
+// signaling mechanism works flawlessly.
+//
+// = AUTHOR
+// Irfan Pyarali and Nanbor Wang.
+//
+// ============================================================================
+
+#include "test_config.h"
+#include "ace/Reactor.h"
+#include "ace/Strategies.h"
+#include "ace/Task.h"
+
+ACE_RCSID(tests, Message_Queue_Notifications_Test.cpp, "$Id$")
+
+#if defined(__BORLANDC__) && __BORLANDC__ >= 0x0530
+USELIB("..\ace\aced.lib");
+//---------------------------------------------------------------------------
+#endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */
+
+static int iterations = 10;
+
+static const size_t worker_threads = 2;
+static const char * default_message = "ACE RULES";
+static const size_t default_high_water_mark = 20;
+static const size_t default_low_water_mark = 10;
+static const int watermark_iterations = 2 * default_high_water_mark;
+
+class Message_Handler : public ACE_Task<ACE_NULL_SYNCH>
+{
+public:
+ Message_Handler (ACE_Reactor &reactor);
+
+ virtual int handle_input (ACE_HANDLE);
+ virtual int handle_output (ACE_HANDLE fd = ACE_INVALID_HANDLE);
+ virtual int handle_exception (ACE_HANDLE fd = ACE_INVALID_HANDLE);
+
+private:
+ int process_message (void);
+ void make_message (void);
+
+ ACE_Reactor_Notification_Strategy notification_strategy_;
+};
+
+class Watermark_Test : public ACE_Task<ACE_SYNCH>
+{
+public:
+ Watermark_Test ();
+
+ virtual int svc ();
+
+ int consumer ();
+ int producer ();
+ int put_message (ACE_Time_Value* timeout = 0);
+ int get_message (void);
+ void print_producer_debug_message (void);
+
+private:
+ const size_t len_, hwm_, lwm_;
+ ACE_Atomic_Op <ACE_SYNCH_MUTEX, int> role_;
+ ACE_Barrier mq_full_, mq_low_water_mark_hit_;
+};
+
+Message_Handler::Message_Handler (ACE_Reactor &reactor)
+ // First time handle_input will be called
+ : notification_strategy_ (&reactor,
+ this,
+ ACE_Event_Handler::READ_MASK)
+{
+ this->msg_queue ()->notification_strategy (&this->notification_strategy_);
+ this->make_message ();
+}
+
+int
+Message_Handler::handle_input (ACE_HANDLE)
+{
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Message_Handler::handle_input\n")));
+
+ // Next time handle_output will be called
+ this->notification_strategy_.mask (ACE_Event_Handler::WRITE_MASK);
+
+ return process_message ();
+}
+
+int
+Message_Handler::handle_output (ACE_HANDLE fd)
+{
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Message_Handler::handle_output\n")));
+ ACE_UNUSED_ARG (fd);
+
+ // Next time handle_exception will be called
+ this->notification_strategy_.mask (ACE_Event_Handler::EXCEPT_MASK);
+
+ return process_message ();
+}
+
+int
+Message_Handler::handle_exception (ACE_HANDLE fd)
+{
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Message_Handler::handle_exception\n")));
+ ACE_UNUSED_ARG (fd);
+
+ // Next time handle_input will be called
+ this->notification_strategy_.mask (ACE_Event_Handler::READ_MASK);
+
+ return process_message ();
+}
+
+int
+Message_Handler::process_message (void)
+{
+ ACE_Message_Block *mb;
+
+ if (this->getq (mb, (ACE_Time_Value *) &ACE_Time_Value::zero) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("dequeue_head")), -1);
+ else
+ {
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("message received = %s\n"), mb->rd_ptr ()));
+ delete mb;
+ }
+
+ this->make_message ();
+ return 0;
+}
+
+void
+Message_Handler::make_message (void)
+{
+ if (--iterations > 0)
+ {
+ ACE_Message_Block *mb = new ACE_Message_Block ((char *) ASYS_TEXT ("hello"));
+
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("sending message\n")));
+ this->putq (mb);
+ }
+}
+
+Watermark_Test::Watermark_Test ()
+ : len_ (ACE_OS::strlen (default_message) + 1),
+ hwm_ (this->len_ * default_high_water_mark),
+ lwm_ (this->len_ * default_low_water_mark),
+ role_ (0),
+ mq_full_ (worker_threads),
+ mq_low_water_mark_hit_ (worker_threads)
+{
+ this->water_marks (ACE_IO_Cntl_Msg::SET_LWM,
+ this->lwm_);
+ this->water_marks (ACE_IO_Cntl_Msg::SET_HWM,
+ this->hwm_);
+}
+
+int
+Watermark_Test::producer (void)
+{
+ int i, hwm;
+
+ for (hwm = this->hwm_, i = watermark_iterations;
+ hwm >= 0 ;
+ hwm -= this->len_, i--)
+ {
+ this->put_message ();
+ this->print_producer_debug_message ();
+ }
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) Producer: High water mark hit ---- \n"));
+ this->mq_full_.wait ();
+
+ // The following put_message should block until the message queue
+ // has dropped under the lwm.
+ this->put_message ();
+ ACE_ASSERT (this->msg_queue ()-> message_bytes () <= this->lwm_ + this->len_);
+ this->print_producer_debug_message ();
+
+ for (i--; i >= 0 ; i--)
+ {
+ this->put_message ();
+ this->print_producer_debug_message ();
+ }
+ return 0;
+}
+
+int
+Watermark_Test::consumer (void)
+{
+ this->mq_full_.wait ();
+ ACE_OS::sleep (1);
+ // Let producer proceed and block in putq.
+
+ for (int i = watermark_iterations; i >= 0; i--)
+ {
+ this->get_message ();
+ ACE_OS::sleep (0);
+ }
+ return 0;
+}
+
+int
+Watermark_Test::get_message (void)
+{
+ ACE_Message_Block *mb;
+
+ if (this->getq (mb) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("dequeue_head")), -1);
+ else
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ASYS_TEXT ("(%P|%t) Consumer: message size = %3d, ")
+ ASYS_TEXT ("message count = %3d\n"),
+ this->msg_queue ()-> message_bytes (),
+ this->msg_queue ()-> message_count ()));
+ delete mb;
+ }
+ return 0;
+}
+
+int
+Watermark_Test::put_message (ACE_Time_Value *timeout)
+{
+ ACE_Message_Block *mb;
+ ACE_NEW_RETURN (mb,
+ ACE_Message_Block (default_message, this->len_),
+ -1);
+
+ return this->putq (mb, timeout);
+}
+
+void
+Watermark_Test::print_producer_debug_message (void)
+{
+ ACE_DEBUG ((LM_DEBUG,
+ ASYS_TEXT ("(%P|%t) Producer: message size = %3d, ")
+ ASYS_TEXT ("message count = %3d\n"),
+ this->msg_queue ()-> message_bytes (),
+ this->msg_queue ()-> message_count ()));
+}
+
+int
+Watermark_Test::svc (void)
+{
+ int role = this->role_.value ();
+ this->role_++;
+
+ switch (role)
+ {
+ case 0:
+ this->producer ();
+ break;
+ case 1:
+ this->consumer ();
+ break;
+ default:
+ break;
+ }
+ return 0;
+}
+
+int
+main (int, ASYS_TCHAR *[])
+{
+ ACE_START_TEST (ASYS_TEXT ("Message_Queue_Notifications_Test.cpp"));
+
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Starting message queue reactive notification test...\n")));
+ ACE_Reactor reactor;
+ Message_Handler mh (reactor);
+
+ while (iterations > 0)
+ reactor.handle_events ();
+
+#if defined (ACE_HAS_THREADS)
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Starting message queue watermark test...\n")));
+ Watermark_Test watermark_test;
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("High water mark is %d\n")
+ ASYS_TEXT ("Low water mark is %d\n"),
+ default_high_water_mark,
+ default_low_water_mark));
+
+ watermark_test.activate (THR_NEW_LWP, worker_threads);
+
+ ACE_Thread_Manager::instance ()->wait ();
+#else
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Message queue watermark test not performed because threads are not supported\n")));
+#endif /* ACE_HAS_THREADS */
+
+ ACE_END_TEST;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Atomic_Op<ACE_SYNCH_MUTEX, int>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_Atomic_Op<ACE_SYNCH_MUTEX, int>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/tests/Message_Queue__Notifications_Test.dsp b/tests/Message_Queue__Notifications_Test.dsp
new file mode 100644
index 00000000000..c072492b322
--- /dev/null
+++ b/tests/Message_Queue__Notifications_Test.dsp
@@ -0,0 +1,226 @@
+# Microsoft Developer Studio Project File - Name="Message_Queue_Notifications_Test.cpp" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603
+
+CFG=Message_Queue_Notifications_Test.cpp - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "Message_Queue_Notifications_Test.cpp.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "Message_Queue_Notifications_Test.cpp.mak"\
+ CFG="Message_Queue_Notifications_Test.cpp - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "Message_Queue_Notifications_Test.cpp - Win32 Debug" (based on\
+ "Win32 (x86) Console Application")
+!MESSAGE "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug" (based on\
+ "Win32 (ALPHA) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+
+!IF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Message_"
+# PROP BASE Intermediate_Dir "Message_"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "."
+# PROP Intermediate_Dir ".\DLL\Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+CPP=cl.exe
+# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /c
+# SUBTRACT CPP /YX
+RSC=rc.exe
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\ace"
+
+!ELSEIF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Message_"
+# PROP BASE Intermediate_Dir "Message_"
+# PROP BASE Ignore_Export_Lib 0
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+CPP=cl.exe
+# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /MTd /c
+# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /MDd /c
+# SUBTRACT CPP /YX
+RSC=rc.exe
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /pdbtype:sept /libpath:"..\ace"
+# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:ALPHA /pdbtype:sept /libpath:"..\ace"
+
+!ENDIF
+
+# Begin Target
+
+# Name "Message_Queue_Notifications_Test.cpp - Win32 Debug"
+# Name "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
+# Begin Source File
+
+SOURCE=.\Message_Queue_Notifications_Test.cpp.cpp
+
+!IF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Alpha Debug"
+
+DEP_CPP_MESSA=\
+ "..\ace\ACE.h"\
+ "..\ace\ACE.i"\
+ "..\ace\Atomic_Op.i"\
+ "..\ace\Auto_Ptr.cpp"\
+ "..\ace\Auto_Ptr.h"\
+ "..\ace\Auto_Ptr.i"\
+ "..\ace\config-win32-common.h"\
+ "..\ace\config-win32.h"\
+ "..\ace\config.h"\
+ "..\ace\Containers.cpp"\
+ "..\ace\Containers.h"\
+ "..\ace\Containers.i"\
+ "..\ace\Event_Handler.h"\
+ "..\ace\Event_Handler.i"\
+ "..\ace\Free_List.cpp"\
+ "..\ace\Free_List.h"\
+ "..\ace\Free_List.i"\
+ "..\ace\Handle_Set.h"\
+ "..\ace\Handle_Set.i"\
+ "..\ace\Hash_Map_Manager.cpp"\
+ "..\ace\Hash_Map_Manager.h"\
+ "..\ace\IO_Cntl_Msg.h"\
+ "..\ace\Log_Msg.h"\
+ "..\ace\Log_Priority.h"\
+ "..\ace\Log_Record.h"\
+ "..\ace\Log_Record.i"\
+ "..\ace\Malloc.h"\
+ "..\ace\Malloc.i"\
+ "..\ace\Malloc_T.cpp"\
+ "..\ace\Malloc_T.h"\
+ "..\ace\Malloc_T.i"\
+ "..\ace\Managed_Object.cpp"\
+ "..\ace\Managed_Object.h"\
+ "..\ace\Managed_Object.i"\
+ "..\ace\Mem_Map.h"\
+ "..\ace\Mem_Map.i"\
+ "..\ace\Memory_Pool.h"\
+ "..\ace\Memory_Pool.i"\
+ "..\ace\Message_Block.h"\
+ "..\ace\Message_Block.i"\
+ "..\ace\Message_Queue.cpp"\
+ "..\ace\Message_Queue.h"\
+ "..\ace\Message_Queue.i"\
+ "..\ace\Module.cpp"\
+ "..\ace\Module.h"\
+ "..\ace\Module.i"\
+ "..\ace\Object_Manager.h"\
+ "..\ace\Object_Manager.i"\
+ "..\ace\OS.h"\
+ "..\ace\OS.i"\
+ "..\ace\Reactor.h"\
+ "..\ace\Reactor.i"\
+ "..\ace\Reactor_Impl.h"\
+ "..\ace\Service_Config.h"\
+ "..\ace\Service_Config.i"\
+ "..\ace\Service_Object.h"\
+ "..\ace\Service_Object.i"\
+ "..\ace\Service_Types.h"\
+ "..\ace\Service_Types.i"\
+ "..\ace\Shared_Object.h"\
+ "..\ace\Shared_Object.i"\
+ "..\ace\Signal.h"\
+ "..\ace\Signal.i"\
+ "..\ace\SString.h"\
+ "..\ace\SString.i"\
+ "..\ace\stdcpp.h"\
+ "..\ace\Strategies.h"\
+ "..\ace\Strategies_T.cpp"\
+ "..\ace\Strategies_T.h"\
+ "..\ace\Stream_Modules.cpp"\
+ "..\ace\Stream_Modules.h"\
+ "..\ace\Stream_Modules.i"\
+ "..\ace\SV_Semaphore_Complex.h"\
+ "..\ace\SV_Semaphore_Complex.i"\
+ "..\ace\SV_Semaphore_Simple.h"\
+ "..\ace\SV_Semaphore_Simple.i"\
+ "..\ace\Svc_Conf_Tokens.h"\
+ "..\ace\Synch.h"\
+ "..\ace\Synch.i"\
+ "..\ace\Synch_Options.h"\
+ "..\ace\Synch_T.cpp"\
+ "..\ace\Synch_T.h"\
+ "..\ace\Synch_T.i"\
+ "..\ace\Task.h"\
+ "..\ace\Task.i"\
+ "..\ace\Task_T.cpp"\
+ "..\ace\Task_T.h"\
+ "..\ace\Task_T.i"\
+ "..\ace\Thread.h"\
+ "..\ace\Thread.i"\
+ "..\ace\Thread_Manager.h"\
+ "..\ace\Thread_Manager.i"\
+ "..\ace\Timer_Queue.h"\
+ "..\ace\Timer_Queue_T.cpp"\
+ "..\ace\Timer_Queue_T.h"\
+ "..\ace\Timer_Queue_T.i"\
+ "..\ace\Trace.h"\
+ "..\ace\Version.h"\
+ "..\ace\WFMO_Reactor.h"\
+ "..\ace\WFMO_Reactor.i"\
+ "..\ace\ws2tcpip.h"\
+ ".\test_config.h"\
+
+
+!ENDIF
+
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
+# Begin Source File
+
+SOURCE=.\test_config.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
diff --git a/tests/run_tests.bat b/tests/run_tests.bat
index 6f68c2d42cb..9c02f1d16f9 100644
--- a/tests/run_tests.bat
+++ b/tests/run_tests.bat
@@ -34,7 +34,7 @@ call %0 %dopure% IOStream_Test
call %0 %dopure% Map_Manager_Test
call %0 %dopure% Mem_Map_Test
call %0 %dopure% Message_Block_Test
-call %0 %dopure% MsgQueue_Notifications_Test
+call %0 %dopure% Message_Queue_Notifications_Test.cpp
call %0 %dopure% Message_Queue_Test
call %0 %dopure% MM_Shared_Memory_Test
call %0 %dopure% MT_SOCK_Test
diff --git a/tests/run_tests.psosim b/tests/run_tests.psosim
index 38b75cefe49..9561bf98433 100755
--- a/tests/run_tests.psosim
+++ b/tests/run_tests.psosim
@@ -125,8 +125,8 @@ run Recursive_Mutex_Test # uses Service_Config, Recursive_Thread_
run Map_Manager_Test # uses Map Manager and Hash Map Manager + Forward and Reverse Map Iterators.
-#MsgQueue_Notifications_Test: threads not supported on this platform
-#run MsgQueue_Notifications_Test # uses Message_Queue + Reactor.
+#Message_Queue_Notifications_Test.cpp: threads not supported on this platform
+#run Message_Queue_Notifications_Test.cpp # uses Message_Queue + Reactor.
run Message_Queue_Test # uses Message_Queue + Forward and Reverse Message Queue Iterators.
run Simple_Message_Block_Test # uses Message_Block
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 0aa82ca3db0..9ae38380284 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -123,7 +123,7 @@ test $chorus || test $LynxOS || run Time_Service_Test # uses libnetsvcs
test $chorus || test $LynxOS || run Tokens_Test
run Map_Manager_Test # uses Map Manager and Hash Map Manager + Forward and Reverse Map Iterators.
-run MsgQueue_Notifications_Test # uses Message_Queue + Reactor.
+run Message_Queue_Notifications_Test.cpp # uses Message_Queue + Reactor.
test $chorus || run Message_Queue_Test # uses Message_Queue + Forward and Reverse Message Queue Iterators.
test $chorus || run Simple_Message_Block_Test # uses Message_Block
test $chorus || run Message_Block_Test # uses Message_Block and Message_Queue
diff --git a/tests/run_tests.vxworks b/tests/run_tests.vxworks
index c7b10608b71..48ff7042d14 100644
--- a/tests/run_tests.vxworks
+++ b/tests/run_tests.vxworks
@@ -169,9 +169,9 @@ ld < Map_Manager_Test
write 2, "Map_Manager_Test ", 17
ace_main; unld "Map_Manager_Test"
-ld < MsgQueue_Notifications_Test
-write 2, "MsgQueue_Notifications_Test ", 33
-ace_main; unld "MsgQueue_Notifications_Test"
+ld < Message_Queue_Notifications_Test.cpp
+write 2, "Message_Queue_Notifications_Test.cpp ", 33
+ace_main; unld "Message_Queue_Notifications_Test.cpp"
ld < Simple_Message_Block_Test
write 2, "Simple_Message_Block_Test ", 26
diff --git a/tests/tests.bpg b/tests/tests.bpg
index 70087c4843c..548dc0c9501 100644
--- a/tests/tests.bpg
+++ b/tests/tests.bpg
@@ -13,7 +13,7 @@ PROJECTS = Aio_Platform_Test Atomic_Op_Test Barrier_Test Basic_Types_Test \
Buffer_Stream_Test Conn_Test Dynamic_Priority_Test Enum_Interfaces_Test Env_Value_Test Future_Test \
Handle_Set_Test Hash_Map_Manager_Test Map_Manager_Test MM_Shared_Memory_Test \
MT_Reactor_Timer_Test MT_SOCK_Test Mem_Map_Test Message_Block_Test \
- MsgQueue_Notifications_Test Message_Queue_Test Naming_Test \
+ Message_Queue_Notifications_Test.cpp Message_Queue_Test Naming_Test \
Notify_Performance_Test OrdMultiSet_Test Pipe_Test Priority_Buffer_Test \
Priority_Reactor_Test Priority_Task_Test Process_Mutex_Test \
Process_Strategy_Test Reactor_Exceptions_Test Reactor_Notify_Test \
@@ -81,7 +81,7 @@ Mem_Map_Test: Mem_Map_Test.bpr
Message_Block_Test: Message_Block_Test.bpr
$(MAKE)
-MsgQueue_Notifications_Test: MsgQueue_Notifications_Test.bpr
+Message_Queue_Notifications_Test.cpp: Message_Queue_Notifications_Test.cpp.bpr
$(MAKE)
Message_Queue_Test: Message_Queue_Test.bpr
diff --git a/tests/tests.dsw b/tests/tests.dsw
index 240a87e9ad6..7abab2d76da 100644
--- a/tests/tests.dsw
+++ b/tests/tests.dsw
@@ -207,7 +207,7 @@ Package=<4>
###############################################################################
-Project: "MsgQueue_Notifications_Test"=.\MsgQueue_Notifications_Test.dsp - Package Owner=<4>
+Project: "Message_Queue_Notifications_Test.cpp"=.\Message_Queue_Notifications_Test.cpp.dsp - Package Owner=<4>
Package=<5>
{{{
diff --git a/tests/tests.mak b/tests/tests.mak
index 92d8aaa3a1e..85b0907978d 100644
--- a/tests/tests.mak
+++ b/tests/tests.mak
@@ -38,7 +38,7 @@ CFG=Timeprobe_Test - Win32 Debug
"Reactor_Exceptions_Test - Win32 Debug" && "$(CFG)" !=\
"Priority_Task_Test - Win32 Debug" && "$(CFG)" !=\
"Sigset_Ops_Test - Win32 Debug" && "$(CFG)" !=\
- "MsgQueue_Notifications_Test - Win32 Debug" && "$(CFG)" !=\
+ "Message_Queue_Notifications_Test.cpp - Win32 Debug" && "$(CFG)" !=\
"Enum_Interfaces_Test - Win32 Debug" && "$(CFG)" !=\
"Hash_Map_Manager_Test - Win32 Debug" && "$(CFG)" !=\
"Semaphore_Test - Win32 Debug" && "$(CFG)" != "Atomic_Op_Test - Win32 Debug" &&\
@@ -132,7 +132,7 @@ CFG=Timeprobe_Test - Win32 Debug
"Win32 (x86) Console Application")
!MESSAGE "Sigset_Ops_Test - Win32 Debug" (based on\
"Win32 (x86) Console Application")
-!MESSAGE "MsgQueue_Notifications_Test - Win32 Debug" (based on\
+!MESSAGE "Message_Queue_Notifications_Test.cpp - Win32 Debug" (based on\
"Win32 (x86) Console Application")
!MESSAGE "Enum_Interfaces_Test - Win32 Debug" (based on\
"Win32 (x86) Console Application")
@@ -2519,30 +2519,30 @@ LINK32_OBJS= \
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
-!ELSEIF "$(CFG)" == "MsgQueue_Notifications_Test - Win32 Debug"
+!ELSEIF "$(CFG)" == "Message_Queue_Notifications_Test.cpp - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "MsgQueue_Notifications_Test\Debug"
-# PROP BASE Intermediate_Dir "MsgQueue_Notifications_Test\Debug"
-# PROP BASE Target_Dir "MsgQueue_Notifications_Test"
+# PROP BASE Output_Dir "Message_Queue_Notifications_Test.cpp\Debug"
+# PROP BASE Intermediate_Dir "Message_Queue_Notifications_Test.cpp\Debug"
+# PROP BASE Target_Dir "Message_Queue_Notifications_Test.cpp"
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "."
# PROP Intermediate_Dir "Debug"
-# PROP Target_Dir "MsgQueue_Notifications_Test"
+# PROP Target_Dir "Message_Queue_Notifications_Test.cpp"
OUTDIR=.\.
INTDIR=.\Debug
-ALL : "$(OUTDIR)\MsgQueue_Notifications_Test.exe"
+ALL : "$(OUTDIR)\Message_Queue_Notifications_Test.cpp.exe"
CLEAN :
- -@erase "$(INTDIR)\MsgQueue_Notifications_Test.obj"
+ -@erase "$(INTDIR)\Message_Queue_Notifications_Test.cpp.obj"
-@erase "$(INTDIR)\vc40.idb"
-@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(OUTDIR)\MsgQueue_Notifications_Test.exe"
- -@erase "$(OUTDIR)\MsgQueue_Notifications_Test.ilk"
- -@erase "$(OUTDIR)\MsgQueue_Notifications_Test.pdb"
+ -@erase "$(OUTDIR)\Message_Queue_Notifications_Test.cpp.exe"
+ -@erase "$(OUTDIR)\Message_Queue_Notifications_Test.cpp.ilk"
+ -@erase "$(OUTDIR)\Message_Queue_Notifications_Test.cpp.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@@ -2562,19 +2562,19 @@ CPP_SBRS=.\.
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/MsgQueue_Notifications_Test.bsc"
+BSC32_FLAGS=/nologo /o"$(OUTDIR)/Message_Queue_Notifications_Test.cpp.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
# ADD LINK32 ..\ace\aced.lib /nologo /subsystem:console /debug /machine:I386
LINK32_FLAGS=..\ace\aced.lib /nologo /subsystem:console /incremental:yes\
- /pdb:"$(OUTDIR)/MsgQueue_Notifications_Test.pdb" /debug /machine:I386\
- /out:"$(OUTDIR)/MsgQueue_Notifications_Test.exe"
+ /pdb:"$(OUTDIR)/Message_Queue_Notifications_Test.cpp.pdb" /debug /machine:I386\
+ /out:"$(OUTDIR)/Message_Queue_Notifications_Test.cpp.exe"
LINK32_OBJS= \
- "$(INTDIR)\MsgQueue_Notifications_Test.obj"
+ "$(INTDIR)\Message_Queue_Notifications_Test.cpp.obj"
-"$(OUTDIR)\MsgQueue_Notifications_Test.exe" : "$(OUTDIR)" $(DEF_FILE)\
+"$(OUTDIR)\Message_Queue_Notifications_Test.cpp.exe" : "$(OUTDIR)" $(DEF_FILE)\
$(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
@@ -7486,11 +7486,11 @@ DEP_CPP_SIGSE=\
################################################################################
# Begin Target
-# Name "MsgQueue_Notifications_Test - Win32 Debug"
+# Name "Message_Queue_Notifications_Test.cpp - Win32 Debug"
################################################################################
# Begin Source File
-SOURCE=.\MsgQueue_Notifications_Test.cpp
+SOURCE=.\Message_Queue_Notifications_Test.cpp.cpp
DEP_CPP_MSGQU=\
"..\ace/ACE.h"\
"..\ace/ACE.i"\
@@ -7610,7 +7610,7 @@ DEP_CPP_MSGQU=\
"..\tests/test_config.h"\
-"$(INTDIR)\MsgQueue_Notifications_Test.obj" : $(SOURCE) $(DEP_CPP_MSGQU)\
+"$(INTDIR)\Message_Queue_Notifications_Test.cpp.obj" : $(SOURCE) $(DEP_CPP_MSGQU)\
"$(INTDIR)"