Commit Graph

7511 Commits

Author SHA1 Message Date
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
Thomas Kriechbaumer
1c6b33f5af update packages 2017-05-11 10:16:19 +02:00
Maximilian Hils
8414df1e1a fix type annotation 2017-05-11 10:15:28 +02:00
Matthew Shao
9a7ac14654 [web] Add tests for js/components/common/DocsLink.jsx 2017-05-11 10:25:45 +08:00
Matthew Shao
ce15501c54 [web] Add tests for js/components/common/Dropdown.jsx 2017-05-11 08:43:50 +08:00
Matthew Shao
f295bfd558 [web] Add 'react-test-renderer' dependency. 2017-05-11 08:27:40 +08:00
Matthew Shao
f3e5c35b49 [web] Add tests for js/components/common/Button.jsx 2017-05-11 08:19:10 +08:00
Matthew Shao
cafa094f75 Merge pull request #2322 from MatthewShao/jest-dev
[web] Coverage improve
2017-05-10 03:11:27 -05:00
Ujjwal Verma
3e85dfd242 Handle head request on onboarding app: Fix #2324 (#2325) 2017-05-09 20:08:42 +02:00
Maximilian Hils
537d5fa229 web: do not collect coverage when invoking "jest"
this is annoying when runnig jest --watch=all.
2017-05-09 19:12:56 +02:00
Maximilian Hils
457bc36d7f web: clear mock store actions after each test 2017-05-09 19:10:48 +02:00
Matthew Shao
fd24e15bfb [web] Update tests for js/ducks/ui/keyboard.js 2017-05-09 18:55:24 +08:00
Matthew Shao
aca30ad8d8 [web] Add tests for js/ducks/ui/keyboard.js 2017-05-09 16:05:41 +08:00
Maximilian Hils
81d68aa564 Merge pull request #2320 from Ritiek/master
Add specific instructions on mitm.it when an icon is clicked
2017-05-08 17:34:50 +02:00
Matthew Shao
f327a52029 [web] Add tests for js/__tests__/ducks/ui/indexSpec.js 2017-05-08 09:26:00 +08:00
Ritiek Malhotra
4c2404049c Change to only Apps & VPN 2017-05-08 06:43:44 +05:30
Matthew Shao
21cdfe835b [web] Add tests for js/ducks/index.js & js/ducks/ui/index.js 2017-05-08 08:53:44 +08:00
Matthew Shao
23f180ba4f [web] Clear up jest.unmock()
Automocking is no longer enable by default, so we don't need to unmock
modules manually.
2017-05-07 21:32:49 +08:00
Ritiek Malhotra
e07d2b0660 Add instructions for Windows and Android 2017-05-07 08:13:45 +05:30