poco/Foundation/testsuite
Aleksandar Fabijanic 669be63134
Allow set enum as json value (#4363) (#4434)
* Allow set enum as json value (#4363)

* fix issue #4341
add testEnum
if you set enum as json value then it will be cast to int

* add behavour for enum into VarHolderImpl
add tests for enum classes with differnent underline integral types

* replace static_cast with convertTo* methods, they can chaeck types and
limits

* fix missing types for convert methods

* fix code style
add testEnumType to the VarTest.cpp, extract() works

* enh(VarHolder): replace ::value and ::type with shortcuts

---------

Co-authored-by: Alexander B <ale.bychuk@gmail.com>
2024-07-29 23:30:51 +02:00
..
data new trunk (base for 1.5) 2012-04-23 01:14:34 +00:00
src Allow set enum as json value (#4363) (#4434) 2024-07-29 23:30:51 +02:00
CMakeLists.txt RFC: Remove Windows CE support (#4342) 2023-12-14 00:25:04 +01:00
Makefile chore(build): add missing distclean 2023-10-15 17:56:48 +02:00
Makefile-Driver Add ProcessRunner and PIDFile (#4225) 2023-11-24 20:22:01 +01:00
Makefile-TestApp Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Makefile-TestLibrary Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
nonexistent.txt new trunk (base for 1.5) 2012-04-23 01:14:34 +00:00
TestApp_vs160.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
TestApp_vs160.vcxproj.filters fix projects 2020-01-11 13:07:11 +01:00
TestApp_vs170.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
TestApp_vs170.vcxproj.filters added VS2022 project files 2022-02-19 21:06:24 +01:00
TestLibrary_vs160.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
TestLibrary_vs160.vcxproj.filters fix projects 2020-01-11 13:07:11 +01:00
TestLibrary_vs170.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
TestLibrary_vs170.vcxproj.filters added VS2022 project files 2022-02-19 21:06:24 +01:00
testlibrary.opt new trunk (base for 1.5) 2012-04-23 01:14:34 +00:00
TestSuite_vs160.vcxproj chore: fix vs project files 2024-02-19 22:29:26 +01:00
TestSuite_vs160.vcxproj.filters chore: fix vs project files 2024-02-19 22:29:26 +01:00
TestSuite_vs170.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
TestSuite_vs170.vcxproj.filters chore: fix vs project files 2024-02-19 22:29:26 +01:00