Commit Graph

389 Commits

Author SHA1 Message Date
Mike Gelfand
2ea1d07c2c Unmask SIGINT when testing termination by signal
This will ensure that default signal handler is called (instead of possibly
ignoring the signal if it was masked by one of parent processes) and the
process is indeed terminated abnormally.
2015-12-10 21:47:52 +03:00
Aleksandar Fabijanic
cf02d38986 Merge pull request #1066 from fbraem/develop
Escape Unicode in JSON
2015-12-07 11:56:49 -06:00
fbraem
18b92b5b36 Use escape to correctly escape unicode characters 2015-12-07 17:33:10 +01:00
Alex Fabijanic
4499062f0d add rpath for test dynamic library; silence unused warnings for test 2015-12-06 22:08:18 -06:00
FrancisANDRE
3c2a83d2ee Use POCO_BASE for looking for test data directory.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-06 09:07:31 +01:00
Mike Gelfand
3abdb1fc23 Return non-zero from ProcessHandle::wait if killed by signal
Currently, ProcessHandle::wait (and transitively Process::wait) on *NIX
return zero if process was terminated as a result of unhandled signal.
Check if this is the case and return negative signal number instead to
indicate non-graceful process termination.
2015-10-03 15:32:15 +03:00
David Morán
cd01fad478 Added regular expression test for named substrings 2015-09-28 12:13:59 +02:00
aaron0x
0a64390399 Enhance FileChannel purge setting. 2015-09-26 23:31:30 +08:00
Guenter Obiltschnig
e63c56cafb added testcase for #936 2015-09-11 14:01:10 +02:00
Guenter Obiltschnig
622d9d4c6c NumberParser::parseHex[64](): allow 0x/0X prefix 2015-09-09 14:38:08 +02:00
Guenter Obiltschnig
ea52ac5358 do not use of UINT64_C 2015-09-09 13:30:14 +02:00
Guenter Obiltschnig
f315dc603e fix for pre-C++11 compilers 2015-09-09 12:59:35 +02:00
Guenter Obiltschnig
15f034cbbd fix GH #931: make strToInt() more strict in what it accepts 2015-09-09 11:14:29 +02:00
FrancisANDRE
d75119648b Merge remote-tracking branch 'pocoproject/develop' into develop 2015-08-24 14:34:28 +02:00
FrancisANDRE
293e7c91f7 use /dev/tty instead /dev/console on Cygwin otherwise a file acces check
makes the test failing.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-22 09:54:29 +02:00
FrancisANDRE
d1a8c11f98 skip SharedMemoryTest for DPOCO_NO_SHAREDMEMORY platform
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:15:13 +02:00
FrancisANDRE
462deab58b condition assert for POCO_NO_FPENVIRONMENT platform
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:13:56 +02:00
FrancisANDRE
5354989f45 add a newline for clarity
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-21 14:12:27 +02:00
Guenter Obiltschnig
ec71e76f0a PatternFormatter fix, added test 2015-08-20 20:23:13 +02:00
Mazyad Alabduljaleel
5cff648eea Added NotificationQueue::remove function
This includes appropriate tests, which pass on my Mac 10.4 machine
2015-08-06 14:13:11 +04:00
Guenter Obiltschnig
e438061ce7 fixed GH #722: Unicode Converter Test confuses string and char types 2015-07-31 10:23:16 +02:00
Guenter Obiltschnig
d2c64b4493 GH# 878: check for valid hex characters, support SHA-1 name-based UUIDs (v5) 2015-07-31 10:05:58 +02:00
Günter Obiltschnig
8b7b7cc818 again: VS2015: changed optimization for testsuite to custom, due to optimizer bug leading to crash in PBKDF2EngineTest 2015-07-30 18:58:52 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Günter Obiltschnig
d10c43d0d5 VS2015: changed optimization for testsuite to custom, due to optimizer bug leading to crash in PBKDF2EngineTest 2015-07-30 13:46:00 +02:00
Günter Obiltschnig
6c09516fee Project files for Visual Studio 2015 2015-07-30 11:15:52 +02:00
Guenter Obiltschnig
25b446502b removed GCC_DIAG_OFF 2015-04-23 17:31:05 +02:00
martin-osborne
12c0594db6 Corrected misspelt 'b' and 'c' words. 2015-04-06 17:56:13 +01:00
Alex Fabijanic
e26d1ffa13 Poco::Var operator== throws exception #769 2015-04-03 10:37:07 -05:00
Guenter Obiltschnig
1a8a7fc1b4 fix vs90 testsuite 2015-03-22 17:30:03 +01:00
Guenter Obiltschnig
dc7d874775 fixed project files 2015-03-22 14:33:04 +01:00
Guenter Obiltschnig
9279794ee9 fix affinity test 2015-03-20 09:52:13 +01:00
Guenter Obiltschnig
f481a4c92f fix affinity test 2015-03-20 09:50:56 +01:00
Alex Fabijanc
97abc36c14 update testsuite makefile 2015-03-19 23:30:23 -05:00
Alex Fabijanc
96a74bac48 update testuite VS projects 2015-03-19 23:28:14 -05:00
Alex Fabijanc
027c8a40e2 FIFOBuffer tidy up 2015-03-19 23:22:00 -05:00
Guenter Obiltschnig
2b1301b3e3 style and interface fixes for thread affinity 2015-03-18 16:40:22 +01:00
Aleksandar Fabijanic
8b96fd4a33 Merge pull request #743 from bas524/affinity
add thread affinity policy to threadpool
2015-03-17 17:47:54 -05:00
ale_bychuk
9d4d3e41dd Add thread affinity support to taskmanager 2015-03-12 16:12:33 +03:00
Guenter Obiltschnig
c52b6ec949 fix for libstdc++ workaround 2015-03-11 23:45:05 +01:00
Günter Obiltschnig
f5c49f0d94 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-03-11 22:07:29 +01:00
Günter Obiltschnig
6de327fe07 fixed missing member var init 2015-03-11 22:07:07 +01:00
Guenter Obiltschnig
59bd310130 workaround for clang/libstdc++ issue on OS X: seekg() returning -1 does not set failbit 2015-03-11 21:58:52 +01:00
ale_bychuk
4c1fe9ef02 add thread affinity policy to threadpool
there are OS_DEFAULT, UNIFORM_DISTRIBUTION and CUSTOM
With custom policy we can run thread on specified cpu
2015-03-11 23:39:21 +03:00
Günter Obiltschnig
67f90e2a8e fixed project files 2015-03-11 18:39:23 +01:00
Günter Obiltschnig
70eabf06e6 Merge pull request #738 from Sevalecan/develop
Move other FIFOBuffer tests to new BasicFIFOBufferTest
2015-03-11 17:41:28 +01:00
ale_bychuk
a0e172419f fix indentation 2015-03-08 22:54:45 +03:00
ale_bychuk
3af35f548c fix indentation 2015-03-08 22:04:29 +03:00
ale_bychuk
662fbc861a add test for thread affinity and fix some problems 2015-03-07 10:55:23 +03:00
Alex Fabijanc
7253045a6e added ProGen Files for Foundation and regenerated projects to include JSONString 2015-03-02 19:57:46 -06:00