Florian Bruhin
|
49ead32f13
|
Update urlmatch tests for Chromium changes
See:
0ab1294c92 %5E%21/
https://bugs.chromium.org/p/chromium/issues/detail?id=812543
|
2018-02-23 06:31:49 +01:00 |
|
Florian Bruhin
|
ea6a5de374
|
Update FIXMEs
|
2018-02-20 23:28:11 +01:00 |
|
Florian Bruhin
|
0d4e20c395
|
Whitelist config options which support URL patterns
|
2018-02-20 23:26:22 +01:00 |
|
Florian Bruhin
|
6c5876a494
|
Fix tests broken by urlmatch trailing slash change
|
2018-02-20 23:08:09 +01:00 |
|
Florian Bruhin
|
18848315f5
|
urlmatch: Make it possible to leave off trailing slash
|
2018-02-20 22:45:16 +01:00 |
|
Florian Bruhin
|
17b235b523
|
Add error handling for parsing patterns from YAML
|
2018-02-20 22:29:21 +01:00 |
|
Florian Bruhin
|
46aeb25e7e
|
Fix lint
|
2018-02-20 20:55:42 +01:00 |
|
Florian Bruhin
|
439d51875f
|
Add config.pattern()
|
2018-02-20 20:54:26 +01:00 |
|
Florian Bruhin
|
3ade923edb
|
Add basic pattern support for config.py
|
2018-02-20 18:43:42 +01:00 |
|
Florian Bruhin
|
a3dfec20c1
|
Rename --url to --pattern
|
2018-02-20 17:56:47 +01:00 |
|
Florian Bruhin
|
9685445559
|
Fix issues with Python 3.5
|
2018-02-20 17:56:47 +01:00 |
|
Florian Bruhin
|
e482c76874
|
YamlConfig: Refuse to read a newer config version
|
2018-02-20 17:08:28 +01:00 |
|
Florian Bruhin
|
03114ccf51
|
Migrate YAML config files in old format
|
2018-02-20 16:14:06 +01:00 |
|
Florian Bruhin
|
ae73215724
|
Fix lint
|
2018-02-20 12:30:41 +01:00 |
|
Florian Bruhin
|
b9bb515b3b
|
Add missing configfiles tests
|
2018-02-20 12:30:41 +01:00 |
|
Florian Bruhin
|
9c42d87e7d
|
Add missing configutils test
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
05017c83d6
|
Add more config tests
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
36f3e54e1d
|
Finish configutils tests
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
63c77a4d76
|
urlmatch: Fix equality with non-UrlPattern types
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
685e3ffcfe
|
Fix and test UrlPattern/configutils.Values stringification
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
145a21449b
|
configutils: Add first tests
|
2018-02-20 12:30:34 +01:00 |
|
Florian Bruhin
|
5978b7b35f
|
config: Improve tests for non-existent options
|
2018-02-19 22:09:54 +01:00 |
|
Florian Bruhin
|
463320b599
|
Make test_config.py work
|
2018-02-19 22:09:54 +01:00 |
|
Florian Bruhin
|
fecebd6ced
|
Start getting test_config.py to run
|
2018-02-19 22:09:49 +01:00 |
|
Florian Bruhin
|
7d80825853
|
Fix test_configfiles.py
|
2018-02-19 22:09:46 +01:00 |
|
Florian Bruhin
|
5d63dfb24c
|
Start fixing test_configfiles.py
|
2018-02-19 22:09:46 +01:00 |
|
Florian Bruhin
|
0f907b1a77
|
Fix getting YAML values in test_configcommands.py
|
2018-02-19 22:09:46 +01:00 |
|
Florian Bruhin
|
75181e16fa
|
Fix test_models.py
The Config object got initialized via the config_stub fixture early, so we need
to force it to re-init its values after patching configdata.DATA.
|
2018-02-19 22:09:46 +01:00 |
|
Florian Bruhin
|
19f7b92abb
|
Fix test_configinit.py
|
2018-02-19 22:09:43 +01:00 |
|
Florian Bruhin
|
5eeb223338
|
Use a different directory for file prompt tests
This way they aren't influenced by the config_tmpdir fixture.
|
2018-02-19 22:08:42 +01:00 |
|
Florian Bruhin
|
d3e8d46593
|
Use a real YamlConfig for tests
|
2018-02-19 22:08:42 +01:00 |
|
Florian Bruhin
|
7c1fb1d215
|
Refactor acceptNavigationRequest handling to use signals
|
2018-02-19 22:07:53 +01:00 |
|
Florian Bruhin
|
7033af816a
|
urlmatch: Add equality testcases
|
2018-02-19 22:07:53 +01:00 |
|
Florian Bruhin
|
eda15c53ad
|
urlmatch: Improve port error output
|
2018-02-19 22:07:53 +01:00 |
|
Florian Bruhin
|
d6ea9b1e47
|
urlmatch: Add test for invalid IPv6 URL
|
2018-02-19 22:07:53 +01:00 |
|
Florian Bruhin
|
5f6c8435a4
|
urlmatch: Add initial benchmark/hypothesis test
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
5627a63265
|
urlmatch: Fix lint
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
e161458f91
|
urlmatch: Add test cases for oddballs
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
33b7c4bdd0
|
urlmatch: Fix and test port handling
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
45cc1aaeb0
|
urlmatch: Add tests for file://
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
0a10a4f751
|
urlmatch: Add more tests for special schemes
|
2018-02-15 18:47:07 +01:00 |
|
Florian Bruhin
|
28aadc4f96
|
urlmatch: Add tests for <all_urls>
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
867f2a8e2b
|
urlmatch: Use None for match-all path
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
a8a9cdd81e
|
urlmatch: Add more tests from Chromium
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
978b90b5b1
|
urlmatch: Implement correct IP matching
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
2d43a1d2e7
|
urlmatch: Use None as default for host
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
5419d1caa1
|
urlmatch: Add glob escaping tests
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
faeca30dfa
|
urlmatch: Add more tests
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
b7c3c10b87
|
urlmatch: Use class in test
|
2018-02-15 18:47:03 +01:00 |
|
Florian Bruhin
|
2b274f8e0b
|
urlmatch: Implement initial matching
|
2018-02-15 18:47:02 +01:00 |
|