[tor-bugs] #27625 [Core Tor/Tor]: add unit tests for tokenize_string() and get_next_token()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 23 14:50:18 UTC 2018


#27625: add unit tests for tokenize_string() and get_next_token()
-------------------------------------------+-------------------------------
 Reporter:  cyberpunks                     |          Owner:  rl1987
     Type:  defect                         |         Status:  merge_ready
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  0.3.6.x-final
Component:  Core Tor/Tor                   |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  tor-unittests, tor-tests-unit  |  Actual Points:
Parent ID:                                 |         Points:
 Reviewer:  dgoulet                        |        Sponsor:
-------------------------------------------+-------------------------------
Changes (by dgoulet):

 * status:  needs_review => merge_ready


Comment:

 This is kind of awesome!!

 ACK on this.

 (Note: the current `dns` and now adding `parsecommon` tests are not in
 alphabetical order in the test array so once merged, lets fix that quickly
 else when one run `make test`, it is not easy to spot them if they aren't
 ordered!)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27625#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list