Commit Graph

53 Commits

Author SHA1 Message Date
Andrei Neculau
37eb210356 whitespace, style 2017-05-20 22:02:32 +02:00
lazedo
04f073641c return errors in the order they occur
default error handler
2017-05-20 20:53:46 +02:00
Andrei Neculau
6b39b6a76d
ipv4 format not ip-address 2017-01-07 13:22:11 +01:00
Andrei Neculau
2c0d7e2110
remove not-standard date, time format; use talentdeficit/rfc3339 to validate date-time. fixes #34 2017-01-07 13:22:11 +01:00
Anton Yabchinskiy
79fa984755 Merge branch 'master' into std-formats
Conflicts:
	test/jesse_tests_draft4_SUITE.erl
2016-12-16 14:57:39 +03:00
Anton Yabchinskiy
0d16c6922c add tests for date-time format validation in draft4 2016-12-16 14:44:56 +03:00
Anton Yabchinskiy
e2eb75438e add tests for ipv6 format validation in draft4 2016-12-16 14:33:52 +03:00
Anton Yabchinskiy
feaa748e13 add tests for time format validation in draft4 2016-12-16 14:16:53 +03:00
Anton Yabchinskiy
2ab11a581c add tests for ip-address format validation in draft4 2016-12-16 14:15:59 +03:00
Anton Yabchinskiy
a94c452aa8 add tests for date format validation in draft4 2016-12-16 14:14:11 +03:00
Arpad Budai
84a53a3ea4 - add test for non ascii pattern properties for draft3 and draft4 2016-12-15 16:22:46 +00:00
Andrei Neculau
73cc4eaee6
add tests #22 #26 2016-12-10 23:11:23 +01:00
Andrei Neculau (anu)
a1ab58c42b
refactor #20, add remoteRef fix to draft3 as well 2016-06-19 01:03:42 +02:00
Andrei Neculau (anu)
e2404b91f0
Merge remote-tracking branch 'origin/pr/20'
* origin/pr/20:
  Add tests for #19
  Cleanup state when `$ref` goes out of scope. Fixes #19.
2016-06-18 23:14:25 +02:00
Andrei Neculau (anu)
2ba28819e4
fix copyright header 2016-06-18 23:12:25 +02:00
Sergey Prokhorov
e0cd308041 Add tests for #19 2016-06-01 20:56:33 +03:00
Andrei Neculau
c134d9805b
test improvements: elvis, xref, dialyzer 2016-03-08 19:39:02 +01:00
Andrei Neculau
c27b34e8d0
update json schema test suite 2016-03-08 17:02:04 +01:00
Andrei Neculau
472d30d226 please rebar... 2016-02-29 01:59:27 +01:00
Andrei Neculau
c866906378 extra testcase: less instance items than size of schema items. #15 2016-02-29 01:00:26 +01:00
Andrei Neculau
bf63a1e8aa refactor tests 2016-02-29 01:00:26 +01:00
Andrei Neculau
ff8c78f02f style 2016-02-29 01:00:26 +01:00
Sergey Prokhorov
d33d6fc304 Make it work and test on VMs before and after maps was introduced 2016-01-26 18:01:11 +03:00
Sergey Prokhorov
8fbf5bbf24 Fix elvis issues 2016-01-26 15:46:51 +03:00
Sergey Prokhorov
45cbc7fa86 Add maps support. Fixes #10. 2016-01-26 15:35:13 +03:00
Andrei Neculau
2f1ad84ef5 make elvis happy 2015-12-17 01:35:05 +01:00
Andrei Neculau
2787c5413b collect emacs specifics 2015-12-17 01:30:03 +01:00
Andrei Neculau
887f5ffc89 cleanup json schema test suites 2015-12-17 01:30:03 +01:00
Andrei Neculau
020a21f3a9 Merge pull-request #5 from emfa/json-references 2015-12-17 01:29:20 +01:00
Andrei Neculau
bec45db042 add first version of cli jesse, switch jiffy for jsx 2015-12-06 20:50:20 +01:00
Andrei Neculau
6d13064efc update copyright 2015-12-05 20:22:02 +01:00
Emil Falk
6f9622db54 All tests passes for both draft3 and draft4. 2015-05-25 15:58:23 +02:00
Emil Falk
14a3d552e0 Local and remote references excluding the id keyword. 2015-05-22 15:38:21 +02:00
Emil Falk
f34852794b Merge remote-tracking branch 'jamesaimonetti/spec03-ref' into json-references 2015-05-21 09:04:50 +02:00
Emil Falk
b050e7d1e3 Draft 4 support 2015-05-20 16:34:15 +02:00
Emil Falk
1c07f39707 Add test file and stub-validator. 2015-05-20 10:42:21 +02:00
Emil Falk
f41347e694 Setup tests and stub for draft4. 2015-05-15 16:02:02 +02:00
James Aimonetti
f121e9c50d Enable ref test suite 2015-01-15 11:58:46 -08:00
Alexander Dergachev
8ba9fac3e2 Update jesse_json_path.erl to kvc 1.5.0 to fix #33
In issue #33 was reported a bug in jesse_json_path.erl,
since jesse_json_path.erl is effectively a copy of kvc.erl
from https://github.com/etrepum/kvc, to fix the issue it's
enough to update it to the latest version of kvc.erl where
the issue was fixed.
2014-11-23 18:05:42 +01:00
Alexander Dergachev
6bfcd4e907 Update copyright information 2014-11-01 11:04:36 +01:00
Alexander Dergachev
f1b1684373 Fix handling of unsupported schemas 2014-10-05 22:43:42 +02:00
Alexander Dergachev
20548547dc Merge branch 'master' of https://github.com/loucash/jesse into loucash-master 2014-04-12 13:01:37 +02:00
Alexander Dergachev
f635d69462 Fix issue #17 2014-04-08 12:36:27 +02:00
Alexander Dergachev
d9ace26916 Fix issue #19 2014-04-07 22:14:54 +02:00
Łukasz Biedrycki
8fc652d4e9 More accurate Path in case of no_extra_properties_allowed error 2014-04-04 17:04:00 +02:00
Viktor Söderqvist
7fdf4f6714 Reverse path in errors to get it in correct order, klarna/jesse#13 2014-02-18 17:44:20 +01:00
Viktor Söderqvist
d02e2e5c37 Adds eunit tests checking the format of validation errors 2014-02-10 15:16:00 +01:00
Andrew Majorov
8f2683d4cf Fix tests compatibility with R16 and later.
Some deprecated features were removed in R16, that's why dot-delimited
atoms are not syntactically valid anymore.
2013-04-15 17:11:35 +04:00
Alexander Dergachev
dcd61d2a9c Fix compilation warnings 2013-02-19 18:57:38 +01:00
Alexander Dergachev
c1afda4d19 Minor changes in jesse test suite 2013-02-19 18:57:37 +01:00