summaryrefslogtreecommitdiffstats
path: root/rust/tests
Commit message (Collapse)AuthorAgeFilesLines
* rust: partial test coverage of schema changesBryan Newbold2021-10-131-2/+32
|
* rustfmtBryan Newbold2020-11-191-1/+4
|
* rename rust crate fatcat-api-spec -> fatcat-openapiBryan Newbold2019-09-052-4/+4
|
* fix 'releases' tests (to release_ids)Bryan Newbold2019-05-211-3/+3
|
* make some XXX into TODOBryan Newbold2019-05-202-2/+2
|
* rust: fix missing 'created' field test failureBryan Newbold2019-05-151-0/+1
|
* rust impl endpoint changesBryan Newbold2019-05-142-112/+48
|
* rust codegen and implBryan Newbold2019-05-141-1/+1
|
* rust: fix ark lookup (new example id)Bryan Newbold2019-05-131-1/+1
|
* codegen size_bytes -> sizeBryan Newbold2019-05-131-2/+1
|
* add a rust test for extid table UNIQBryan Newbold2019-05-101-0/+37
|
* get tests passing with extid changesBryan Newbold2019-05-102-27/+91
|
* basic given_name/surname in API hitBryan Newbold2019-05-091-0/+2
|
* rust: API lower-cases DOI lookupsBryan Newbold2019-04-181-0/+11
|
* rustfmtBryan Newbold2019-04-091-1/+3
|
* rust: fix macaroon expiry checkBryan Newbold2019-04-091-0/+7
| | | | | | | | | | | | | There were two bugs with this code: the expiry timestamps were getting enclosed in double-quotes (which caused parse bugs), and the actual caveat check itself was backwards (expires < now instead of expires > now). An underlying issue was that these caveats weren't actually getting checked in the tests. Should fix a bug where users don't get auth'd correctly when logging in via mechanisms other than tokens.
* more old rust tests removedBryan Newbold2019-02-052-302/+1
|
* remove test client helperBryan Newbold2019-02-051-36/+0
|
* rust: remove client tests (unused)Bryan Newbold2019-02-051-25/+0
| | | | Basically all of this has moved to python, which is fine.
* allow passing description+extra to batch endpointsBryan Newbold2019-01-221-2/+4
| | | | | | Pretty messy, but I needed some way to do this. In particular, requires json.dumps() in python code, for now. Blech.
* impl cdx timestamps as datetimeBryan Newbold2019-01-181-1/+1
|
* fix autoaccept testBryan Newbold2019-01-181-2/+2
|
* rust fmtBryan Newbold2019-01-171-37/+43
|
* add test for parameter parsingBryan Newbold2019-01-171-0/+83
|
* add test for refs blob stuff in rust itselfBryan Newbold2019-01-141-0/+161
|
* minimal crude rust tests for new endpointsBryan Newbold2019-01-112-1/+152
|
* implement since/before ordering for range requestsBryan Newbold2019-01-111-0/+1
|
* refactor editgroup creation in test_api_server_httpBryan Newbold2019-01-112-39/+42
|
* refactor: FatCatId -> FatcatIdBryan Newbold2019-01-094-87/+158
|
* fix a bunch of test issuesBryan Newbold2019-01-092-78/+83
| | | | | I previously was only running a single test locally; oops! CI caught them.
* impl AsRef, From, Into for FatCatIdBryan Newbold2019-01-091-5/+22
|
* rust impl required editgroup_idBryan Newbold2019-01-092-23/+59
|
* start removing active editgroup codeBryan Newbold2019-01-092-37/+37
|
* refactor to have consistent db conn argument orderBryan Newbold2019-01-091-8/+8
| | | | 'conn' parameter always comes first.
* revert pg_tmp parallel tests (for now)Bryan Newbold2019-01-091-2/+2
| | | | | I really want these to work, but even with jitter get frequent test failures, and CI is broken.
* huge refactor of rust modules/filesBryan Newbold2019-01-086-42/+18
| | | | | | Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also.
* rust 2018 edition!Bryan Newbold2019-01-083-139/+136
| | | | Only the basics to get things to compile/test again in this commit.
* squelch more build warningsBryan Newbold2019-01-081-1/+0
|
* integrate pg_tmp into testsBryan Newbold2019-01-081-0/+1
|
* pg_tmp: hack to find pg binaries on debian/ubuntuBryan Newbold2019-01-081-0/+2
|
* add pg_tmp.shBryan Newbold2019-01-081-0/+131
| | | | | | Unmodified, as downloaded from: https://bitbucket.org/eradman/ephemeralpg/raw/08896d00f50f7c1d1e8c851f9598fc7f7ddb675a/pg_tmp.sh
* squelch more test warningsBryan Newbold2019-01-082-1/+5
|
* rust fmtBryan Newbold2019-01-081-1/+2
|
* iterate on macaroon time caveat namesBryan Newbold2019-01-081-2/+1
|
* add superuser role/flagBryan Newbold2019-01-041-3/+3
|
* rust fmtBryan Newbold2018-12-312-10/+3
|
* make editor_id optional when createding editgroupBryan Newbold2018-12-312-2/+38
| | | | The editor_id can be infered from auth metadata.
* crude admin auth in testsBryan Newbold2018-12-314-21/+69
|
* tests: disable client testsBryan Newbold2018-12-312-23/+25
| | | | | | | | | | | | But un-comments a bunch of code (and fixes type bugs with that). Something about calling iron::http() has broken, such that the call blocks. I thought it might be a port thing, but doesn't seem like it. Presumably this is what was causing problems with the "old_python_tests" second test previously. For now, just disabling; these integration-level tests best done from python anyways.
* rustfmt; implement role-based auth checksBryan Newbold2018-12-311-7/+5
|