[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13135 [Onionoo]: Support various fingerprint formats
#13135: Support various fingerprint formats
-----------------------------+--------------------------
Reporter: Sebastian | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------
Comment (by iwakeh):
I attached another 'ResourceServletTest' class, which should go into
the org.torproject.onionoo.**server** test package.
(Feel free to rename and rearrange anything. And, add more tests.)
To make the tests work {{{parseSearchParameters()}}} should be {{{public
static}}}.
{{{getQueryString()}}} returns the entire string after the path, i.e.
{{{http://localhost:8080/summary?search=something&limit=4}}} will lead to
{{{search=something&limit=4}}}.
(btw: This test is an example for the tests that we can add more easily
when the api change is introduced, e.g. test classes for all the
Validators there.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13135#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs