joaquintides
f786c31e1b
added compliance test for boost::spirit::lex::lexertl::lexer::iterator_type
2025-11-29 15:18:53 +01:00
joaquintides
662b484c5e
tested compliance by all (most?) iterators provided
2025-11-28 20:36:27 +01:00
Rene Rivera
c31939d691
Make the library modular usable.
2024-03-11 08:38:16 -05:00
Nikita Kniazev
32fb6f6899
V2.Tests: Revise poorly named tests
...
Looking by the commit history they should not have been using classic iterators
2023-04-03 01:26:26 +03:00
Nikita Kniazev
3e763336e4
Trim std stream headers inclusion
2023-03-17 22:53:33 +03:00
Nikita Kniazev
fe3675ea09
Tests: Suppress C++03 deprecation warnings from other libraries
2023-03-17 22:50:13 +03:00
Nikita Kniazev
2599b2b3d5
Test: line_pos_iterator: test both forward and bidirectional paths
2023-03-13 00:32:26 +03:00
Nikita Kniazev
b0237057c8
line_pos_iterator: fix multiple consequence CRLF/LFCR handling
2023-03-08 21:49:37 +03:00
Nikita Kniazev
dc4fbd9a09
Tests: Refactor line_pos_iterator test
2023-03-08 21:49:37 +03:00
Nikita Kniazev
56b5c28fca
Tests: Remove regression_ prefix from test names
2023-03-07 23:26:54 +03:00
Mikalai Ananenka
b66e502058
Update Unicode scripts; fix mapping for Unicode general category 'Unassigned' and script 'Unknown'
2022-12-05 03:52:43 -05:00
Nikita Kniazev
abd946b00d
Tests: Limit -Wno-deprecated-copy to GCC 9-11
...
To avoid 'unrecognized command line option "-Wno-maybe-uninitialized"' warning
2021-12-17 22:19:40 +03:00
Nikita Kniazev
551d4b6d79
Rework known warning suppression
2021-12-17 04:21:28 +03:00
Nikita Kniazev
4ea7e3a7b7
Deprecate Phoenix transition headers
...
There is no purpose in these transition headers, Phoenix V2 was removed 8 years ago.
2021-09-28 22:24:57 +03:00
Nikita Kniazev
0821b0d877
Improve headers self-sufficiency
...
Closes #695
2021-08-28 23:43:28 +03:00
Nikita Kniazev
f44479bcd3
Remove boost/config/warning_disable.hpp usage
...
It is better to manage warnings on our side to know what warnings we need to fix or suppress, and the only thing that header does is disabling deprecation warnings on MSVC and ICC which we would prefer to not show to users.
2021-08-24 03:14:12 +03:00
Nikita Kniazev
6a7c758376
Switch to the new location of lightweight test
...
Old location had been deprecated for a long time already.
2021-08-23 21:45:17 +03:00
Nikita Kniazev
9ee9a1ece3
Remove redundant assert
...
> For all functions described in this subclause that accept an argument of type wint_t, the value shall
> be representable as a wchar_t or shall equal the value of the macro WEOF. If this argument has any
> other value, the behavior is undefined.
There is no way to produce a `wint_t` value non-representable as `wchar_t` with `std::char_traits<wchar_t>::to_int_type`.
2020-07-18 16:08:25 +03:00
Nikita Kniazev
49f7452cc1
Fix standard_wide::toucs4
...
* Make the argument type `wchar_t`
* Fix issue when `sizeof(wchar_t) < sizeof(boost::uint32_t)` and `wchar_t` is
a signed type.
* Remove wrong/pointless assertion (there is no calls to `std::w*`)
2020-07-18 16:08:25 +03:00
Nikita Kniazev
de67862b5b
Support.Tests: unused_type: used the wrong operator
2019-04-19 04:25:14 +03:00
Nikita Kniazev
d8916bf4c3
unused_type: added usage tests
2019-04-19 01:49:25 +03:00
Nikita Kniazev
f65d7a8013
unused_type: trivial on C++11+
2019-04-19 01:45:37 +03:00
Nikita Kniazev
ef8d59c626
Fix self-assignment warning in unused_type test
2019-04-17 18:21:08 +03:00
Nikita Kniazev
55aa6f7556
unused_type: Added basic tests
2019-04-17 16:49:31 +03:00
Nikita Kniazev
5e4ab36170
Tests: Include less headers
2018-10-01 02:16:04 +03:00
octopus-prime
0dd6e531c8
Cleaned up
2017-12-01 15:05:44 +01:00
octopus-prime
646bce6ce7
Merged and added more tests.
2017-12-01 13:04:36 +01:00
Nikita Kniazev
0917fca9fd
Tests: Improve tests
...
- Split Spirit v2 tests
- Readd missing v2 tests
- Run X3 tests
- Remove `-p3` suffix
- Use `<c++-template-depth>`
- Automatic adding of subproject name prefix
- Flatten tests declaration
2017-11-28 03:10:20 +03:00
Nikita Kniazev
9c2d6dec93
Revert "Split Spirit v2 tests"
2017-11-26 14:45:39 +03:00
Nikita Kniazev
a21b0b33f5
Split Spirit v2 tests
2017-11-25 14:40:54 +03:00
Nikita Kniazev
7310d850fc
Support.Tests: regression_multi_pass_position_iterator: Fixed MSVC 9 compilation
...
Maybe will fix and MSVC 8 too. The fix found accidentally.
2017-11-16 02:50:02 +03:00
Nikita Kniazev
1c243703b4
Tests: Fix warnings from support/utree.cpp test
...
> warning: logical not is only applied to the left
> hand side of comparison [-Wlogical-not-parentheses]
2016-08-25 17:43:07 +03:00
Jeff Trull
713ccb37c5
remove excess includes
2016-05-16 13:38:36 -07:00
Jeff Trull
b01b402577
Make multi_pass_iterator != operator const and add tests for istream_iterator
2016-05-16 13:36:00 -07:00
Tomoki Imai
f84d869ec8
Change from BOOST_TEST to BOOST_TEST_EQ for better information.
2014-06-16 13:44:16 +09:00
Tomoki Imai
67b3097895
Fix line_pos_iterator's column counting bug,get_current_line bug.
...
Add regresssion test for it.
2014-06-14 17:28:09 +09:00
Hartmut Kaiser
4e804bf318
Spirit: Fixing inspect problems
...
[SVN r81794]
2012-12-08 15:51:22 +00:00
Joel de Guzman
97800f6fc5
test for ticket #6714 (fixed)
...
[SVN r77433]
2012-03-20 15:14:10 +00:00
Hartmut Kaiser
b5a81660c3
Spirit: copyright fixes
...
[SVN r74246]
2011-09-05 22:32:29 +00:00
Bryce Adelstein-Lelbach
bdc6857561
Change utree functions to take a utree as a parameter, instead of a scope.
...
Remove scope from Spirit, as it is application specific. Change utree's function
API to take function_base references and pointers by ctor/assignment operator,
instead of just stored_function<> instances, allowing users to derive classes
from function_base and use them with utree. Add an operator() to utree that
aliases utree.eval(), so that utree can be used as a function object. Allow both
a utree& and a utree const& to be passed as a parameter to a utree function object.
[SVN r72067]
2011-05-21 23:58:19 +00:00
Bryce Adelstein-Lelbach
8306bcb237
Allow tags for strings.
...
[SVN r71999]
2011-05-16 20:27:26 +00:00
Bryce Adelstein-Lelbach
a23a191569
Remove utree's operator[], add spirit::get().
...
[SVN r71254]
2011-04-14 17:36:25 +00:00
Hartmut Kaiser
ba46672803
Spirit: fixing assertions in error_handler when used with multi_pass, added test
...
[SVN r71080]
2011-04-07 14:38:33 +00:00
Hartmut Kaiser
400a764d61
Spirit: patch allowing to use Spirit with Phoenix V3
...
[SVN r70656]
2011-03-28 02:37:31 +00:00
Hartmut Kaiser
e342e00d02
Spirit: applied Thomas Heller's patch fixing a bunch of warnings
...
[SVN r70605]
2011-03-26 23:48:38 +00:00
Hartmut Kaiser
dda450b4d8
Spirit: added one more test
...
[SVN r68746]
2011-02-09 14:26:54 +00:00
Bryce Adelstein-Lelbach
31ae946ef9
Fix for broken utree logical operations.
...
[SVN r68576]
2011-01-31 05:31:55 +00:00
Bryce Adelstein-Lelbach
dc09ed9169
Added support for storing function references in utree.
...
[SVN r68549]
2011-01-29 18:58:27 +00:00
Bryce Adelstein-Lelbach
9a4c9d7852
Fixes for utree tags (tag method won't throw for non-strings utree types, bug
...
fix from peper for max-size shorts).
[SVN r67744]
2011-01-07 01:09:17 +00:00
Hartmut Kaiser
0134cd358f
Spirit: added more tests
...
[SVN r67693]
2011-01-05 22:38:10 +00:00