Commit Graph

46 Commits

Author SHA1 Message Date
Matej Kenda
a1efeaa72d
GitHub runner ubuntu 24.04 and resolve some issues (#4727) 2024-10-09 21:53:49 +02:00
Matej Kenda
1eebd46c04
Cppunit and data test enhancements (#4616)
* enh(CppUnit): Source code enhancements.

* enh(DataTest): Code enhancements (mostly to use override) to prevent wrong test calls when renaming.
2024-07-30 15:09:58 +02:00
Matej Kenda
f24547cdcf enh(Poco): Mark deprecated functionality with C++ attributes and resolve internal usage of deprecated functions (#4551)
* enh(poco): Replace deprecated comments with C++ deprecated attribute.

* enh(Poco): Replace some deprecated functionality in Poco sources. (#4426)

* enh(Poco): Replace more deprecated functionality in Poco sources. (#4426)

* fix(CMake): Variable BUILD_SHARED_LIBS must be defined properly to create valid binaries.

* enh: Code improvements done while resolving deprecated functionality (#4426)

* Un-deprecate LocalDateTme (#4426)

* enh(Poco): Replace usage of deprecated functionality with other functions/classes (#4426)

* chore(SSL): temporarily un-deprecate SSL-related functionality (#4426)

* chore(SSL): temporarily un-deprecate old MongoDB protocol functionality (#4426)

* enh(Poco): Minor Hash improvements (#4426)

* enh(Foundation): Compile deprecated hash tests only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Net): Compile deprecated Socket::select functionality only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Bonjour): Replace deprecated Socket::select with PollSet (#4426)

* enh(Poco): Introduce POCO_DEPRECATED macro to have the ability to disable deprecation warnings in applications (#4426)

* test(ODBC): add few asserts to testStoredProcedureDynamicVar

* fix(ODBC): rename DynamicAny -> DynamicVar in tests

* fix(ODBC): make Dignostics static members inline to prevent explicit instantiation warnings on windows

---------

Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-07-29 08:37:35 +02:00
Kari Argillander
708a5d8307
RFC: Remove Windows CE support (#4342)
* Remove _WIN32_WCE macro

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove WinCE support from build files

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. Remove all
references from build systems / scripts.

* Remove Windows CE related source and header files

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove wcelibcex folder

Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.

* Remove rest Windows CE mentions

There where some Windows CE mentions left. Remove those.

* Update Windows CE documentation

We should keep documentation some time so people can find reason for
remove.

---------

Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2023-12-14 00:25:04 +01:00
Günter Obiltschnig
573e01806b don't depend on POCO_HAVE_CXXABI_H 2023-10-02 07:41:18 +02:00
Günter Obiltschnig
70bb8f13f9 CppUnit: demangle class names 2023-10-02 07:16:48 +02:00
haorui wang
a41d802ccd
fix(CppUint) : RepeatedTest compile error (#3759)
* chore(CppUnit) : style format and revise comment

fix(CppUnit) : RepeatedTest compile error

* chore(CppUnit) : remove TestResult forward declare in RepeatedTest.h
2022-08-18 11:37:35 -05:00
John Vandenberg
0e6e16645c
Remove trailing whitespace (#3668) 2022-07-07 04:18:20 -05:00
Günter Obiltschnig
0c242e9b2a CppUnit: add generic assertEquals 2022-05-17 09:08:02 +02:00
Aleksandar Fabijanic
7db9831f32
Netssl/openssl3 (#3575)
* feat(Context): DH init openssl3 port (1/2 hardcoded params)

* create poco-1.11.3 branch, bump version

* update copyright date

* #3567: check legacy provider existence for legacy exception #3567

* fix(Placeholder): comparison for zero value

* feat(Context): DH init openssl3 port (2/2 params from file)

* test(HTTPSClientSession): try/catch to understand CI failure

* chore(cmake): copy the DH parameters file

* fix(OpenSSLInitializer): unload provider on uninitialize

* chore(HTTPSClientSessionTest): remove try/catch

* fix(OpenSSLInitializer): fix provider unloading

* feat(CppUnit): make tests exceptions more descriptive

* chore(CppUnit): a more descriptive name for callback

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
2022-04-28 22:24:43 -05:00
Günter Obiltschnig
a9e7655569 fix memory leak when ignoring test error/failure 2021-06-17 09:29:35 +02:00
Günter Obiltschnig
f399062da4 CppUnit: flush after writing test name 2020-02-08 19:45:34 +01:00
Günter Obiltschnig
e6c9758684 fix catch by value 2020-02-07 18:39:17 +01:00
Guenter Obiltschnig
f7fc4a239f fixed more issues discovered while testing on Linux 2020-01-09 17:43:31 +00:00
Günter Obiltschnig
5284be25ae style fixes 2020-01-04 12:38:43 +01:00
Günter Obiltschnig
09919478ce fix test result reporting 2020-01-04 12:34:28 +01:00
Günter Obiltschnig
b9cc21867b fix warnings 2020-01-04 09:58:23 +01:00
Francis ANDRE
6a81580533 Add -ignore <file> option to get rid of DOS script issues.
Rollback to previous rendering.
2019-12-18 16:27:19 +01:00
Francis ANDRE
b5ca9353be Replace \n by std:endl. Remove log of CPPUNIT_IGNORE tests set 2019-12-17 13:52:05 +01:00
Francis ANDRE
e25a31de8f Compact tests execution log 2019-12-17 10:07:04 +01:00
Brice Gros
22c3ae8d30 allow to select long tests to be run from cmdline 2019-10-18 15:09:38 +02:00
Francis ANDRE
b28348c03d Display ignored tests 2018-06-04 23:22:05 +02:00
Francis ANDRE
24ebf9858d Backport from the develop branch 2018-05-27 16:26:50 +02:00
Francis ANDRE
d50310d252 Reformat 2018-05-21 22:02:25 +02:00
Francis ANDRE
e27f6ebc2b Remove useless code 2018-05-21 22:02:11 +02:00
Francis ANDRE
0ca753a481 Fix TestSuite::run() 2018-05-21 11:08:37 +02:00
Francis ANDRE
b0e7af2c75 Apply setup(const vector<string>&) to -all option 2018-05-21 10:33:25 +02:00
Francis ANDRE
904b0061eb Add -setup, a command line argument. 2018-05-19 15:04:59 +02:00
Francis ANDRE
8951b90bbe Remove _WIN32 guard. 2018-05-19 10:13:26 +02:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Guenter Obiltschnig
995fcd682c fixed CPPUNIT_IGNORE parsing 2014-01-16 18:15:24 +01:00
Guenter Obiltschnig
16885da987 test failures can be ignored for certain tests (specified in CPPUNIT_IGNORE environment variable) 2014-01-16 18:07:03 +01:00
Aleksandar Fabijanic
8f747fabdc gcc/linux compile/tests 2012-09-30 13:10:51 +00:00
Aleksandar Fabijanic
f70ac1ca07 - added NumericString.h
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
ff7f224691 cppunit: update from 1.4.2 & vs 2010 project 2011-09-14 12:43:03 +00:00
Guenter Obiltschnig
95bdb7c51d sync to internal repository 2007-02-23 14:50:42 +00:00
Guenter Obiltschnig
3b39691a00 sources from main repository 2006-12-22 09:39:06 +00:00
Guenter Obiltschnig
15193c3465 sources from main repository 2006-12-22 09:18:32 +00:00
Guenter Obiltschnig
7ff71d107f sources for 1.3 2006-11-17 16:08:52 +00:00
Guenter Obiltschnig
727688af3e set eol-style to native 2006-10-23 15:42:49 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32 initial import 2006-07-11 16:33:40 +00:00