ToruNiina
|
d3e88b3082
|
add test case for table key
|
2018-12-12 01:31:36 +09:00 |
|
ToruNiina
|
9f8e86524a
|
add a lot of dotted keys to test_lex
|
2018-12-12 01:26:56 +09:00 |
|
ToruNiina
|
4d64c0d8af
|
add tests for inline table
|
2018-12-11 23:38:57 +09:00 |
|
ToruNiina
|
e810c3d35e
|
add tests for equivalent operator
|
2018-12-11 23:33:32 +09:00 |
|
ToruNiina
|
fc3471434f
|
add test for array
|
2018-12-11 23:31:24 +09:00 |
|
ToruNiina
|
be8600abfa
|
add test for key and string
|
2018-12-11 23:25:44 +09:00 |
|
ToruNiina
|
e79e6150f2
|
update testing macro
|
2018-12-11 23:25:23 +09:00 |
|
ToruNiina
|
3055645323
|
remove old tests
|
2018-12-11 21:52:53 +09:00 |
|
ToruNiina
|
0253f49101
|
add a test for parser (WIP)
|
2018-12-11 21:51:39 +09:00 |
|
ToruNiina
|
e24039f4ef
|
update toml::value and improve test_value
- enable to store new types
- store source string if possible
- refactoring
|
2018-12-09 18:03:20 +09:00 |
|
ToruNiina
|
8388664fc6
|
add map_err_or_else to result
|
2018-12-08 22:44:15 +09:00 |
|
ToruNiina
|
2b2a05148e
|
add from_string to utility
|
2018-12-08 20:21:15 +09:00 |
|
ToruNiina
|
861444a02b
|
disable some of the tests once
|
2018-12-08 19:23:53 +09:00 |
|
ToruNiina
|
1e28cb2d13
|
add test for concat_string
|
2018-12-08 19:22:41 +09:00 |
|
ToruNiina
|
ae564bd814
|
change include file of test_traits
|
2018-12-08 19:22:31 +09:00 |
|
ToruNiina
|
366f72bbdd
|
Merge branch 'datetime' into combinator
|
2018-12-08 19:06:19 +09:00 |
|
ToruNiina
|
3ef33c1637
|
change almost everything about datetime
|
2018-12-08 19:04:41 +09:00 |
|
ToruNiina
|
f8aa604959
|
Merge branch 'result' into combinator
- fix some of the constructors of result
- add some utility member functions to boost
|
2018-12-06 12:57:58 +09:00 |
|
ToruNiina
|
e3f6805629
|
add conversion members to result
|
2018-12-06 12:47:14 +09:00 |
|
ToruNiina
|
f9a018b5ea
|
add source_name to test_lex_aux macros
|
2018-12-05 17:19:37 +09:00 |
|
ToruNiina
|
c3a2cd8c1e
|
use hexcode instead of u8 string on windows
|
2018-12-04 21:43:43 +09:00 |
|
ToruNiina
|
c0ce5a2d7d
|
remove debug message from test code
|
2018-12-04 21:00:34 +09:00 |
|
ToruNiina
|
c3e1f68ef6
|
add u8 to the front of UTF-8 string literal
explicitly set the character encoding for them, for compatibility
|
2018-12-04 20:59:44 +09:00 |
|
ToruNiina
|
1a2fa6d53a
|
add test for lexers
|
2018-12-04 20:30:21 +09:00 |
|
ToruNiina
|
4791088106
|
Merge branch 'result' into combinator
|
2018-12-02 18:30:39 +09:00 |
|
ToruNiina
|
b53d11ce79
|
ci: downgrade test modules, use BOOST_CHECK
Because travis.CI installs old, out-of-date version of Boost,
BOOST_TEST is not supported. we need to use BOOST_CHECK to link
with it.
|
2018-12-02 18:25:09 +09:00 |
|
ToruNiina
|
00c3c2f773
|
Merge branch 'result' into combinator
|
2018-12-02 18:15:58 +09:00 |
|
ToruNiina
|
6c0a12148b
|
add result<T, E> struct to handle errors
aiming later updates and refactoring of parsers
|
2018-12-02 18:01:37 +09:00 |
|
ToruNiina
|
a32ccd82f3
|
fix UB in test_value (use after move)
|
2018-10-22 19:00:16 +09:00 |
|
ToruNiina
|
433636a06f
|
simplify the implementation of from_toml
|
2018-05-05 11:59:34 +09:00 |
|
ToruNiina
|
b6f53cae7a
|
update test_traits
now is_container returns false when map-like class is passed
|
2018-05-05 11:40:13 +09:00 |
|
ToruNiina
|
7be9548a6f
|
fix test_module name
|
2017-12-11 14:30:25 +09:00 |
|
ToruNiina
|
3083f65493
|
add get_or
|
2017-12-11 12:04:57 +09:00 |
|
Guillaume Fraux
|
57cc7f77c1
|
Allow to build with intel c++ compiler
|
2017-06-13 16:05:55 +02:00 |
|
ToruNiina
|
0d9b910d5d
|
remove test already done in other file from one file
|
2017-06-07 12:35:38 +09:00 |
|
ToruNiina
|
a198a5f103
|
add test for stream input
|
2017-05-19 14:16:12 +09:00 |
|
ToruNiina
|
58bb39dd39
|
exchange string literal to codepoints
|
2017-05-17 14:59:11 +09:00 |
|
ToruNiina
|
6df956e1d4
|
exchange string literal to codepoints
|
2017-05-17 14:57:49 +09:00 |
|
ToruNiina
|
ff00f45922
|
change literal string to sequence of codepoint
|
2017-05-17 14:50:29 +09:00 |
|
ToruNiina
|
03269588a5
|
wrap u8 string with std::string
|
2017-05-17 14:17:03 +09:00 |
|
ToruNiina
|
2c92142d5c
|
restore parser and test
|
2017-05-17 14:07:34 +09:00 |
|
ToruNiina
|
b67fcf79bc
|
temporally removed the test for unicode. it fails only on win
|
2017-05-17 13:19:08 +09:00 |
|
ToruNiina
|
1265952b97
|
split parsing unicode file
|
2017-05-17 12:54:13 +09:00 |
|
ToruNiina
|
9e9a5a7253
|
fix typo
|
2017-05-17 10:55:22 +09:00 |
|
ToruNiina
|
5e6d699452
|
add test for hard_example_unicode
|
2017-05-17 10:16:54 +09:00 |
|
ToruNiina
|
fc4fa8e3eb
|
exchange example of control char null to something else
|
2017-05-17 08:24:47 +09:00 |
|
ToruNiina
|
aa97ec3ba6
|
fix test code
|
2017-05-16 22:29:10 +09:00 |
|
ToruNiina
|
fe6a38737d
|
add Iterator pointing to the end of a range
|
2017-05-16 22:12:32 +09:00 |
|
Guillaume Fraux
|
da15736a04
|
Set the tests PATH to find Boost DLL
|
2017-05-15 14:05:54 +02:00 |
|
Guillaume Fraux
|
6b1e8be121
|
Disable a few MSVC warnings
|
2017-05-15 14:05:54 +02:00 |
|
Guillaume Fraux
|
612119fa1e
|
Do not use the macro shortcut for not
It is not required by the standard
|
2017-05-15 14:05:54 +02:00 |
|
Guillaume Fraux
|
fdd2a7a640
|
Do not assume the project is built in a build folder
|
2017-05-15 11:19:42 +02:00 |
|
Guillaume Fraux
|
28a00c76d0
|
Use find_package to find Boost
This allow to have an error at cmake configuration time
|
2017-05-15 11:19:42 +02:00 |
|
Guillaume Fraux
|
2f2a75af4a
|
Only set flags if the compiler support them
|
2017-05-15 11:19:42 +02:00 |
|
ToruNiina
|
f52b78010c
|
fix array_of_table assignments
|
2017-05-12 22:28:49 +09:00 |
|
ToruNiina
|
96429e3e08
|
add working directory to test
|
2017-05-12 20:50:04 +09:00 |
|
ToruNiina
|
1c26ffe3ae
|
add parse() function
|
2017-05-12 20:49:47 +09:00 |
|
ToruNiina
|
fd58cc507f
|
add parse_data
|
2017-05-11 19:36:12 +09:00 |
|
ToruNiina
|
6ab05a8594
|
change impl of parser of values
|
2017-05-11 15:09:11 +09:00 |
|
ToruNiina
|
f5d301016f
|
add parser impl for integer, float, boolean
|
2017-05-11 00:14:22 +09:00 |
|
ToruNiina
|
88e2c3fe48
|
change impl of parser: optional based
|
2017-05-10 23:56:09 +09:00 |
|
ToruNiina
|
28cb28e3ba
|
add test for parsing table definition
|
2017-05-10 11:16:39 +09:00 |
|
ToruNiina
|
ad4ecaa7ec
|
add test for key-value pair
|
2017-05-09 22:07:13 +09:00 |
|
ToruNiina
|
05447a5430
|
add test for key-value pair
|
2017-05-08 23:56:03 +09:00 |
|
ToruNiina
|
5898c29043
|
add some tests
|
2017-05-08 19:17:34 +09:00 |
|
ToruNiina
|
77f59a2e94
|
split is_array to fixed_type_array and array_of_some_type
|
2017-05-07 14:08:42 +09:00 |
|
ToruNiina
|
726a70cd8f
|
enable toml::from_toml to get static array (like std::array)
|
2017-05-07 10:40:47 +09:00 |
|
ToruNiina
|
3203d39dad
|
enable toml::get to make static array (like std::array)
|
2017-05-07 10:40:17 +09:00 |
|
ToruNiina
|
58c12a69be
|
add toml::resize func that resize only resizable container
|
2017-05-06 23:40:57 +09:00 |
|
ToruNiina
|
7dde4f3039
|
add parser of fundamental types
|
2017-05-06 18:44:19 +09:00 |
|
ToruNiina
|
864840d11c
|
add table definition acceptor
|
2017-05-05 19:33:45 +09:00 |
|
ToruNiina
|
ae127e6000
|
shorten waiting time
|
2017-05-05 19:31:42 +09:00 |
|
ToruNiina
|
13a13070c6
|
add some tests
|
2017-05-05 19:00:44 +09:00 |
|
ToruNiina
|
e35e620812
|
add acceptor for array and inline table
|
2017-05-05 18:54:09 +09:00 |
|
ToruNiina
|
9a627b44fb
|
add some test
|
2017-05-05 17:17:03 +09:00 |
|
ToruNiina
|
50d00a840f
|
add acceptors for toml values
|
2017-05-05 16:48:54 +09:00 |
|
ToruNiina
|
3e016be668
|
add simple acceptors
|
2017-05-05 10:54:47 +09:00 |
|
ToruNiina
|
b1ca20962b
|
add conversion test to datetime
|
2017-04-21 15:55:04 +09:00 |
|
ToruNiina
|
c522186d4c
|
change include file path
|
2017-04-21 13:15:05 +09:00 |
|
ToruNiina
|
337a671f0c
|
split datetime definition from toml.hpp
|
2017-04-21 12:56:39 +09:00 |
|
ToruNiina
|
f4afaa7509
|
add from_toml(std::tie, value) and test for it
|
2017-04-20 16:13:06 +09:00 |
|
ToruNiina
|
dccfcd99cf
|
add test operator==
|
2017-04-20 14:38:25 +09:00 |
|
ToruNiina
|
6d643dd70d
|
add test_get
|
2017-04-20 13:30:11 +09:00 |
|
ToruNiina
|
9c4a622781
|
add test for from_toml: Table
|
2017-04-20 13:29:46 +09:00 |
|
ToruNiina
|
1b2b422ea1
|
add from_toml and get function
|
2017-04-20 12:49:36 +09:00 |
|
ToruNiina
|
fd8753612a
|
add to_toml(initializer_list)
|
2017-04-20 12:05:10 +09:00 |
|
ToruNiina
|
d3578aec8e
|
add test for to_toml function
|
2017-04-20 10:49:11 +09:00 |
|
ToruNiina
|
b5c41baef2
|
add test for initializer_list
|
2017-04-20 10:48:59 +09:00 |
|
ToruNiina
|
9234a34faa
|
add test for substitution
|
2017-04-20 00:13:37 +09:00 |
|
ToruNiina
|
0b13f01668
|
add test for values
|
2017-04-20 00:08:41 +09:00 |
|
ToruNiina
|
31f5745454
|
rename test.cpp to test_value.cpp
|
2017-04-19 22:48:20 +09:00 |
|
ToruNiina
|
f177e9c235
|
add CMakeLists
|
2017-04-19 22:47:40 +09:00 |
|
ToruNiina
|
0260a13f1c
|
make tests/ and toml/ dir and move codes
|
2017-04-19 22:47:24 +09:00 |
|