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 |
|
Florian Bruhin
|
3d6cbcf396
|
urlmatch: Improve matching error for TLD wildcards
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
fa329c698e
|
urlmatch: Finish port parsing
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
a2a95f5fee
|
urlmatch: Improve port handling
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
d266190518
|
urlmatch: Improve port tests
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
c728d78bea
|
urlmatch: Host/port parsing
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
32abb67d1f
|
urlmatch: Use dedicated ParseError exception
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
3c17bb97c0
|
urlmatch: Start with port parsing
|
2018-02-15 18:47:02 +01:00 |
|
Florian Bruhin
|
1b8dfb6c36
|
urlmatch: Disallow NUL byte
See https://bugs.chromium.org/p/chromium/issues/detail?id=390624
With Qt, we might run into the same issue as well at some point, and it sure
can't hurt to disallow it.
|
2018-02-15 18:46:58 +01:00 |
|
Florian Bruhin
|
76efba296f
|
urlmatch: Store path/port
|
2018-02-15 18:46:55 +01:00 |
|
Florian Bruhin
|
b93c0dad5a
|
urlmatch: Start UrlPattern
|
2018-02-15 18:46:51 +01:00 |
|
Florian Bruhin
|
9bf5ff1583
|
Merge remote-tracking branch 'origin/pr/3584'
|
2018-02-13 09:43:44 +01:00 |
|
Ryan Roden-Corrent
|
22d7490126
|
Remove unused import and TODO from urlmarks test.
|
2018-02-12 19:25:24 -05:00 |
|
Florian Bruhin
|
47451aa495
|
Open qute://tabs with :buffer
|
2018-02-12 23:00:26 +01:00 |
|
George Edward Bulmer
|
561e5d17b9
|
Remove extraneous space
|
2018-02-12 14:22:25 +00:00 |
|
George Edward Bulmer
|
5b718446b6
|
Add test for sourcing config with invalid source
|
2018-02-12 14:19:18 +00:00 |
|