summaryrefslogtreecommitdiff
path: root/ACE/tests
Commit message (Collapse)AuthorAgeFilesLines
* Tue Jul 20 15:08:49 UTC 2010 Phil Mesnier <mesnier_p@ociweb.com>Phil Mesnier2010-07-201-1/+1
| | | | | | | | | | * tests/Bug_3319_Regression_Test.cpp: Fix the test to be consistent with revised service config behavior. The test had assumed that ACE_Service_Config::open() would return 0 even if svc.conf were not present, but since it was setting the ignore_default_svc_conf_file to 0, the restore behavior of the service configurator is to fail with ENOENT in that case.
* Mon Jul 19 11:50:59 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-07-191-1/+1
| | | | | | | | | | | | | * ace/TSS_T.inl: * ace/TSS_T.h: * ace/TSS_T.cpp: Mostly fixed bug 3539. It doesn't fix a case when main thread doesn't own ACE_TSS but still uses it. Fixing the later is not straight forward and will require a lot more efforts. Also rearranged the code so that it has less duplicates. * tests/run_test.lst: Marked the test as fixed.
* Wed Jul 7 14:53:12 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-07-073-1/+141
| | | | | | | * tests/run_test.lst: * tests/Bug_3539_Regression_Test.cpp: * tests/tests.mpc: Added a test for bug 3539 as non-fixed.
* Thu Jun 24 08:52:51 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-06-241-8/+8
| | | | | * *.mpc: Use dynamicflags += instead of dynamicflags =
* Wed Jun 23 14:17:26 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-06-231-0/+1
| | | | | * tests/Log_Msg_Test.cpp: Added nul terminator at the end of a string that was missing.
* ChangeLogTag:Fri Jun 18 20:32:54 UTC 2010 Steve Huston <shuston@riverace.com>Steve Huston2010-06-181-2/+8
|
* ChangeLogTag:Thu Jun 17 21:59:34 UTC 2010 Steve Huston <shuston@riverace.com>Steve Huston2010-06-171-0/+19
|
* ChangeLogTag:Thu Jun 17 19:01:32 UTC 2010 Steve Huston <shuston@riverace.com>Steve Huston2010-06-171-0/+44
|
* ChangeLogTag: Wed Jun 9 14:44:07 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-06-095-11/+10
|
* ChangeLogTag: Mon Jun 7 22:57:08 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-06-072-2/+9
|
* ChangeLogTag: Mon Jun 7 21:39:54 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-06-077-14/+88
|
* Mon May 24 14:42:57 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-05-241-1/+3
| | | | | | | | | * ace/OS_NS_dirent.cpp: Small code improvements to closedir * tests/FlReactor_Test.cpp: Small changes
* ChangeLogTag: Thu May 20 22:05:24 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-05-201-1/+1
|
* ChangeLogTag: Tue May 18 21:34:34 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-05-1823-26/+26
|
* Mon May 17 11:32:52 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-05-171-4/+11
| | | | | | | | | | | | * tests/Dev_Poll_Reactor_Test.cpp: Fixed 2 memory leaks in this test. Previously both client and server svc handlers were leaked. After fixing that it turned out that client is not able to finish properly as its reactor is not shutdown. The later was happening because server was reaching desired exit condition faster and once it get closed client could never get a chance to reach its own exit condition. So, in short, there is no point in this test to run client side reactor if the client's svc handler got closed.
* Thu May 6 11:43:43 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-05-061-12/+12
| | | | | | | | | * examples/QOS/Diffserv/run_test.pl: * examples/Reactor/TP_Reactor/run_test.pl: Use TestTarget * tests/OS_Test.cpp: Prefix increment, const changes
* (no commit message)Johnny Willemsen2010-05-061-1/+1
|
* Mon Apr 26 08:29:58 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-04-269-97/+243
| | | | | | | | | | | | | | | | | * tests/SSL/SSL_Asynch_Stream_Test.cpp: * tests/SSL/Bug_2912_Regression_Test.cpp: * tests/Proactor_UDP_Test.cpp: * tests/MT_Reference_Counted_Event_Handler_Test.cpp: * tests/Proactor_Test_IPV6.cpp: * tests/Bug_2740_Regression_Test.cpp: * tests/Dev_Poll_Reactor_Test.cpp: * tests/Proactor_Test.cpp: * tests/TP_Reactor_Test.cpp: All these tests need to block SIGPIPE signal. POSIX defines that newly created threads must inherit signal mask from the creating thread. The later doesn't happen at least on Solaris 10. With this change each new thread in the above tests will block SIGPIPE signal individually.
* Mon Apr 19 12:44:56 UTC 2010 Chad Beaulac <chad@objectivesolutions.com>cbeaulac2010-04-192-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ace/Service_Types.h * ace/Service_Types.inl * ace/Service_Types.cpp Added service_type_ attr to expose the type of service being managed to the ACE_Service_Repository. This allows the ASR to manage the lifecycle of the ACE_Module and ACE_Stream in order to avoid a double delete of ACE_Module at shutdown. ACE_Stream_Type::fini was modified to not call ACE_Module_Type::fini as this will results in a double delete when ACE_Service_Repository::fini is called. ACE_Stream_Type::remove(module_name) was modified to not call ACE_Module_Type::fini as this will results in a double delete when ACE_Service_Repository::fini is called also. * ace/Service_Repository.cpp Modified ASR::fini to iterate over the service_array_ twice. ACE_Service_Type::fini is called on all ACE_Stream_Type and ACE_Service_Object_Type instances first. Then, fini is called on all ACE_Modules_Type instances. All calls to fini are done in the order the services appear in the ASR::service_array_ except for the grouping described here. The calls to ACE_Module_Type::fini must be done last because ACE_Stream_Type::fini accesses the Modules so they must not be deleted by a call to ACE_Module_Type::fini before that. * tests/Bug_3334_Regresssion_Test.cpp Added call to ACE_Service_Repository::fini_svcs() to capture all debug output before the application exits. * tests/run_tests.lst This fixes Bugzilla #3334
* Tue Mar 30 09:34:38 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-301-1/+10
| | | | | * tests/Thread_Timer_Queue_Adapter_Test.cpp: Fixed compilation problems with single threaded builds
* Tue Mar 30 07:50:02 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-301-1/+1
| | | | | * tests/MT_NonBlocking_Connect_Test.cpp: Fixed compilation problem for single threaded builds.
* (no commit message)Johnny Willemsen2010-03-291-2/+2
|
* (no commit message)Johnny Willemsen2010-03-291-1/+1
|
* (no commit message)Johnny Willemsen2010-03-291-5/+3
|
* (no commit message)Johnny Willemsen2010-03-291-4/+5
|
* Mon Mar 29 12:25:38 UTC 2010 Marcel Smit <msmit@remedy.nl>msmit2010-03-291-33/+13
| | | | | * tests/NDDS_Timer_Test.cpp: Resolved test issues.
* (no commit message)Johnny Willemsen2010-03-291-4/+4
|
* Mon Mar 29 11:05:23 UTC 2010 Marcel Smit <msmit@remedy.nl>msmit2010-03-293-0/+213
| | | | | | | * tests/NDDS_Timer_Test.cpp: * tests/run_test.lst: * tests/tests.mpc: Added timer test which uses the ndds timers.
* (no commit message)Johnny Willemsen2010-03-291-10/+11
|
* Fri Mar 26 09:02:50 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-261-1/+6
| | | | | * tests/run_test.pl: Added -l option which allows to run tests selectively.
* Fri Mar 19 16:52:08 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-191-4/+4
| | | | | | * tests/MT_NonBlocking_Connect_Test.cpp: And another attempt to workaround WFMO reactor. The previous changes could break the test on other platforms.
* Fri Mar 19 16:16:30 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-191-1/+1
| | | | | * tests/MT_NonBlocking_Connect_Test.cpp: Fixed a typo in previous commit.
* Fri Mar 19 15:58:52 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-191-2/+5
| | | | | | * tests/MT_NonBlocking_Connect_Test.cpp: Fixed a test on Windows for WFMO reactor which doesn't support work_pending() function.
* Thu Mar 18 10:40:29 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-181-0/+9
| | | | | * tests/NonBlocking_Conn_Test.cpp: Made logging a bit more verbose.
* Wed Mar 17 11:58:10 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-176-28/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | Committed the changes that I had to revert before x.7.7. * ace/Strategies_T.cpp: Changed the code so that close() is called in case of failure instead of destroy(). * ace/Connector.cpp: * ace/Connector.h: Changed the fix for bug#3731. Now NBCH adds a reference in constructor and removes it in destructor if the SVC_HANDLER that it owns is reference counted. This is a cleaner solution than the one used before. * tests/NonBlocking_Conn_Test.h: * tests/Process_Strategy_Test.cpp: * tests/NonBlocking_Conn_Test.cpp: Extended NonBlocking_Conn_Test and changed Process_Strategy_Test because of the change in Strategies_T.cpp. * tests/MT_NonBlocking_Connect_Test.cpp: * tests/tests.mpc: * tests/run_test.lst: Added a new test. This can be a reproducer for the bug#3731 which currently doesn't have its own test.
* (no commit message)Johnny Willemsen2010-03-171-7/+7
|
* (no commit message)Johnny Willemsen2010-03-151-97/+98
|
* Mon Mar 15 07:58:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-152-0/+304
| | | | | | | | | | | | | | | | | | | | | | | | | * ace/High_Res_Timer.cpp * ace/High_Res_Timer.h * ace/High_Res_Timer.inl Use 64bit calculations to increase our precision. If you want to have the 32bit calculations, add ACE_USE_WINDOWS_32BIT_HIGH_RES_TIMER_CALCULATIONS as define. If the scoreboard doesn't show any platforms requiring 32bit, we will remove that code before the next micro release goes out Thanks to Alon Diamant <diamant dot alon at gmail dot com> for supplying the patches. This fixes bugzilla 3703. * ace/Timer_Queue_Adapters.cpp * ace/Timer_Queue_Adapters.h * ace/Timer_Queue_Adapters.inl Make it possible to use a customer event handler in ACE_Thread_Timer_Queue_Adapter. Thanks to Alon Diamant <diamant dot alon at gmail dot com> for supplying the patches. This fixes bugzilla 3614 * tests/tests.mpc: * tests/Thread_Timer_Queue_Adapter_Test.cpp: New test for testing custom event handlers in ACE_Thread_Timer_Queue_Adapter. Thanks to Alon Diamant <diamant dot alon at gmail dot com> for creating this new test
* ChangeLogTag: Fri Mar 12 21:53:30 UTC 2010 Adam Mitz <mitza@ociweb.com>mitza2010-03-122-2/+2
|
* ChangeLogTag: Fri Mar 12 12:09:02 UTC 2010 Olli Savia <ops@iki.fi>olli2010-03-121-0/+60
|
* Thu Mar 11 09:33:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-111-1/+1
| | | | | | | | | | | | | | | | | | | * ace/config-g++-common.h: PPU 4.1.1 for PPC doesn't have atomic builtin support for datatypes of size 1 and 2 * ace/Atomic_Op.h: * ace/Atomic_Op.inl: Added defines to just disable short/unsigned short/bool specializations * tests/run_test.lst: Enable 2610 but mark it as not fixed * ace/Process_Manager.cpp: Layout change * ace/WIN32_Asynch_IO.cpp: Const changes
* Wed Mar 10 10:31:16 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>vzykov2010-03-101-1/+1
| | | | | | | | * ace/Svc_Handler.cpp: * tests/run_test.lst: Fixed bug#2609 and enabled the test for it. Thanks to Milan Cvetkovic <milan dot cvetkovic at mpathix dot com> for contributing this.
* Mon Mar 8 08:24:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-081-21/+61
| | | | | * tests/Atomic_Op_Test.cpp: Added tests for short/unsigned short/bool
* Fri Mar 5 11:30:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-051-0/+2
| | | | | * tests/Atomic_Op_Test.cpp: Print the number of iterations
* Fri Mar 5 11:28:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-051-6/+44
| | | | | * tests/Atomic_Op_Test.cpp: Also measure postfix increment/decrement
* Fri Mar 5 11:21:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-051-7/+39
| | | | | * tests/Atomic_Op_Test.cpp: Added more checks to make sure Atomic_Op does work
* Thu Mar 4 07:50:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2010-03-041-319/+27
| | | | | | | | | | | | | | * tests/Atomic_Op_Test.cpp: Rewritten this test to use a template method so that we can test atomic op easily for various data types * ace/Time_Value.cpp: Layout changes and fixed compile problem with CB2010. This fixes bugzilla 3835, thanks to Jan Kalin <jan dot kalin at zag dot si> for reporting this. * ace/config-win32-borland.h: CB also has long timevalue mismatch
* (no commit message)Johnny Willemsen2010-02-271-3/+3
|
* ChangeLogTag:Fri Feb 26 15:36:12 UTC 2010 Steve Huston <shuston@riverace.com>Steve Huston2010-02-261-1/+5
|
* Fixed unused arg warning.cleeland2010-02-261-1/+1
|