Commit Graph

6679 Commits

Author SHA1 Message Date
Thomas Kriechbaumer 0bd3d0ff4c upgrade pytest and remove our pytest.raises wrapper 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer 4961d782ed fix typo 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer b4f65049f2 auto-close file after reading 2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer ba05a29fbb TCP IPv6: fix leaking sockets 2017-05-24 11:35:35 +02:00
Maximilian Hils 1ca98c83aa Merge pull request #2347 from MatthewShao/jest-dev
[web] Add tests for js/components/FlowTable
2017-05-22 18:49:32 +02:00
Matthew Shao 8b5160ce58 [web] Add tests for js/components/FlowTable/FlowTableHead.js 2017-05-22 21:32:08 +08:00
Matthew Shao ab564ea5fd [web] Add tests for js/components/FlowTable/FlowRow.js 2017-05-22 21:26:27 +08:00
Maximilian Hils 2222f0b65a Merge pull request #2191 from LuD1161/Issue#2139
improve flow_detail help text
2017-05-22 12:06:07 +02:00
Maximilian Hils 5626c384ab Merge pull request #2342 from MatthewShao/jest-dev
[web] Add  _flow.js for component tests.
2017-05-22 10:00:35 +02:00
Matthew Shao 546bac68d4 [web] Fix 100% coverage for js/components/FlowTable/FlowColumns.js 2017-05-22 10:46:03 +08:00
Matthew Shao 2935ff5f3a [web] Set some value as constant, so _tflow.js would not change. 2017-05-22 08:53:59 +08:00
Matthew Shao 2c38fddea5 [web] TFlow minor improved. 2017-05-21 20:59:19 +08:00
Thomas Kriechbaumer 79100593c2 Update options.py 2017-05-19 12:12:40 +08:00
Thomas Kriechbaumer af0ad49434 disable double requires-io-master CI builds 2017-05-19 11:58:54 +08:00
Matthew Shao 55a58c4c6f [web] Add js/__tests__/ducks/_tflow.js 2017-05-19 10:17:06 +08:00
Matthew Shao 369e1f1eee [web] Fix minior lint problem. 2017-05-19 09:56:52 +08:00
Matthew Shao 5df0ddf358 [web] Updates test to use the new _tflow.js. 2017-05-19 09:50:12 +08:00
Matthew Shao 50c0703424 [web] Add _tflow.js generator in test_app.py 2017-05-19 09:45:30 +08:00
Maximilian Hils a9e002af18 Merge pull request #2337 from MatthewShao/jest-dev
[WIP][web] Add tests for UI components
2017-05-18 13:05:15 +02:00
Maximilian Hils 4b1cd76f3e [requires.io] dependency update (#2328) 2017-05-18 16:59:08 +08:00
Matthew Shao 4e4be8bd68 [web] Update snapshot. 2017-05-18 11:14:26 +08:00
Matthew Shao d902b851c8 [web] Minor fixes for component tests. 2017-05-18 10:42:06 +08:00
Ujjwal Verma 5833b218b2 Increase net.tcp.py coverage (#2336) 2017-05-17 23:27:57 +08:00
Matthew Shao d290be2327 [web] Add tests for js/components/FlowTable/FlowColumnsSpec.js 2017-05-17 22:33:29 +08:00
Matthew Shao 22a1709c8b [web] Add a TFlow class to js/ducks/tutils.js
Many Components requires a flow object when being rendered, so we put a TFlow
class here, currently has the minimize structure, only contains the
attributes we needed in the components to be tested.
2017-05-17 22:27:20 +08:00
Thomas Kriechbaumer feff5bd138 Merge pull request #2338 from ujjwal96/test-cov
Increased test coverage
2017-05-17 15:12:36 +08:00
Ujjwal Verma 208931021e Updated setup.cfg 2017-05-17 11:26:18 +05:30
Ujjwal Verma 37053f0efc Increased mitmproxy.controller coverage 2017-05-17 11:06:40 +05:30
Ujjwal Verma 204d06f93f Increased xml_html contentview coverage 2017-05-17 11:05:49 +05:30
Ujjwal Verma 8eea05fcaf Increase contentviews api coverage 2017-05-17 11:04:43 +05:30
Thomas Kriechbaumer ca46b1e340 alpn_select_callback must be a callable 2017-05-17 10:38:31 +08:00
Thomas Kriechbaumer 3fadda2bba fix pragmas 2017-05-17 10:33:35 +08:00
Matthew Shao 204dea4a2e [web] Add tests for src/js/components/ValueEditor/ValueEditor.js 2017-05-16 23:03:03 +08:00
Thomas Kriechbaumer dd3067ab6e Merge pull request #2335 from cortesi/shutdown
net.tcp: server should be in shut-down state before start
2017-05-16 20:44:24 +08:00
Matthew Shao d63e01d48d [web] Add tests for js/components/ValueEditor/ValidateEditor.js 2017-05-16 18:00:14 +08:00
Maximilian Hils 69c5a0b699 Merge pull request #2327 from MatthewShao/jest-dev
[WIP][web] Add tests for UI components
2017-05-15 13:22:29 +02:00
Matthew Shao c327ae853c [web] Add tests for js/components/helpers/AutoScroll.js 2017-05-15 17:55:06 +08:00
Matthew Shao 6757eda23a [web] Add tests for js/components/helpers/VirtualScroll.js 2017-05-15 16:44:02 +08:00
Matthew Shao 801f78f3ed [web] Add tests for js/components/common/Splitter.jsx 2017-05-15 10:08:48 +08:00
Aldo Cortesi a03a56f4dc net.tcp: server should be in shut-down state before start
The .configure and .tick events can be called before the server is running. If
an addon calls ctx.master.shutdown() at this point, the server hangs forever
waiting on __is_shutdown_set. This patch fixes this by starting off with it
already set.
2017-05-14 10:28:12 +12:00
Matthew Shao 5c5f308a24 [web] Minor fix for FileChooser.jsx 2017-05-13 21:01:59 +08:00
Ujjwal Verma fe01adff0f Merge pull request #2331 from ujjwal96/test-coverage
Improve Test coverage
2017-05-12 21:47:24 +05:30
Ujjwal Verma dc40fc4933 Changes in setup.cfg 2017-05-12 21:09:50 +05:30
Ujjwal Verma d47de94303 Increase io.compat coverage 2017-05-12 21:09:50 +05:30
Ujjwal Verma 9d0771bae5 net.http.url.py changes 2017-05-12 21:09:50 +05:30
Ujjwal Verma 766c5caea8 Increased net.http.cookies.py and net.http.message.py coverage 2017-05-12 21:09:50 +05:30
charlesdhdt 9f8e83259e Fixed LDAP Auth (#2333) 2017-05-12 15:37:00 +02:00
Matthew Shao ace67b5a87 [web] Add tests for js/components/common/ToggleInputButton.jsx 2017-05-12 09:07:28 +08:00
Matthew Shao 2b5a300284 [web] Add tests for js/components/common/ToggleButton.jsx 2017-05-12 09:05:06 +08:00
Matthew Shao 782d564e76 [web] Add tests for js/components/common/FileChooser.jsx & minor fix. 2017-05-12 08:58:37 +08:00