[tor-bugs] #13135 [Onionoo]: Support various fingerprint formats

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 7 18:44:37 UTC 2014


#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


More information about the tor-bugs mailing list