aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* addons.setheaders: fix configure bug, tests to taddonsAldo Cortesi2016-11-041-49/+45
|
* addons.view: test suite to 100%Aldo Cortesi2016-11-041-15/+55
| | | | This takes coverage for all of /addons to 100%
* addons.view: test improvementsAldo Cortesi2016-11-031-1/+51
|
* addons.streambodies: 100% test coverageAldo Cortesi2016-11-031-13/+11
|
* addons.serverplayback: 100% test coverageAldo Cortesi2016-11-032-271/+318
|
* addons.serverplayback: test suite to taddonsAldo Cortesi2016-11-031-58/+61
|
* addons.script: 100% test coverageAldo Cortesi2016-11-031-2/+49
|
* addons.script: convert to test.taddonsAldo Cortesi2016-11-031-100/+98
|
* addons.onboarding: remove duplicate codeAldo Cortesi2016-11-031-1/+1
|
* addons.intercept: 100% test coverageAldo Cortesi2016-11-031-0/+5
|
* streamfile: make options less crazyAldo Cortesi2016-11-032-37/+5
| | | | | | | Instead of a (file, mode) tuple, move to "streamfile" as the path, and "streamfile_append" to specify if we should append or not. Leave the command-line options intact for now.
* FileStreamer -> StreamFileAldo Cortesi2016-11-031-14/+13
| | | | options.wfile -> options.streamfile
* addons: filestreamer test cov to 100%Aldo Cortesi2016-11-031-7/+44
| | | | | Also address a bug in taddons that caused options changes that raised errors to be retained rather than rolled back.
* addons filstreamer: tests and bugfixesAldo Cortesi2016-11-031-25/+13
| | | | | - Move tests to taddons - Fix a bug where options updates caused streaming to halt
* Change antiquated test cipher suitesAldo Cortesi2016-11-031-4/+4
| | | | This breaks Travis, possibly due to OpenSSL version.
* addons: dumper spit and polishAldo Cortesi2016-11-022-7/+151
| | | | | | | - 100% test coverage - Cleanups - Add test/mitmproxy/addons/dumperview.py, a small utility for viewing dumper output variations
* tests: convert test_dumper to use taddonsAldo Cortesi2016-11-022-29/+19
|
* tests: client_playback coverageAldo Cortesi2016-11-023-28/+60
|
* tests: pathod/tutils.py -> pathod/tservers.pyAldo Cortesi2016-11-0212-45/+40
| | | | And remove all aliases for mitmproxy.test.tutils
* tests: clean up test/mitmproxy/tutils.pyAldo Cortesi2016-11-0226-165/+149
| | | | Remove aliases, use mitmproxy/test/tutils instead.
* tests: minor cleanup for tests/mitmproxy/tutils.pyAldo Cortesi2016-11-022-17/+13
|
* addons anticom, anticache: expand tests, new trussAldo Cortesi2016-11-013-27/+26
|
* Remove addons.StateAldo Cortesi2016-11-013-168/+5
| | | | | - Do a first-pass port of mitmweb. Some stuff still broken. - Remove more all State tests from the test suite
* Replace addons.state in test suiteAldo Cortesi2016-11-012-14/+30
| | | | Use a super-simple flow recorder instead.
* console: add caching sort keysAldo Cortesi2016-10-301-32/+27
| | | | | | | | | | | This is a tad complicated. The underlying sorted list implementation expects the sort key to be stable for the lifetime of the object. However, if we sort by size, for instance, the sort order changes as the flow progresses through its lifecycle. We address this through two means: - Let order keys cache the sort value by flow ID. - Add a facility to refresh items in the list by removing and re-adding them when they are updated.
* console: re-add follow focusAldo Cortesi2016-10-301-0/+5
|
* console: "v" to reverse flow orderAldo Cortesi2016-10-301-4/+13
|
* console: o for flow orderAldo Cortesi2016-10-301-1/+5
| | | | | | "o" shortcut and --order cmdline option to change flow order. Options is now bound to "O".
* addons.view: Add first-class support for markingAldo Cortesi2016-10-302-93/+12
| | | | | | | | | Marking now works differently - it's no longer just another filter, it's applied in addition to the filter. This means you can apply a filter, mark some flows, and then toggle between marked and unmarked flows matching the filter. I'm leaving the filter for marked flows intact - it will come in handy in other situations.
* console: Port from state to viewAldo Cortesi2016-10-301-25/+19
| | | | | First phase of the port - basic flow list and flow view functionality working. More to come.
* Add options.default_contentviewAldo Cortesi2016-10-301-4/+4
| | | | | This is the first step in a longer process of revamping content views. For the moment, the option is not exposed on the command line.
* Cleanups: remove intercept from addons.state, unused importsAldo Cortesi2016-10-3012-20/+9
|
* Replace interception in mitmproxy and mitmweb with addonAldo Cortesi2016-10-301-0/+2
| | | | Fixes #1674
* test.taddon: Add cycle() method, use it to test addons.interceptAldo Cortesi2016-10-301-0/+11
|
* Move test flow creators to mitmproxy.test.tflowAldo Cortesi2016-10-3026-264/+195
|
* Add addons.interceptAldo Cortesi2016-10-292-4/+25
| | | | | - Add an addon to handle intercept based on a filter pattern - Start sketching out a nicer testing truss for addons in mitmproxy.test.taddon
* SyncAldo Cortesi2016-10-291-0/+0
|
* addons.view: focus.focusflow -> focus.flowAldo Cortesi2016-10-291-17/+17
|
* addons.view.focus: next and prev methodsAldo Cortesi2016-10-291-0/+25
|
* addons.view: flow settingsAldo Cortesi2016-10-291-0/+15
| | | | Add a flow settings mechanism, enable focus and settings unilaterally.
* addons.view.focus: Better handling of view refreshAldo Cortesi2016-10-291-1/+1
| | | | | When we refresh and our current focus goes out of scope, we set the focus to the element nearest the old focus.
* addons.View: better order reversalAldo Cortesi2016-10-291-2/+19
| | | | | Deal with some subtleties in order reversal, add a toggle method that emits refresh.
* addons.view: Add a focus trackerAldo Cortesi2016-10-291-0/+55
|
* addons.View: hook up signalsAldo Cortesi2016-10-291-0/+71
|
* Sketch out addons.ViewAldo Cortesi2016-10-291-0/+92
| | | | The first iteration of a replacement for addons.State
* upgrade h2 to >=2.5.0Thomas Kriechbaumer2016-10-271-3/+3
|
* Merge pull request #1670 from chhsiao90/display-cipher-#582Maximilian Hils2016-10-271-0/+2
|\ | | | | Resolved #582: display ClientConnection select cipher of TLS
| * Show tls version on consolechhsiao902016-10-261-0/+1
| |
| * Resolved #582: display ClientConnection select cipher of TLSchhsiao902016-10-261-0/+1
| |
* | typecheck options, fix current inconsistenciesMaximilian Hils2016-10-257-2/+51
|/