aboutsummaryrefslogtreecommitdiff
path: root/handler_test.go
Commit message (Collapse)AuthorAgeFilesLines
* major refactor based on README.md and TODOsRasmus Dahlberg2021-02-251-925/+0
| | | | | | Updated types, improved units tests, isolated most test data to have it in one place, renamed and created new files to improve readability, and fixed a bunch of minor TODOs.
* renamed sth and cosigning endpointsRasmus Dahlberg2021-02-221-10/+10
|
* fixed unintuitive variable names in ActiveSthSourceRasmus Dahlberg2021-02-181-2/+2
|
* added basic server-side cosigning (work in progress)Rasmus Dahlberg2021-02-171-11/+214
|
* started replacing x509 with namespaceRasmus Dahlberg2021-01-271-112/+71
|
* added instance and log parameter testsRasmus Dahlberg2020-12-021-1/+5
|
* started to clean-up instanceRasmus Dahlberg2020-12-011-12/+12
| | | | | Things like opening files is better place in the server package. Any code that is difficult to test should also not be in the STFE package.
* renamed and documented functionRasmus Dahlberg2020-12-011-8/+8
|
* attached url method on endpoint typeRasmus Dahlberg2020-12-011-9/+8
|
* removed explicit string functionRasmus Dahlberg2020-12-011-10/+10
|
* added an endpoint typeRasmus Dahlberg2020-11-301-28/+28
|
* removed TODORasmus Dahlberg2020-11-301-1/+0
| | | | | That the returned leaf and appendix are as expected follows from the newAddEntryRequest function and its separate test cases.
* migrated over to x509util/testdataRasmus Dahlberg2020-11-301-11/+11
|
* removed resolved todoRasmus Dahlberg2020-11-241-20/+3
|
* added start on isolated trillian checksRasmus Dahlberg2020-11-231-41/+44
|
* fixed structure to include trillian_tests.goRasmus Dahlberg2020-11-161-70/+0
| | | | Moved trillian test helpers and added TODO functions.
* added TODOsRasmus Dahlberg2020-11-161-0/+2
|
* added get-entries handler testsRasmus Dahlberg2020-11-161-0/+146
| | | | Ensures that the respective error handling functions are invoked.
* added get-consistency-proof handler testsRasmus Dahlberg2020-11-161-0/+121
| | | | Ensures that the respective error handling functions are invoked.
* added get-proof-by-hash handler testsRasmus Dahlberg2020-11-161-1/+126
| | | | Ensures that the respective error handling functions are invoked.
* added add-entry handler testsRasmus Dahlberg2020-11-161-0/+169
| | | | Ensures that the respective error handling functions are invoked.
* move test helpers to testdata packageRasmus Dahlberg2020-11-111-56/+6
|
* added docRasmus Dahlberg2020-11-111-0/+2
|
* added get-anchors handler testsRasmus Dahlberg2020-11-111-0/+30
|
* added test that checks for a context deadlineRasmus Dahlberg2020-11-111-1/+26
|
* added get-sth handler testsRasmus Dahlberg2020-11-111-5/+109
|
* removed code snippets that we don't need for nowRasmus Dahlberg2020-11-111-32/+1
|
* added start on gomock testsRasmus Dahlberg2020-11-101-0/+202
Based on github.com/google/certificate-transparency-go/trillian/ctfe