Commit Graph

142 Commits

Author SHA1 Message Date
Francis ANDRE
4bf4a319e0 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco into poco-1.9.1 2018-06-06 21:49:00 +02:00
Francis ANDRE
ee359c28b5 Fix wrong output directory 2018-06-06 21:48:44 +02:00
Francis ANDRE
b28348c03d Display ignored tests 2018-06-04 23:22:05 +02:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
c224dd1590 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco into poco-1.9.1 2018-06-01 21:39:15 +02:00
Francis ANDRE
fa1e23ff0f Remove WinTestRunner project reference 2018-06-01 21:38:56 +02:00
Francis ANDRE
f1376dab12 Merge branch 'poco-1.9.1' of https://github.com/pocoproject/poco.git into poco-1.9.1 2018-06-01 21:31:54 +02:00
Francis ANDRE
24a5f15429 Remove WinTestRunner project reference 2018-06-01 21:30:52 +02:00
Francis ANDRE
9bd24ed7d9 Fix CppUnit vs90 x64 solution 2018-06-01 21:09:33 +02:00
Francis ANDRE
602a9d4c63 Add WinTestRunner progeneration 2018-05-31 06:21:58 +02:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
24ebf9858d Backport from the develop branch 2018-05-27 16:26:50 +02:00
Francis ANDRE
7fadf6f1fd Fix import lib 2018-05-26 16:45:55 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
Francis ANDRE
1dc771e9bb Backport from develop branch 2018-05-25 09:52:12 +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
4bd63a8ef3 Call addSetup from fixture 2018-05-21 22:01:24 +02:00
Francis ANDRE
c0d76f516c Add setup() const accessor 2018-05-21 22:00:48 +02:00
Francis ANDRE
48eab9c4e9 Remove setup(vector<string>) from Fixture template functions 2018-05-21 13:22:28 +02:00
Francis ANDRE
0ca753a481 Fix TestSuite::run() 2018-05-21 11:08:37 +02:00
Francis ANDRE
ef63822c04 Add <vector> 2018-05-21 10:34:21 +02:00
Francis ANDRE
b0e7af2c75 Apply setup(const vector<string>&) to -all option 2018-05-21 10:33:25 +02:00
Francis ANDRE
4f292ae0ce Add assertFalse 2018-05-21 09:31:11 +02:00
Francis ANDRE
7f085cbb61 Remove duplicate code 2018-05-21 09:25:36 +02:00
Francis ANDRE
b578c43cfe Update with fixed GUID 2018-05-20 22:53:33 +02:00
Francis ANDRE
7ac6206195 Add Foundation includes. Add POCO_NO_AUTOMATIC_LIBS 2018-05-19 16:51:45 +02:00
Francis ANDRE
599e6120ad Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1 2018-05-19 16:29:07 +02:00
Francis ANDRE
91a4cf3b44 Add CppUnit.progen. Add POCO_NO_AUTOMATIC_LIBS 2018-05-19 16:16:22 +02:00
Francis ANDRE
de15794a10
Add #pragma comment(lib, "PocoCppUnit") 2018-05-19 15:41:31 +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
Francis ANDRE
5871847cdb Add class name as qualifier 2018-05-10 18:19:35 +02:00
zosrothko
960ecb38f0 Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue

* Update submodules

* Missing assertTrue

* Rename poco_assertTrue to poco_assert

* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Francis ANDRE
8d5353b207 Add forwarding Poco/CppUnit/*h for compatibility between 1.x and 2.X 2018-03-25 08:25:59 +02:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
1a18621ff8 ifdef auto_ptr 2017-10-24 21:55:33 -05:00
Alex Fabijanic
1054c46f6c compile pdjson as C++; disarm some windows warnings 2017-09-27 11:51:43 -05:00
Günter Obiltschnig
8b52be675b remove obsolete VMS and VxWorks build system support 2017-09-09 11:15:29 +02:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
root
895c3dfcd5 use std::unique_ptr instead of std::auto_ptr with C++11+ compilers to prevent std::auto_ptr deprecation warnings 2016-10-14 11:49:45 +02:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Guenter Obiltschnig
d0d95bc711 VS2015 support for CppUnit 2015-07-31 12:44:44 +02:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Pascal Bach
ac68b49897 cmake: CppUnit cleanup
- explicitly list source files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Guenter Obiltschnig
f8169eabac updated SDK in WEC2013 project files 2014-04-23 13:30:27 +02:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Günter Obiltschnig
ade75434c4 fixed WinTestRunner batch mode 2014-01-16 23:53:29 +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
Linquize
15dae2c73c CppUnit solutions should write Visual Studio 2013 string 2014-01-16 08:12:18 +08:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00
aleks-f
d6042065ec Auto init for Net and SQLite (win)
Auto init for Net and SQLite (only tested on Windows)
2013-02-09 22:39:07 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Aleksandar Fabijanic
245f3e7568 VS 2012 mods to proj/sln files
VS 2012 modifications to project/solution files
added WinTestRunner dependency on CppUnit
2012-12-08 21:55:47 -06:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
1507053e09 fixed VS2005 project file 2012-10-14 12:18:55 +00:00
Aleksandar Fabijanic
8a4eafd05a - strToInt benchmark and more optimization
- warnmsg macro in CppUnit
2012-10-01 00:52:53 +00: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
47448c6079 VS 2012 Projects/Solutions for Foundation, CppUnit and Progen 2012-09-25 06:23:40 +00:00
Aleksandar Fabijanic
c3e2e50af4 NumberParser fixes and more test 2012-09-14 04:56:20 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +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
a002f13be2 trunk: updated standard VS2010 sln to include x64 support (all in one) 2012-02-11 12:13:15 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
c13df6f828 cppunit: fix WinTestRunner.cpp 2011-09-14 13:03:06 +00:00
Marian Krivos
ff7f224691 cppunit: update from 1.4.2 & vs 2010 project 2011-09-14 12:43:03 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Aleksandar Fabijanic
e812e7bf46 workaround for hidden files 2007-07-13 19:43:30 +00:00
Peter Schojer
8dafac067b added datadriven testing 2007-07-02 10:35:30 +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