daml/ledger-service
Stephen Compall 92f2dbf2eb
lf-value-json: don't hardcode String cids; more consistent test runtimes, with special cases called out (#2374)
* use Arbitrary for TypedValueGenerators to get existing 'sized' uses

* test Option[Option[Long]] specifically

* derive Arbitrary ValueMap solely by implicit means, for the sized

* make ApiCodecCompressed Cid-generic

* first sample JSON tests

* navigator adaptation to Cid genericity

* scalafmt

* Table-ify JSON tests

* more navigator adaptation

* adapt http-json to Cid-agnostic JSON codec

* stem the tide of namespace pollution wrought by the "mixin to import" style

* show line # of failed JSON cases

* naturally limit the nesting factor of generated types

* move SortedLookupList generation to data-scalacheck library

* more sample JSON cases from design doc

* add more parameters to ApiCodecCompressed

- AbsoluteContractId seems like it will give rise to incoherence
- and there are going to be two parameters
- so we might as well just parameterize the whole codec

* test canonical and equivalent encoded forms

* test lists

* test very very nested optionals

* many more optional-related tests
2019-08-08 09:02:05 -04:00
..
http-json lf-value-json: don't hardcode String cids; more consistent test runtimes, with special cases called out (#2374) 2019-08-08 09:02:05 -04:00
jwt JWT HMAC256 Authorization (#2389) 2019-08-07 16:26:26 +00:00
lf-value-json lf-value-json: don't hardcode String cids; more consistent test runtimes, with special cases called out (#2374) 2019-08-08 09:02:05 -04:00
utils HTTP JSON API first version (#1994) 2019-07-29 16:49:57 -04:00