Commit Graph

2892 Commits

Author SHA1 Message Date
56ed44f0e3 io: instantiate slurp for unsigned char 2018-07-30 13:18:22 +10:00
1b92ac5f61 posix/socket: add defaulting wrapper for recvfrom 2018-07-27 21:06:25 +10:00
d99b257268 posix/socket: add wrappers for sendto and recvfrom 2018-07-27 18:29:43 +10:00
f0eb3f0775 posix/socket: add wrappers for connect and bind 2018-07-27 18:29:30 +10:00
d2b36ebded view: parameterise make_byte_view 2018-07-27 18:28:56 +10:00
3dc136595c parse: add specialisation for unsigned short
The code is horrific. Don't judge me.
2018-07-27 18:28:30 +10:00
678e68a468 gitlab-ci: ensure python3 is installed for testing 2018-07-24 16:19:43 +10:00
25b41444a9 gitlab-ci: we don't need ragel for testing 2018-07-24 16:18:27 +10:00
826f9331cc build: don't include cmake modules in this repository
The cmake module is for this project's parent. We only need it for
building and testing directly so we clone it during the testing phase.
2018-07-24 16:16:53 +10:00
f42ae40fcb view: allow arbitrary index types for slice and consume 2018-07-24 15:49:38 +10:00
79409eb6fe avoid push_back in loops
Detected by clang-tidy.
2018-07-24 15:49:11 +10:00
cf800a35da move construction/assignment should be noexcept where possible 2018-07-24 15:48:50 +10:00
503ed940ac job/queue: add move assignment operator for cookie 2018-07-24 15:48:03 +10:00
0cc0178ab5 avoid unnecessary copies by using std::move 2018-07-24 15:47:21 +10:00
799768641f prefer passing by reference over value 2018-07-24 15:46:28 +10:00
946397e325 debug: instantiate is_valid for numeric primitives 2018-07-23 18:55:40 +10:00
9f4fab6e3b gitlab-ci: try using an image with recent gcc _and_ python 2018-07-19 18:45:07 +10:00
8f413f824c gitlab-ci: expire artifacts after one day 2018-07-19 14:54:51 +10:00
7058881a2d .gitlab-ci: upload test artifacts on failure 2018-07-19 14:28:49 +10:00
289242fcbf .gitlab-ci: add test data to artifacts 2018-07-19 12:35:37 +10:00
0f9204b119 .gitlab-ci: add test outputs as artifacts 2018-07-18 16:44:14 +10:00
00651cab7c view: correct constness of make_byte_view 2018-07-18 15:20:42 +10:00
80bc988466 view: add deductions for u32 and u64 2018-07-18 15:20:30 +10:00
f9c63ece5d json/constraint/base: remove copy constructor 2018-07-18 15:20:15 +10:00
f1e5e560bc iterator: assert that zip arguments are the same size 2018-07-18 15:19:53 +10:00
db24df329f iterator,string: add size queries 2018-07-18 15:19:35 +10:00
6f45f9514d cmdopt: use concrete structs for data holders
Tuples are quite verbose and don't document intention.
2018-07-17 16:02:04 +10:00
395b5ae557 json: rename schema directory to constraint 2018-07-16 13:58:12 +10:00
01ae59c19c build: explicitly set FAIL_REGULAR_EXPRESSION for tests 2018-07-16 11:28:04 +10:00
49d39c4ede json/compare: change to useful exit codes in test suite 2018-07-13 16:08:48 +10:00
33dc5c7053 json/pointer: add a trivial parser for json-pointer 2018-07-13 16:08:24 +10:00
493c91eace view: add nodiscard to constant split operations
Any time we have a constant operator we need to warn the user if they
thing the operation is mutating and does not make use of the result.
2018-07-13 14:05:54 +10:00
a2e2d59c98 json/schema: add multipleOf test cases 2018-07-12 16:21:56 +10:00
0629ba07cd json/schema: add exclusiveMin/Max 2018-07-12 16:08:36 +10:00
d48e36ffd5 json/schema: add additionaProperties tests 2018-07-12 15:56:03 +10:00
8c222300ca json/schema: add pattern_properties and associated tests 2018-07-12 15:10:41 +10:00
85b5853f7f json/schema: delete intermediate test files 2018-07-12 15:10:04 +10:00
647af5504b json/schema: reimplement enum support 2018-07-12 13:06:11 +10:00
bb9d390cf4 json/schema: correct the truth data for min/max tests 2018-07-11 19:30:30 +10:00
c07ce50908 json/schema: modularise the validator objects 2018-07-11 19:30:14 +10:00
8ea762bff8 json/schema: add object test cases 2018-07-09 14:13:51 +10:00
04249a8320 json/schema: fall back to identity test for .result.json
result.json test cases are only really required when we have default
properties that need to be filled. Fall back to using the input.json
file for other cases.
2018-07-09 14:13:51 +10:00
59f42de23f json/schema: use symlinks to identical test result files 2018-07-06 14:21:28 +10:00
8e07e8152b json/schema: rename schema dirs 2018-07-06 13:21:59 +10:00
19fdbaefb7 json/schema: move validation test cases to own directory 2018-07-06 13:19:10 +10:00
195616f563 json/schema: number the test groups for sorting 2018-07-06 12:43:20 +10:00
1658347573 json-schema: add schema test suite 2018-07-05 19:08:58 +10:00
4c0f129a37 json-compare: add a json comparison tool and test suite 2018-07-05 17:46:43 +10:00
3d51be1372 json/tree: correct object and array equality operators 2018-07-05 17:46:02 +10:00
94640d00f0 json: rearrange schema test to allow for modified output
Schemas can insert default values, so we need to be able to test the
resultant files.
2018-07-05 15:02:14 +10:00