diff options
107 files changed, 2653 insertions, 16 deletions
diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor new file mode 100644 index 00000000000..f89b5fefba0 --- /dev/null +++ b/TAO/examples/Callback_Quoter/Callback_Quoter_Consumer.bor @@ -0,0 +1,34 @@ +# +# Makefile for building the Callback_Quoter example +# + +NAME = Callback_Quoter_Consumer + +OBJFILES = \ + $(OBJDIR)\ConsumerC.obj \ + $(OBJDIR)\ConsumerS.obj \ + $(OBJDIR)\NotifierC.obj \ + $(OBJDIR)\NotifierS.obj \ + $(OBJDIR)\consumer.obj \ + $(OBJDIR)\Consumer_Input_Handler.obj \ + $(OBJDIR)\Consumer_Signal_Handler.obj \ + $(OBJDIR)\Consumer_Handler.obj \ + $(OBJDIR)\Consumer_i.obj + +CPPDIR = . +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl + $(TAO_IDL) $** + +$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor new file mode 100644 index 00000000000..b49d2d30591 --- /dev/null +++ b/TAO/examples/Callback_Quoter/Callback_Quoter_Notifier.bor @@ -0,0 +1,33 @@ + +# +# Makefile for building the Callback_Quoter example +# + +NAME = Callback_Quoter_Notifier + +OBJFILES = \ + $(OBJDIR)\ConsumerC.obj \ + $(OBJDIR)\ConsumerS.obj \ + $(OBJDIR)\NotifierC.obj \ + $(OBJDIR)\NotifierS.obj \ + $(OBJDIR)\notifier.obj \ + $(OBJDIR)\Notifier_i.obj \ + $(OBJDIR)\Notifier_Input_Handler.obj + +CPPDIR = . +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl + $(TAO_IDL) $** + +$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor b/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor new file mode 100644 index 00000000000..dc016ae27c1 --- /dev/null +++ b/TAO/examples/Callback_Quoter/Callback_Quoter_Supplier.bor @@ -0,0 +1,33 @@ +# +# Makefile for building the Callback_Quoter example +# + +NAME = Callback_Quoter_Supplier + +OBJFILES = \ + $(OBJDIR)\ConsumerC.obj \ + $(OBJDIR)\ConsumerS.obj \ + $(OBJDIR)\NotifierC.obj \ + $(OBJDIR)\NotifierS.obj \ + $(OBJDIR)\supplier.obj \ + $(OBJDIR)\Supplier_i.obj \ + $(OBJDIR)\Supplier_Timer_Handler.obj \ + $(OBJDIR)\Consumer_i.obj + +CPPDIR = . +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\ConsumerC.cpp $(IDLDIR)\ConsumerS.cpp: $(IDLDIR)\Consumer.idl + $(TAO_IDL) $** + +$(IDLDIR)\NotifierC.cpp $(IDLDIR)\NotifierS.cpp: $(IDLDIR)\Notifier.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Handler.cpp index 0ea7efa1002..468682acb2c 100644 --- a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp +++ b/TAO/examples/Callback_Quoter/Consumer_Handler.cpp @@ -34,6 +34,7 @@ Consumer_Handler::Consumer_Handler (void) unregistered_ (0), ior_ (0), shutdown_ (0), + use_naming_service_ (1), interactive_ (0) { diff --git a/TAO/examples/Callback_Quoter/Makefile.bor b/TAO/examples/Callback_Quoter/Makefile.bor new file mode 100644 index 00000000000..f758082e236 --- /dev/null +++ b/TAO/examples/Callback_Quoter/Makefile.bor @@ -0,0 +1,20 @@ + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Callback_Quoter_Notifier.bor $(FLAGS) + $(MAKE) -f Callback_Quoter_Consumer.bor $(FLAGS) + $(MAKE) -f Callback_Quoter_Supplier.bor $(FLAGS) + diff --git a/TAO/examples/Callback_Quoter/Supplier_i.cpp b/TAO/examples/Callback_Quoter/Supplier_i.cpp index 8d9ada5664a..3ade3dd2f67 100644 --- a/TAO/examples/Callback_Quoter/Supplier_i.cpp +++ b/TAO/examples/Callback_Quoter/Supplier_i.cpp @@ -29,7 +29,8 @@ Supplier::Supplier (void) use_naming_service_ (1), notifier_ (), loop_count_ (10), - period_value_ (1) + period_value_ (1), + f_ptr_(0) { // No-op. } @@ -82,7 +83,7 @@ Supplier::read_ior (char *filename) int Supplier::parse_args (void) { - ACE_Get_Opt get_opts (argc_, argv_, "dn:fi:xk:xs"); + ACE_Get_Opt get_opts (argc_, argv_, "dn:f:i:xk:xs"); int c; int result; diff --git a/TAO/examples/Simple/bank/Bank_Client.bor b/TAO/examples/Simple/bank/Bank_Client.bor new file mode 100644 index 00000000000..73de3f74e78 --- /dev/null +++ b/TAO/examples/Simple/bank/Bank_Client.bor @@ -0,0 +1,28 @@ + +# +# Makefile for building the Bank example +# + +NAME = Bank_Client + +OBJFILES = \ + $(OBJDIR)\BankC.obj \ + $(OBJDIR)\BankS.obj \ + $(OBJDIR)\Bank_Client_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\client.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\BankC.cpp $(IDLDIR)\BankS.cpp: $(IDLDIR)\Bank.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/bank/Bank_Server.bor b/TAO/examples/Simple/bank/Bank_Server.bor new file mode 100644 index 00000000000..64315864b29 --- /dev/null +++ b/TAO/examples/Simple/bank/Bank_Server.bor @@ -0,0 +1,29 @@ + +# +# Makefile for building the Bank example +# + +NAME = Bank_Server + +OBJFILES = \ + $(OBJDIR)\BankC.obj \ + $(OBJDIR)\BankS.obj \ + $(OBJDIR)\Account_i.obj \ + $(OBJDIR)\AccountManager_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\server.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\BankC.cpp $(IDLDIR)\BankS.cpp: $(IDLDIR)\Bank.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/bank/Makefile.bor b/TAO/examples/Simple/bank/Makefile.bor new file mode 100644 index 00000000000..13de82d2408 --- /dev/null +++ b/TAO/examples/Simple/bank/Makefile.bor @@ -0,0 +1,23 @@ + +# +# Makefile for building the Bank example +# + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Bank_Client.bor $(FLAGS) + $(MAKE) -f Bank_Server.bor $(FLAGS) + diff --git a/TAO/examples/Simple/chat/Chat_Client.bor b/TAO/examples/Simple/chat/Chat_Client.bor new file mode 100644 index 00000000000..442cb0db4a4 --- /dev/null +++ b/TAO/examples/Simple/chat/Chat_Client.bor @@ -0,0 +1,33 @@ + +# +# Makefile for building the Chat example +# + +NAME = Chat_Client + +OBJFILES = \ + $(OBJDIR)\ReceiverC.obj \ + $(OBJDIR)\ReceiverS.obj \ + $(OBJDIR)\BroadcasterC.obj \ + $(OBJDIR)\BroadcasterS.obj \ + $(OBJDIR)\Receiver_i.obj \ + $(OBJDIR)\Client_i.obj \ + $(OBJDIR)\client.obj + +CPPDIR = . +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\BroadcasterC.cpp $(IDLDIR)\BroadcasterS.cpp: $(IDLDIR)\Broadcaster.idl + $(TAO_IDL) $** + +$(IDLDIR)\ReceiverC.cpp $(IDLDIR)\ReceiverS.cpp: $(IDLDIR)\Receiver.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/chat/Chat_Server.bor b/TAO/examples/Simple/chat/Chat_Server.bor new file mode 100644 index 00000000000..4d65492755d --- /dev/null +++ b/TAO/examples/Simple/chat/Chat_Server.bor @@ -0,0 +1,33 @@ + +# +# Makefile for building the Chat example +# + +NAME = Chat_Server + +OBJFILES = \ + $(OBJDIR)\ReceiverC.obj \ + $(OBJDIR)\ReceiverS.obj \ + $(OBJDIR)\BroadcasterC.obj \ + $(OBJDIR)\BroadcasterS.obj \ + $(OBJDIR)\Broadcaster_i.obj \ + $(OBJDIR)\Server_i.obj \ + $(OBJDIR)\server.obj + +CPPDIR = . +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\BroadcasterC.cpp $(IDLDIR)\BroadcasterS.cpp: $(IDLDIR)\Broadcaster.idl + $(TAO_IDL) $** + +$(IDLDIR)\ReceiverC.cpp $(IDLDIR)\ReceiverS.cpp: $(IDLDIR)\Receiver.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/chat/Makefile.bor b/TAO/examples/Simple/chat/Makefile.bor new file mode 100644 index 00000000000..85768eaf416 --- /dev/null +++ b/TAO/examples/Simple/chat/Makefile.bor @@ -0,0 +1,22 @@ +# +# Makefile for building the Chat example +# + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Chat_Client.bor $(FLAGS) + $(MAKE) -f Chat_Server.bor $(FLAGS) + diff --git a/TAO/examples/Simple/echo/Echo_Client.bor b/TAO/examples/Simple/echo/Echo_Client.bor new file mode 100644 index 00000000000..46e5cbed125 --- /dev/null +++ b/TAO/examples/Simple/echo/Echo_Client.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Echo example +# + +NAME = Echo_Client + +OBJFILES = \ + $(OBJDIR)\EchoC.obj \ + $(OBJDIR)\EchoS.obj \ + $(OBJDIR)\Echo_Client_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\client.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\EchoC.cpp $(IDLDIR)\EchoS.cpp: $(IDLDIR)\Echo.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/echo/Echo_Server.bor b/TAO/examples/Simple/echo/Echo_Server.bor new file mode 100644 index 00000000000..f24ccc15c15 --- /dev/null +++ b/TAO/examples/Simple/echo/Echo_Server.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Echo example +# + +NAME = Echo_Server + +OBJFILES = \ + $(OBJDIR)\EchoC.obj \ + $(OBJDIR)\EchoS.obj \ + $(OBJDIR)\Echo_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\server.obj + +CPPDIR = .;.. +BINDIR =.\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\EchoC.cpp $(IDLDIR)\EchoS.cpp: $(IDLDIR)\Echo.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/echo/Makefile.bor b/TAO/examples/Simple/echo/Makefile.bor new file mode 100644 index 00000000000..7d12d4bcc9d --- /dev/null +++ b/TAO/examples/Simple/echo/Makefile.bor @@ -0,0 +1,23 @@ + +# +# Makefile for building the Echo example +# + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Echo_Client.bor $(FLAGS) + $(MAKE) -f Echo_Server.bor $(FLAGS) + diff --git a/TAO/examples/Simple/grid/Grid_Client.bor b/TAO/examples/Simple/grid/Grid_Client.bor new file mode 100644 index 00000000000..41f8a97e821 --- /dev/null +++ b/TAO/examples/Simple/grid/Grid_Client.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Grid example +# + +NAME = Grid_Client + +OBJFILES = \ + $(OBJDIR)\GridC.obj \ + $(OBJDIR)\GridS.obj \ + $(OBJDIR)\Grid_Client_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\client.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\GridC.cpp $(IDLDIR)\GridS.cpp: $(IDLDIR)\Grid.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/grid/Grid_Server.bor b/TAO/examples/Simple/grid/Grid_Server.bor new file mode 100644 index 00000000000..017b16ddc20 --- /dev/null +++ b/TAO/examples/Simple/grid/Grid_Server.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Grid example +# + +NAME = Grid_Server + +OBJFILES = \ + $(OBJDIR)\GridC.obj \ + $(OBJDIR)\GridS.obj \ + $(OBJDIR)\Grid_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\server.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\GridC.cpp $(IDLDIR)\GridS.cpp: $(IDLDIR)\Grid.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/grid/Makefile.bor b/TAO/examples/Simple/grid/Makefile.bor new file mode 100644 index 00000000000..526a186c822 --- /dev/null +++ b/TAO/examples/Simple/grid/Makefile.bor @@ -0,0 +1,22 @@ +# +# Makefile for building the Grid example +# + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Grid_Client.bor $(FLAGS) + $(MAKE) -f Grid_Server.bor $(FLAGS) + diff --git a/TAO/examples/Simple/time/Makefile.bor b/TAO/examples/Simple/time/Makefile.bor new file mode 100644 index 00000000000..f0088dea8cd --- /dev/null +++ b/TAO/examples/Simple/time/Makefile.bor @@ -0,0 +1,22 @@ +# +# Makefile for building the Time example +# + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + $(MAKE) -f Time_Client.bor $(FLAGS) + $(MAKE) -f Time_Server.bor $(FLAGS) + diff --git a/TAO/examples/Simple/time/Time_Client.bor b/TAO/examples/Simple/time/Time_Client.bor new file mode 100644 index 00000000000..21945d63c88 --- /dev/null +++ b/TAO/examples/Simple/time/Time_Client.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Time example +# + +NAME = Time_Client + +OBJFILES = \ + $(OBJDIR)\TimeC.obj \ + $(OBJDIR)\TimeS.obj \ + $(OBJDIR)\Time_Client_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\client.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\TimeC.cpp $(IDLDIR)\TimeS.cpp: $(IDLDIR)\Time.idl + $(TAO_IDL) $** + diff --git a/TAO/examples/Simple/time/Time_Server.bor b/TAO/examples/Simple/time/Time_Server.bor new file mode 100644 index 00000000000..83fe725257c --- /dev/null +++ b/TAO/examples/Simple/time/Time_Server.bor @@ -0,0 +1,27 @@ +# +# Makefile for building the Time example +# + +NAME = Time_Server + +OBJFILES = \ + $(OBJDIR)\TimeC.obj \ + $(OBJDIR)\TimeS.obj \ + $(OBJDIR)\Time_i.obj \ + $(OBJDIR)\Simple_util.obj \ + $(OBJDIR)\server.obj + +CPPDIR = .;.. +BINDIR = .\bor\bin +BASE_OBJDIR = .\bor\obj +IDLDIR = . + +!include <$(ACE_ROOT)\include\makeinclude\build_example.bor> + +# +# IDL Build rules +# + +$(IDLDIR)\TimeC.cpp $(IDLDIR)\TimeS.cpp: $(IDLDIR)\Time.idl + $(TAO_IDL) $** + diff --git a/ace/WIN32_Asynch_IO.cpp b/ace/WIN32_Asynch_IO.cpp index be6f796a753..e7c067f22fd 100644 --- a/ace/WIN32_Asynch_IO.cpp +++ b/ace/WIN32_Asynch_IO.cpp @@ -337,7 +337,7 @@ ACE_WIN32_Asynch_Read_Stream::read (ACE_Message_Block &message_block, int signal_number) { // Create the Asynch_Result. - ACE_WIN32_Asynch_Read_Stream_Result *result; + ACE_WIN32_Asynch_Read_Stream_Result *result = 0; ACE_NEW_RETURN (result, ACE_WIN32_Asynch_Read_Stream_Result (*this->handler_, this->handle_, @@ -836,7 +836,7 @@ ACE_WIN32_Asynch_Read_File::read (ACE_Message_Block &message_block, int priority, int signal_number) { - ACE_WIN32_Asynch_Read_File_Result *result; + ACE_WIN32_Asynch_Read_File_Result *result = 0; ACE_NEW_RETURN (result, ACE_WIN32_Asynch_Read_File_Result (*this->handler_, this->handle_, diff --git a/ace/WIN32_Proactor.cpp b/ace/WIN32_Proactor.cpp index 67cf2eb1519..54e3502ecee 100644 --- a/ace/WIN32_Proactor.cpp +++ b/ace/WIN32_Proactor.cpp @@ -174,7 +174,7 @@ ACE_WIN32_Proactor::create_asynch_read_stream_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Read_Stream_Result_Impl *implementation; + ACE_Asynch_Read_Stream_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Read_Stream_Result (handler, handle, @@ -198,7 +198,7 @@ ACE_WIN32_Proactor::create_asynch_write_stream_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Write_Stream_Result_Impl *implementation; + ACE_Asynch_Write_Stream_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Write_Stream_Result (handler, handle, @@ -224,7 +224,7 @@ ACE_WIN32_Proactor::create_asynch_read_file_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Read_File_Result_Impl *implementation; + ACE_Asynch_Read_File_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Read_File_Result (handler, handle, @@ -252,7 +252,7 @@ ACE_WIN32_Proactor::create_asynch_write_file_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Write_File_Result_Impl *implementation; + ACE_Asynch_Write_File_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Write_File_Result (handler, handle, @@ -279,7 +279,7 @@ ACE_WIN32_Proactor::create_asynch_accept_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Accept_Result_Impl *implementation; + ACE_Asynch_Accept_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Accept_Result (handler, listen_handle, @@ -309,7 +309,7 @@ ACE_WIN32_Proactor::create_asynch_transmit_file_result (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Transmit_File_Result_Impl *implementation; + ACE_Asynch_Transmit_File_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Transmit_File_Result (handler, socket, @@ -336,7 +336,7 @@ ACE_WIN32_Proactor::create_asynch_timer (ACE_Handler &handler, int priority, int signal_number) { - ACE_Asynch_Result_Impl *implementation; + ACE_Asynch_Result_Impl *implementation = 0; ACE_NEW_RETURN (implementation, ACE_WIN32_Asynch_Timer (handler, act, @@ -511,6 +511,7 @@ int ACE_WIN32_Proactor::post_wakeup_completions (int how_many) { ACE_WIN32_Wakeup_Completion *wakeup_completion = 0; + for (ssize_t ci = 0; ci < how_many; ci++) { ACE_NEW_RETURN (wakeup_completion, diff --git a/ace/config-win32-borland.h b/ace/config-win32-borland.h index 326de852d46..aab4c01aa13 100644 --- a/ace/config-win32-borland.h +++ b/ace/config-win32-borland.h @@ -27,7 +27,7 @@ # if defined (ACE_EXPORT_NESTED_CLASSES) # undef ACE_EXPORT_NESTED_CLASSES # endif /* defined (ACE_EXPORT_NESTED_CLASSES) */ -# define ACE_EXPORT_NESTED_CLASSES 1 +# define ACE_EXPORT_NESTED_CLASSES # if defined (ACE_HAS_NONCONST_SELECT_TIMEVAL) # undef ACE_HAS_NONCONST_SELECT_TIMEVAL diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog index c15c5585108..5dcdb39e2b2 100644 --- a/apps/gperf/ChangeLog +++ b/apps/gperf/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 27 20:40:30 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> + + * src/Key_List.cpp: Added some initializers to keep EGCS from + complaining. + Wed Jun 23 07:24:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> * src/Key_List.cpp (output_hash_function): Use conditional diff --git a/apps/gperf/Makefile.bor b/apps/gperf/Makefile.bor new file mode 100644 index 00000000000..0105cbd3418 --- /dev/null +++ b/apps/gperf/Makefile.bor @@ -0,0 +1,19 @@ + +!ifdef DEBUG +DEBUG_FLAG = -DDEBUG +!endif + +!ifdef STATIC +STATIC_FLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCAL_FLAG = -DPASCAL +!endif + +FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) + +all: + cd $(ACE_ROOT)\apps\gperf\src + $(MAKE) -f Makefile.bor $(FLAGS) + diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp index afb26d5d5fd..f1e27daeeff 100644 --- a/apps/gperf/src/Key_List.cpp +++ b/apps/gperf/src/Key_List.cpp @@ -87,7 +87,7 @@ char * Key_List::special_input (char delimiter) { int size = 80; - char *buf; + char *buf = 0; ACE_NEW_RETURN (buf, char[size], 0); @@ -124,7 +124,7 @@ Key_List::special_input (char delimiter) { // Yikes, time to grow the buffer! - char *temp; + char *temp = 0; ACE_NEW_RETURN (temp, char[size *= 2], 0); @@ -1317,12 +1317,12 @@ Key_List::output_lookup_array (void) { const int DEFAULT_VALUE = -1; - Duplicate_Entry *duplicates; + Duplicate_Entry *duplicates = 0; ACE_NEW_RETURN (duplicates, Duplicate_Entry[total_duplicates], -1); - int *lookup_array; + int *lookup_array = 0; ACE_NEW_RETURN (lookup_array, int[max_hash_value + 1], -1); diff --git a/apps/gperf/src/Makefile.bor b/apps/gperf/src/Makefile.bor new file mode 100644 index 00000000000..1dd4621ee90 --- /dev/null +++ b/apps/gperf/src/Makefile.bor @@ -0,0 +1,16 @@ + +NAME = gperf +OBJFILES = \ + $(OBJDIR)\Options.obj \ + $(OBJDIR)\Iterator.obj \ + $(OBJDIR)\Gen_Perf.obj \ + $(OBJDIR)\Key_List.obj \ + $(OBJDIR)\List_Node.obj \ + $(OBJDIR)\Hash_Table.obj \ + $(OBJDIR)\Bool_Array.obj \ + $(OBJDIR)\Vectors.obj \ + $(OBJDIR)\Version.obj \ + $(OBJDIR)\gperf.obj +BINDIR=$(ACE_ROOT)\bin +!include <$(ACE_ROOT)\apps\build.bor> + diff --git a/tests/Aio_Platform_Test.icc b/tests/Aio_Platform_Test.icc new file mode 100644 index 00000000000..7d09ea6653e --- /dev/null +++ b/tests/Aio_Platform_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Aio_Platform_Test.exe" + { + source type (cpp) "Aio_Platform_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Atomic_Op_Test.icc b/tests/Atomic_Op_Test.icc new file mode 100644 index 00000000000..0ea8582491a --- /dev/null +++ b/tests/Atomic_Op_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Atomic_Op_Test.exe" + { + source type (cpp) "Atomic_Op_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Barrier_Test.icc b/tests/Barrier_Test.icc new file mode 100644 index 00000000000..0c93db4235a --- /dev/null +++ b/tests/Barrier_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Barrier_Test.exe" + { + source type (cpp) "Barrier_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Basic_Types_Test.icc b/tests/Basic_Types_Test.icc new file mode 100644 index 00000000000..e5f8ee7d26a --- /dev/null +++ b/tests/Basic_Types_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Basic_Types_Test.exe" + { + source type (cpp) "Basic_Types_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Buffer_Stream_Test.icc b/tests/Buffer_Stream_Test.icc new file mode 100644 index 00000000000..a96bd80dd17 --- /dev/null +++ b/tests/Buffer_Stream_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Buffer_Stream_Test.exe" + { + source type (cpp) "Buffer_Stream_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CDR_Test.icc b/tests/CDR_Test.icc new file mode 100644 index 00000000000..90e35af9bbe --- /dev/null +++ b/tests/CDR_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CDR_Test.exe" + { + source type (cpp) "CDR_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Addr_Test.icc b/tests/CLASSIX_Addr_Test.icc new file mode 100644 index 00000000000..e8bb296faca --- /dev/null +++ b/tests/CLASSIX_Addr_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Addr_Test.exe" + { + source type (cpp) "CLASSIX_Addr_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_CLD_Connector_Test.icc b/tests/CLASSIX_CLD_Connector_Test.icc new file mode 100644 index 00000000000..0e6616500a0 --- /dev/null +++ b/tests/CLASSIX_CLD_Connector_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_CLD_Connector_Test.exe" + { + source type (cpp) "CLASSIX_CLD_Connector_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Con_Acc_Test.icc b/tests/CLASSIX_Con_Acc_Test.icc new file mode 100644 index 00000000000..d17e9fd3189 --- /dev/null +++ b/tests/CLASSIX_Con_Acc_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Con_Acc_Test.exe" + { + source type (cpp) "CLASSIX_Con_Acc_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Group_Test.icc b/tests/CLASSIX_Group_Test.icc new file mode 100644 index 00000000000..2dc3fd5b678 --- /dev/null +++ b/tests/CLASSIX_Group_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Group_Test.exe" + { + source type (cpp) "CLASSIX_Group_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Notify_Test.icc b/tests/CLASSIX_Notify_Test.icc new file mode 100644 index 00000000000..f3c29c97ce4 --- /dev/null +++ b/tests/CLASSIX_Notify_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Notify_Test.exe" + { + source type (cpp) "CLASSIX_Notify_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_OS_Test.icc b/tests/CLASSIX_OS_Test.icc new file mode 100644 index 00000000000..2896c5b3ef3 --- /dev/null +++ b/tests/CLASSIX_OS_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_OS_Test.exe" + { + source type (cpp) "CLASSIX_OS_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Reactor_Test.icc b/tests/CLASSIX_Reactor_Test.icc new file mode 100644 index 00000000000..8982535cec4 --- /dev/null +++ b/tests/CLASSIX_Reactor_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Reactor_Test.exe" + { + source type (cpp) "CLASSIX_Reactor_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Select_Reactor_Test.icc b/tests/CLASSIX_Select_Reactor_Test.icc new file mode 100644 index 00000000000..b7f06f11b5e --- /dev/null +++ b/tests/CLASSIX_Select_Reactor_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Select_Reactor_Test.exe" + { + source type (cpp) "CLASSIX_Select_Reactor_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/CLASSIX_Stream_Test.icc b/tests/CLASSIX_Stream_Test.icc new file mode 100644 index 00000000000..6811d6fdb0b --- /dev/null +++ b/tests/CLASSIX_Stream_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "CLASSIX_Stream_Test.exe" + { + source type (cpp) "CLASSIX_Stream_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Collection_Test.icc b/tests/Collection_Test.icc new file mode 100644 index 00000000000..b36c67bb625 --- /dev/null +++ b/tests/Collection_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Collection_Test.exe" + { + source type (cpp) "Collection_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Conn_Test.icc b/tests/Conn_Test.icc new file mode 100644 index 00000000000..1ae4651b51f --- /dev/null +++ b/tests/Conn_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Conn_Test.exe" + { + source type (cpp) "Conn_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/DLL_Test.icc b/tests/DLL_Test.icc new file mode 100644 index 00000000000..783af1bd1d3 --- /dev/null +++ b/tests/DLL_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "DLL_Test.exe" + { + source type (cpp) "DLL_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/DLList_Test.icc b/tests/DLList_Test.icc new file mode 100644 index 00000000000..010a2e759ea --- /dev/null +++ b/tests/DLList_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "DLList_Test.exe" + { + source type (cpp) "DLList_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Dynamic_Priority_Test.icc b/tests/Dynamic_Priority_Test.icc new file mode 100644 index 00000000000..2e32c40956f --- /dev/null +++ b/tests/Dynamic_Priority_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Dynamic_Priority_Test.exe" + { + source type (cpp) "Dynamic_Priority_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Enum_Interfaces_Test.icc b/tests/Enum_Interfaces_Test.icc new file mode 100644 index 00000000000..e02e53debf8 --- /dev/null +++ b/tests/Enum_Interfaces_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Enum_Interfaces_Test.exe" + { + source type (cpp) "Enum_Interfaces_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Env_Value_Test.icc b/tests/Env_Value_Test.icc new file mode 100644 index 00000000000..63665aee4a9 --- /dev/null +++ b/tests/Env_Value_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Env_Value_Test.exe" + { + source type (cpp) "Env_Value_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Future_Test.icc b/tests/Future_Test.icc new file mode 100644 index 00000000000..6b62f1d82df --- /dev/null +++ b/tests/Future_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Future_Test.exe" + { + source type (cpp) "Future_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Handle_Set_Test.icc b/tests/Handle_Set_Test.icc new file mode 100644 index 00000000000..c3b7f53f8ea --- /dev/null +++ b/tests/Handle_Set_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Handle_Set_Test.exe" + { + source type (cpp) "Handle_Set_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Hash_Map_Manager_Test.icc b/tests/Hash_Map_Manager_Test.icc new file mode 100644 index 00000000000..a9245ae17ed --- /dev/null +++ b/tests/Hash_Map_Manager_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Hash_Map_Manager_Test.exe" + { + source type (cpp) "Hash_Map_Manager_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/High_Res_Timer_Test.icc b/tests/High_Res_Timer_Test.icc new file mode 100644 index 00000000000..f703ae217df --- /dev/null +++ b/tests/High_Res_Timer_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "High_Res_Timer_Test.exe" + { + source type (cpp) "High_Res_Timer_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/IOStream_Test.icc b/tests/IOStream_Test.icc new file mode 100644 index 00000000000..a02572c7eca --- /dev/null +++ b/tests/IOStream_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "IOStream_Test.exe" + { + source type (cpp) "IOStream_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/MM_Shared_Memory_Test.icc b/tests/MM_Shared_Memory_Test.icc new file mode 100644 index 00000000000..5cb87f2c105 --- /dev/null +++ b/tests/MM_Shared_Memory_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "MM_Shared_Memory_Test.exe" + { + source type (cpp) "MM_Shared_Memory_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/MT_Reactor_Timer_Test.icc b/tests/MT_Reactor_Timer_Test.icc new file mode 100644 index 00000000000..d391eaf0b86 --- /dev/null +++ b/tests/MT_Reactor_Timer_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "MT_Reactor_Timer_Test.exe" + { + source type (cpp) "MT_Reactor_Timer_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/MT_SOCK_Test.icc b/tests/MT_SOCK_Test.icc new file mode 100644 index 00000000000..5c1ef1c81d0 --- /dev/null +++ b/tests/MT_SOCK_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "MT_SOCK_Test.exe" + { + source type (cpp) "MT_SOCK_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Makefile.bor b/tests/Makefile.bor new file mode 100644 index 00000000000..9b111d192e8 --- /dev/null +++ b/tests/Makefile.bor @@ -0,0 +1,106 @@ +# +# Makefile for building the ACE tests +# + +TESTS = \ + Aio_Platform_Test \ + Atomic_Op_Test \ + Barrier_Test \ + Basic_Types_Test \ + Buffer_Stream_Test \ + CDR_Test \ + Collection_Test \ + Conn_Test \ + DLList_Test \ + DLL_Test \ + Dynamic_Priority_Test \ + Enum_Interfaces_Test \ + Env_Value_Test \ + Future_Test \ + Handle_Set_Test \ + High_Res_Timer_Test \ + Hash_Map_Manager_Test \ + IOStream_Test \ + Map_Test \ + Mem_Map_Test \ + MM_Shared_Memory_Test \ + MT_Reactor_Timer_Test \ + MT_SOCK_Test \ + Mem_Map_Test \ + Message_Block_Test \ + Message_Queue_Notifications_Test \ + Message_Queue_Test \ + Naming_Test \ + New_Fail_Test \ + Notify_Performance_Test \ + OrdMultiSet_Test \ + Pipe_Test \ + Priority_Buffer_Test \ + Priority_Reactor_Test \ + Priority_Task_Test \ + Process_Mutex_Test \ + Process_Strategy_Test \ + RB_Tree_Test \ + Reactor_Exceptions_Test \ + Reactor_Notify_Test \ + Reactor_Performance_Test \ + Reactor_Timer_Test \ + Reactors_Test \ + Reader_Writer_Test \ + Recursive_Mutex_Test \ + Reverse_Lock_Test \ + SOCK_Connector_Test \ + SOCK_Send_Recv_Test \ + SOCK_Test \ + SPIPE_Test \ + SString_Test \ + SV_Shared_Memory_Test \ + Semaphore_Test \ + Service_Config_Test \ + Sigset_Ops_Test \ + Simple_Message_Block_Test \ + Svc_Handler_Test \ + TSS_Test \ + Task_Test \ + Thread_Manager_Test \ + Thread_Mutex_Test \ + Thread_Pool_Test \ + Time_Service_Test \ + Time_Value_Test \ + Timeprobe_Test \ + Timer_Queue_Test \ + Tokens_Test \ + UPIPE_SAP_Test \ + Upgradable_RW_Test \ + XtReactor_Test + +# Map_Manager_Test \ + +all_tests: $(TESTS) + +!ifdef DEBUG +DEBUGFLAG = -DDEBUG +!endif + +!ifdef STATIC +STATICFLAG = -DSTATIC +!endif + +!ifdef PASCAL +PASCALFLAG = -DPASCAL +!endif + +$(TESTS): + $(MAKE) -fMakefile.bor -DNAME=$@ $(DEBUGFLAG) $(STATICFLAG) \ + $(PASCALFLAG) $(BINDIR)\$@.exe + +OBJFILES = $(OBJDIR)\$(NAME).obj +CFLAGS = -I.. $(ACE_CFLAGS) +CPPDIR = . +BINDIR=.\bor\bin +BASE_OBJDIR=.\bor\obj +LIBFILES = \ + $(ACE_ROOT)\bin\ace$(LIB_DECORATOR).lib + +!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor> + diff --git a/tests/Map_Manager_Test.icc b/tests/Map_Manager_Test.icc new file mode 100644 index 00000000000..af813897c7d --- /dev/null +++ b/tests/Map_Manager_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Map_Manager_Test.exe" + { + source type (cpp) "Map_Manager_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Map_Test.icc b/tests/Map_Test.icc new file mode 100644 index 00000000000..1ac3b09db52 --- /dev/null +++ b/tests/Map_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Map_Test.exe" + { + source type (cpp) "Map_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Mem_Map_Test.icc b/tests/Mem_Map_Test.icc new file mode 100644 index 00000000000..00a3e8c9dc6 --- /dev/null +++ b/tests/Mem_Map_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Mem_Map_Test.exe" + { + source type (cpp) "Mem_Map_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Message_Block_Test.icc b/tests/Message_Block_Test.icc new file mode 100644 index 00000000000..bc1d3d8508b --- /dev/null +++ b/tests/Message_Block_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Message_Block_Test.exe" + { + source type (cpp) "Message_Block_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Message_Queue_Notifications_Test.icc b/tests/Message_Queue_Notifications_Test.icc new file mode 100644 index 00000000000..1b4f8b21ae2 --- /dev/null +++ b/tests/Message_Queue_Notifications_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Message_Queue_Notifications_Test.exe" + { + source type (cpp) "Message_Queue_Notifications_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Message_Queue_Test.icc b/tests/Message_Queue_Test.icc new file mode 100644 index 00000000000..21674f92c35 --- /dev/null +++ b/tests/Message_Queue_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Message_Queue_Test.exe" + { + source type (cpp) "Message_Queue_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Naming_Test.icc b/tests/Naming_Test.icc new file mode 100644 index 00000000000..82bef6c6916 --- /dev/null +++ b/tests/Naming_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Naming_Test.exe" + { + source type (cpp) "Naming_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Notify_Performance_Test.icc b/tests/Notify_Performance_Test.icc new file mode 100644 index 00000000000..2ff67813697 --- /dev/null +++ b/tests/Notify_Performance_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Notify_Performance_Test.exe" + { + source type (cpp) "Notify_Performance_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/OrdMultiSet_Test.icc b/tests/OrdMultiSet_Test.icc new file mode 100644 index 00000000000..b74e8f468b4 --- /dev/null +++ b/tests/OrdMultiSet_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "OrdMultiSet_Test.exe" + { + source type (cpp) "OrdMultiSet_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Pipe_Test.icc b/tests/Pipe_Test.icc new file mode 100644 index 00000000000..bc6ad7d05d5 --- /dev/null +++ b/tests/Pipe_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Pipe_Test.exe" + { + source type (cpp) "Pipe_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Priority_Buffer_Test.icc b/tests/Priority_Buffer_Test.icc new file mode 100644 index 00000000000..cfd3a72b880 --- /dev/null +++ b/tests/Priority_Buffer_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Priority_Buffer_Test.exe" + { + source type (cpp) "Priority_Buffer_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Priority_Reactor_Test.icc b/tests/Priority_Reactor_Test.icc new file mode 100644 index 00000000000..46831825cc0 --- /dev/null +++ b/tests/Priority_Reactor_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Priority_Reactor_Test.exe" + { + source type (cpp) "Priority_Reactor_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Priority_Task_Test.icc b/tests/Priority_Task_Test.icc new file mode 100644 index 00000000000..c2b446c877c --- /dev/null +++ b/tests/Priority_Task_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Priority_Task_Test.exe" + { + source type (cpp) "Priority_Task_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Process_Mutex_Test.icc b/tests/Process_Mutex_Test.icc new file mode 100644 index 00000000000..33ae797b3bf --- /dev/null +++ b/tests/Process_Mutex_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Process_Mutex_Test.exe" + { + source type (cpp) "Process_Mutex_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Process_Strategy_Test.icc b/tests/Process_Strategy_Test.icc new file mode 100644 index 00000000000..6d635f45967 --- /dev/null +++ b/tests/Process_Strategy_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Process_Strategy_Test.exe" + { + source type (cpp) "Process_Strategy_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Purgable_Map_Manager_Test.icc b/tests/Purgable_Map_Manager_Test.icc new file mode 100644 index 00000000000..0ffd1a6e76b --- /dev/null +++ b/tests/Purgable_Map_Manager_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Purgable_Map_Manager_Test.exe" + { + source type (cpp) "Purgable_Map_Manager_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/RB_Tree_Test.icc b/tests/RB_Tree_Test.icc new file mode 100644 index 00000000000..647fe72248e --- /dev/null +++ b/tests/RB_Tree_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "RB_Tree_Test.exe" + { + source type (cpp) "RB_Tree_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reactor_Exceptions_Test.icc b/tests/Reactor_Exceptions_Test.icc new file mode 100644 index 00000000000..be4e903690f --- /dev/null +++ b/tests/Reactor_Exceptions_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reactor_Exceptions_Test.exe" + { + source type (cpp) "Reactor_Exceptions_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reactor_Notify_Test.icc b/tests/Reactor_Notify_Test.icc new file mode 100644 index 00000000000..60e80213aa5 --- /dev/null +++ b/tests/Reactor_Notify_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reactor_Notify_Test.exe" + { + source type (cpp) "Reactor_Notify_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reactor_Performance_Test.icc b/tests/Reactor_Performance_Test.icc new file mode 100644 index 00000000000..1c8c6bf81bf --- /dev/null +++ b/tests/Reactor_Performance_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reactor_Performance_Test.exe" + { + source type (cpp) "Reactor_Performance_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reactor_Timer_Test.icc b/tests/Reactor_Timer_Test.icc new file mode 100644 index 00000000000..7803cfb2fea --- /dev/null +++ b/tests/Reactor_Timer_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reactor_Timer_Test.exe" + { + source type (cpp) "Reactor_Timer_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reactors_Test.icc b/tests/Reactors_Test.icc new file mode 100644 index 00000000000..08ee8110b58 --- /dev/null +++ b/tests/Reactors_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reactors_Test.exe" + { + source type (cpp) "Reactors_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Reader_Writer_Test.icc b/tests/Reader_Writer_Test.icc new file mode 100644 index 00000000000..1066d73ee30 --- /dev/null +++ b/tests/Reader_Writer_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Reader_Writer_Test.exe" + { + source type (cpp) "Reader_Writer_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Recursive_Mutex_Test.icc b/tests/Recursive_Mutex_Test.icc new file mode 100644 index 00000000000..765c7537b05 --- /dev/null +++ b/tests/Recursive_Mutex_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Recursive_Mutex_Test.exe" + { + source type (cpp) "Recursive_Mutex_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/SOCK_Connector_Test.icc b/tests/SOCK_Connector_Test.icc new file mode 100644 index 00000000000..65474d09c4f --- /dev/null +++ b/tests/SOCK_Connector_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "SOCK_Connector_Test.exe" + { + source type (cpp) "SOCK_Connector_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/SOCK_Test.icc b/tests/SOCK_Test.icc new file mode 100644 index 00000000000..bff3f281b73 --- /dev/null +++ b/tests/SOCK_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "SOCK_Test.exe" + { + source type (cpp) "SOCK_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/SPIPE_Test.icc b/tests/SPIPE_Test.icc new file mode 100644 index 00000000000..06adf2cd6fd --- /dev/null +++ b/tests/SPIPE_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "SPIPE_Test.exe" + { + source type (cpp) "SPIPE_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/SString_Test.icc b/tests/SString_Test.icc new file mode 100644 index 00000000000..b78d81ee967 --- /dev/null +++ b/tests/SString_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "SString_Test.exe" + { + source type (cpp) "SString_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/SV_Shared_Memory_Test.icc b/tests/SV_Shared_Memory_Test.icc new file mode 100644 index 00000000000..b9523b7f01d --- /dev/null +++ b/tests/SV_Shared_Memory_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "SV_Shared_Memory_Test.exe" + { + source type (cpp) "SV_Shared_Memory_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Semaphore_Test.icc b/tests/Semaphore_Test.icc new file mode 100644 index 00000000000..ddea71a4643 --- /dev/null +++ b/tests/Semaphore_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Semaphore_Test.exe" + { + source type (cpp) "Semaphore_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Service_Config_Test.icc b/tests/Service_Config_Test.icc new file mode 100644 index 00000000000..ad6a2672a33 --- /dev/null +++ b/tests/Service_Config_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Service_Config_Test.exe" + { + source type (cpp) "Service_Config_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Sigset_Ops_Test.icc b/tests/Sigset_Ops_Test.icc new file mode 100644 index 00000000000..402f4a58cc5 --- /dev/null +++ b/tests/Sigset_Ops_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Sigset_Ops_Test.exe" + { + source type (cpp) "Sigset_Ops_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Simple_Message_Block_Test.icc b/tests/Simple_Message_Block_Test.icc new file mode 100644 index 00000000000..491d98b82ab --- /dev/null +++ b/tests/Simple_Message_Block_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Simple_Message_Block_Test.exe" + { + source type (cpp) "Simple_Message_Block_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/TSS_Test.icc b/tests/TSS_Test.icc new file mode 100644 index 00000000000..aa297680546 --- /dev/null +++ b/tests/TSS_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "TSS_Test.exe" + { + source type (cpp) "TSS_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Task_Test.icc b/tests/Task_Test.icc new file mode 100644 index 00000000000..b8ca8f285eb --- /dev/null +++ b/tests/Task_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Task_Test.exe" + { + source type (cpp) "Task_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Thread_Manager_Test.icc b/tests/Thread_Manager_Test.icc new file mode 100644 index 00000000000..dded477b8fd --- /dev/null +++ b/tests/Thread_Manager_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Thread_Manager_Test.exe" + { + source type (cpp) "Thread_Manager_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Thread_Mutex_Test.icc b/tests/Thread_Mutex_Test.icc new file mode 100644 index 00000000000..7faf8bd52fd --- /dev/null +++ b/tests/Thread_Mutex_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Thread_Mutex_Test.exe" + { + source type (cpp) "Thread_Mutex_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Thread_Pool_Reactor_Test.icc b/tests/Thread_Pool_Reactor_Test.icc new file mode 100644 index 00000000000..fc15a6ae3cf --- /dev/null +++ b/tests/Thread_Pool_Reactor_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Thread_Pool_Reactor_Test.exe" + { + source type (cpp) "Thread_Pool_Reactor_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Thread_Pool_Test.icc b/tests/Thread_Pool_Test.icc new file mode 100644 index 00000000000..4b90a1380a8 --- /dev/null +++ b/tests/Thread_Pool_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Thread_Pool_Test.exe" + { + source type (cpp) "Thread_Pool_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Time_Service_Test.icc b/tests/Time_Service_Test.icc new file mode 100644 index 00000000000..563240411b2 --- /dev/null +++ b/tests/Time_Service_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Time_Service_Test.exe" + { + source type (cpp) "Time_Service_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Time_Value_Test.icc b/tests/Time_Value_Test.icc new file mode 100644 index 00000000000..f88e9c66963 --- /dev/null +++ b/tests/Time_Value_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Time_Value_Test.exe" + { + source type (cpp) "Time_Value_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Timeprobe_Test.icc b/tests/Timeprobe_Test.icc new file mode 100644 index 00000000000..c1d9dc3a194 --- /dev/null +++ b/tests/Timeprobe_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Timeprobe_Test.exe" + { + source type (cpp) "Timeprobe_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Timer_Queue_Test.icc b/tests/Timer_Queue_Test.icc new file mode 100644 index 00000000000..37276b4070f --- /dev/null +++ b/tests/Timer_Queue_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Timer_Queue_Test.exe" + { + source type (cpp) "Timer_Queue_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Tokens_Test.icc b/tests/Tokens_Test.icc new file mode 100644 index 00000000000..3381ea44ca5 --- /dev/null +++ b/tests/Tokens_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Tokens_Test.exe" + { + source type (cpp) "Tokens_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/UPIPE_SAP_Test.icc b/tests/UPIPE_SAP_Test.icc new file mode 100644 index 00000000000..785888c0180 --- /dev/null +++ b/tests/UPIPE_SAP_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "UPIPE_SAP_Test.exe" + { + source type (cpp) "UPIPE_SAP_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/Upgradable_RW_Test.icc b/tests/Upgradable_RW_Test.icc new file mode 100644 index 00000000000..117be19b9f2 --- /dev/null +++ b/tests/Upgradable_RW_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "Upgradable_RW_Test.exe" + { + source type (cpp) "Upgradable_RW_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/XtReactor_Test.icc b/tests/XtReactor_Test.icc new file mode 100644 index 00000000000..c37c4d06afb --- /dev/null +++ b/tests/XtReactor_Test.icc @@ -0,0 +1,22 @@ +option + define ("ACE_HAS_WINSOCK2","1"), + define ("__ACE_INLINE__","0"), + define ("WIN32","1"), + define ("_WINDOWS","1"), + define("ACE_HAS_DLL","0"), + link(libSearchPath,'H:\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + { + target "XtReactor_Test.exe" + { + source type (cpp) "XtReactor_Test.cpp" + + source type (lib) "aced.lib" + source type (lib) "advapi32.lib" + source type (lib) "user32.lib" + source type (lib) "ws2_32.lib" + source type (lib) "wsock32.lib" + source type (lib) "mswsock.lib" + } + } diff --git a/tests/t.icc b/tests/t.icc new file mode 100644 index 00000000000..bdd9992b852 --- /dev/null +++ b/tests/t.icc @@ -0,0 +1,277 @@ +option + link(libSearchPath,'H:\ACE+TAO\ACE_wrappers\ace'), + incl(searchPath,'H:\ACE+TAO\ACE_wrappers'), + link(linkWithMultiThreadLib,yes) + + target "Reactor_Timer_Test.exe" + { + source type(cpp) "Aio_Platform_Test.cpp" + } + target "Atomic_Op_Test.exe" + { + source type(cpp) "Atomic_Op_Test.cpp" + } + target "Barrier_Test.exe" + { + source type(cpp) "Barrier_Test.cpp" + } + target "Basic_Types_Test.exe" + { + source type(cpp) "Basic_Types_Test.cpp" + } + target "Buffer_Stream_Test.exe" + { + source type(cpp) "Buffer_Stream_Test.cpp" + } + target "CDR_Test.exe" + { + source type(cpp) "CDR_Test.cpp" + } + target "Collection_Test.exe" + { + source type(cpp) "Collection_Test.cpp" + } + target "Conn_Test.exe" + { + source type(cpp) "Conn_Test.cpp" + } + target "DLL_Test.cpp" + { + source type(cpp) "DLL_Test.cpp" + } + target "DLList_Test.exe" + { + source type(cpp) "DLList_Test.cpp" + } + target "Dynamic_Priority_Test.exe" + { + source type(cpp) "Dynamic_Priority_Test.cpp" + } + target "Enum_Interfaces_Test.exe" + { + source type(cpp) "Enum_Interfaces_Test.cpp" + } + target "Env_Value_Test.exe" + { + source type(cpp) "Env_Value_Test.cpp" + } + target "Future_Test.exe" + { + source type(cpp) "Future_Test.cpp" + } + target "Handle_Set_Test.exe" + { + source type(cpp) "Handle_Set_Test.cpp" + } + target "Hash_Map_Manager_Test.exe" + { + source type(cpp) "Hash_Map_Manager_Test.cpp" + } + target "High_Res_Timer_Test.exe" + { + source type(cpp) "High_Res_Timer_Test.cpp" + } + target "IOStream_Test.exe" + { + source type(cpp) "IOStream_Test.cpp" + } + target "MM_Shared_Memory_Test.exe" + { + source type(cpp) "MM_Shared_Memory_Test.cpp" + } + target "MT_Reactor_Timer_Test.cpp" + { + source type(cpp) "MT_Reactor_Timer_Test.cpp" + } + target "MT_SOCK_Test.exe" + { + source type(cpp) "MT_SOCK_Test.cpp" + } + target "Map_Manager_Test.exe" + { + source type(cpp) "Map_Manager_Test.cpp" + } + target "Map_Test.exe" + { + source type(cpp) "Map_Test.cpp" + } + target "Mem_Map_Test.exe" + { + source type(cpp) "Mem_Map_Test.cpp" + } + target "Message_Block_Test.cpp" + { + source type(cpp) "Message_Block_Test.cpp" + } + target "Message_Queue_Notifications_Test.exe" + { + source type(cpp) "Message_Queue_Notifications_Test.cpp" + } + target "Message_Queue_Test.exe" + { + source type(cpp) "Message_Queue_Test.cpp" + } + target "Naming_Test.exe" + { + source type(cpp) "Naming_Test.cpp" + } + target "Notify_Performance_Test.exe" + { + source type(cpp) "Notify_Performance_Test.cpp" + } + target "OrdMultiSet_Test.exe" + { + source type(cpp) "OrdMultiSet_Test.cpp" + } + target "Pipe_Test.exe" + { + source type(cpp) "Pipe_Test.cpp" + } + target "Priority_Buffer_Test.exe" + { + source type(cpp) "Priority_Buffer_Test.cpp" + } + target "Priority_Reactor_Test.exe" + { + source type(cpp) "Priority_Reactor_Test.cpp" + } + target "Priority_Task_Test.exe" + { + source type(cpp) "Priority_Task_Test.cpp" + } + target "Process_Mutex_Test.exe" + { + source type(cpp) "Process_Mutex_Test.cpp" + } + target "Process_Strategy_Test.exe" + { + source type(cpp) "Process_Strategy_Test.cpp" + } + target "Purgable_Map_Manager_Test.exe" + { + source type(cpp) "Purgable_Map_Manager_Test.cpp" + } + target "RB_Tree_Test.exe" + { + source type(cpp) "RB_Tree_Test.cpp" + } + target "Reactor_Exceptions_Test.exe" + { + source type(cpp) "Reactor_Exceptions_Test.cpp" + } + target "Reactor_Notify_Test.exe" + { + source type(cpp) "Reactor_Notify_Test.cpp" + } + target "Reactor_Performance_Test.exe" + { + source type(cpp) "Reactor_Performance_Test.cpp" + } + target "Reactor_Timer_Test.exe" + { + source type(cpp) "Reactor_Timer_Test.cpp" + } + target "Reactors_Test.exe" + { + source type(cpp) "Reactors_Test.cpp" + } + target "Reader_Writer_Test.exe" + { + source type(cpp) "Reader_Writer_Test.cpp" + } + target "Recursive_Mutex_Test.exe" + { + source type(cpp) "Recursive_Mutex_Test.cpp" + } + target "SOCK_Connector_Test.exe" + { + source type(cpp) "SOCK_Connector_Test.cpp" + } + target "SOCK_Test.exe" + { + source type(cpp) "SOCK_Test.cpp" + } + target "SPIPE_Test.exe" + { + source type(cpp) "SPIPE_Test.cpp" + } + target "SString_Test.exe" + { + source type(cpp) "SString_Test.cpp" + } + target "SV_Shared_Memory_Test.exe" + { + source type(cpp) "SV_Shared_Memory_Test.cpp" + } + target "Semaphore_Test.exe" + { + source type(cpp) "Semaphore_Test.cpp" + } + target "Service_Config_Test.exe" + { + source type(cpp) "Service_Config_Test.cpp" + } + target "Sigset_Ops_Test.exe" + { + source type(cpp) "Sigset_Ops_Test.cpp" + } + target "Simple_Message_Block_Test.exe" + { + source type(cpp) "Simple_Message_Block_Test.cpp" + } + target "TSS_Test.exe" + { + source type(cpp) "TSS_Test.cpp" + } + target "Task_Test.exe" + { + source type(cpp) "Task_Test.cpp" + } + target "Thread_Manager_Test.exe" + { + source type(cpp) "Thread_Manager_Test.cpp" + } + target "Thread_Mutex_Test.exe" + { + source type(cpp) "Thread_Mutex_Test.cpp" + } + target "Thread_Pool_Reactor_Test.exe" + { + source type(cpp) "Thread_Pool_Reactor_Test.cpp" + } + target "Thread_Pool_Test.exe" + { + source type(cpp) "Thread_Pool_Test.cpp" + } + target "Time_Service_Test.exe" + { + source type(cpp) "Time_Service_Test.cpp" + } + target "Time_Value_Test.exe" + { + source type(cpp) "Time_Value_Test.cpp" + } + target "Timeprobe_Test.exe" + { + source type(cpp) "Timeprobe_Test.cpp" + } + target "Timer_Queue_Test.exe" + { + source type(cpp) "Timer_Queue_Test.cpp" + } + target "Tokens_Test.exe" + { + source type(cpp) "Tokens_Test.cpp" + } + target "UPIPE_SAP_Test.exe" + { + source type(cpp) "UPIPE_SAP_Test.cpp" + } + target "Upgradable_RW_Test.exe" + { + source type(cpp) "Upgradable_RW_Test.cpp" + } + target "XtReactor_Test.exe" + { + source type(cpp) "XtReactor_Test.cpp" + } |