Commit Graph

49 Commits

Author SHA1 Message Date
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
Bryce Adelstein-Lelbach
77f6955781 Regenned docs to fix a problem in them, added more utree tests.
[SVN r67683]
2011-01-05 16:44:32 +00:00
Bryce Adelstein-Lelbach
eac6e38159 Reorganized Spirit tests, broke down larger tests so they won't time out on
ICC.



[SVN r67494]
2010-12-29 21:17:01 +00:00
Hartmut Kaiser
f30ca2301d Spirit: utree modifications, mostly
[SVN r67472]
2010-12-27 23:45:44 +00:00
Hartmut Kaiser
9efb146e36 Spirit: touching up utree
[SVN r67457]
2010-12-26 17:18:24 +00:00
Bryce Adelstein-Lelbach
05913d71b4 Added the as directive.
[SVN r67437]
2010-12-23 21:14:50 +00:00
Hartmut Kaiser
28bb0466c4 Spirit: adding uninitialized utree node type
[SVN r67379]
2010-12-21 02:50:47 +00:00
Hartmut Kaiser
0643a7d53e Spirit: utree documentation work
[SVN r67357]
2010-12-20 01:59:17 +00:00
Hartmut Kaiser
791e72f108 Spirit: test fixes...
[SVN r66919]
2010-11-30 20:36:09 +00:00
Hartmut Kaiser
b638e2cba0 Spirit: adding basic utree tests
[SVN r66916]
2010-11-30 20:14:08 +00:00
Hartmut Kaiser
38152660b1 Spirit: Fixed return value for expect parser if exceptions are not enabled.
[SVN r60154]
2010-03-04 18:58:28 +00:00
Hartmut Kaiser
9460453df6 Spirit: added another testcase for multi_pass
[SVN r59496]
2010-02-05 00:45:18 +00:00
Hartmut Kaiser
c26800257e Spirit: added testcase for latest regression
[SVN r59487]
2010-02-05 00:32:14 +00:00
Hartmut Kaiser
436886de50 Merging Spirit V2.1
[SVN r52605]
2009-04-26 14:46:34 +00:00
Hartmut Kaiser
54565a342d Spirit: Updated copyright
[SVN r50424]
2009-01-01 11:59:13 +00:00
Hartmut Kaiser
d0a4d525e7 Spirit: Fixed a ambiguity reported by VC8 for embedded systems
[SVN r44805]
2008-04-27 02:04:07 +00:00
Hartmut Kaiser
0c34d7f893 Spirit: suppressed more VC level 4 warnings
[SVN r44793]
2008-04-27 01:00:34 +00:00
Hartmut Kaiser
34d36738cf Spirit V2: started to address regression test failures
[SVN r44475]
2008-04-16 22:50:47 +00:00
Joel de Guzman
2431a80d8a spirit2 ! :)
[SVN r44360]
2008-04-13 03:02:30 +00:00