aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* include unwrap() in testsBryan Newbold2018-12-291-1/+1
|
* basic auth unittestsBryan Newbold2018-12-281-0/+48
|
* rust impl last webcapture schema tweaksBryan Newbold2018-12-261-1/+1
|
* most basic fileset/web access testsBryan Newbold2018-12-261-1/+182
|
* remove unused postgres-backed stats stuffBryan Newbold2018-12-241-20/+0
| | | | Will replace with elasticsearch-based dash in webface
* rust impl of API harmonizationBryan Newbold2018-12-242-4/+4
|
* implement release_year (and rustfmt)Bryan Newbold2018-12-241-0/+76
|
* verify checksum against regexesBryan Newbold2018-12-211-2/+11
|
* lookups implBryan Newbold2018-12-141-1/+151
|
* new rustfmt (1.31)Bryan Newbold2018-12-141-14/+13
|
* skeleton out new schema featuresBryan Newbold2018-12-131-4/+8
|
* rustfmtBryan Newbold2018-12-131-1/+5
|
* implement hide flagBryan Newbold2018-11-262-5/+15
|
* add (disabled) test that invalid fields should errorBryan Newbold2018-11-141-0/+16
|
* implement new controlled vocabulariesBryan Newbold2018-11-142-14/+47
|
* disable breaking CI testBryan Newbold2018-11-142-3/+6
| | | | | See commit comment for details; a problem with gitlab CI and setup() function, not the test in particular. Grump.
* fix date/datetime confusion on rust/API sideBryan Newbold2018-11-141-0/+66
| | | | | | Should have dug in to this earlier; python code was getting confused. This is a breaking API change, from a practical standpoint, as both python and rust code had been hacked to work around this.
* rustfmtBryan Newbold2018-11-144-59/+105
|
* try slowing down rust tests to fix socket collisionBryan Newbold2018-11-131-0/+3
|
* remove neadless second basic api client testBryan Newbold2018-11-131-10/+0
|
* another old python test (doesn't merge)Bryan Newbold2018-11-131-0/+83
|
* start porting old python testsBryan Newbold2018-11-131-0/+148
|
* fiddle with test helper functionsBryan Newbold2018-11-133-145/+180
|
* start using client in some testsBryan Newbold2018-11-132-0/+65
|