Florian Bruhin
d45e883f6d
Move NormalizeTests to test.utils.test_misc
2014-07-03 07:41:23 +02:00
Florian Bruhin
0d037c74d4
Fix lint
2014-07-01 07:57:19 +02:00
Florian Bruhin
29064850c7
Begin using unittest.mock.patch
2014-06-30 20:35:43 +02:00
Florian Bruhin
66f0ef8009
Adjust test_basekeyparser for the named Timer.
2014-06-29 22:15:01 +02:00
Florian Bruhin
dd125cd0be
Mock out logging instead of disabling in test_basekeyparser.
2014-06-29 22:14:46 +02:00
Florian Bruhin
8d237229f5
Add __init__.py in test/keyinput
2014-06-29 21:17:38 +02:00
Florian Bruhin
31e0cde35b
Add tests for is_editable.
2014-06-23 20:31:47 +02:00
Florian Bruhin
2065f17cb5
Clean up tests
2014-06-23 19:44:21 +02:00
Florian Bruhin
914f7ace81
Fix Content-Disposition tests on Linux
2014-06-23 14:54:12 +02:00
Florian Bruhin
fdb4b24148
Remove excess newlines
2014-06-23 12:28:55 +02:00
Florian Bruhin
19688f5055
Add tests for parse_content_disposition
2014-06-23 12:16:01 +02:00
Florian Bruhin
8a8ca0c34f
Split utils.misc into utils.{qt,misc}
2014-06-23 07:45:04 +02:00
Florian Bruhin
5996651a2f
Merge utils.signals into utils.debug
2014-06-23 07:11:15 +02:00
Florian Bruhin
0dc2ecef46
Check QUrl objects for validity
2014-06-20 23:57:52 +02:00
Florian Bruhin
9a33efdb3f
Fix is_special_url (use QUrl).
2014-06-20 20:27:24 +02:00
Florian Bruhin
0fd64419da
Remove urlutils.{urlstring,qurl}.
...
The idea of treating an URL-string and a QUrl as essentially the same data type
got us into all kinds of problems. Now we use QUrl everywhere except at the
borders to the user interface.
2014-06-20 16:33:01 +02:00
Florian Bruhin
0fa309e2a4
Add a test for init_log if sys.stderr is None.
2014-06-20 08:50:04 +02:00
Florian Bruhin
e1ae4cb54c
Add a base class for logging tests.
2014-06-20 08:49:48 +02:00
Florian Bruhin
d443e585d3
Add missing test_debug.py
2014-06-20 06:23:41 +02:00
Florian Bruhin
d65587128f
Add vim modelines to all files.
2014-06-19 09:04:37 +02:00
Florian Bruhin
e6866f7d85
Don't go to insert mode on disabled/readonly fields
2014-06-17 15:32:18 +02:00
Florian Bruhin
6d4f961a50
Merge branch 'downloads'
...
Conflicts:
BUGS
2014-06-13 23:11:44 +02:00
Florian Bruhin
efd83f40ca
Print human readable sizes in downloads
2014-06-13 07:13:47 +02:00
Florian Bruhin
8c673ee66c
Add basic download info to view
2014-06-12 23:29:34 +02:00
Florian Bruhin
2ffc9bb00a
Add colors to DownloadView
2014-06-12 21:43:30 +02:00
Florian Bruhin
c90e01e16a
Fix qt_args test.
...
The order of the arguments is non-deterministic.
2014-06-12 15:17:38 +02:00
Florian Bruhin
1b8a44ac26
Simplify get_qt_args
2014-06-12 15:13:26 +02:00
Florian Bruhin
12830381cb
Add tests for get_qt_args
2014-06-10 12:00:45 +02:00
Florian Bruhin
6967002aed
Fix logfilter tests by using debug as default level
2014-06-06 17:25:08 +02:00
Florian Bruhin
2f1cd43f9c
Change lists to tuples for immutable values
2014-06-06 17:21:35 +02:00
Florian Bruhin
03d754dd86
Fix logfilter bugs
2014-06-06 16:51:24 +02:00
Florian Bruhin
9c9492a706
logfilter: Only filter debug messages
2014-06-06 15:48:42 +02:00
Florian Bruhin
500ad24cc3
Add keybindings for Ctrl-?/H/J/[ for Delete/Backspace/Return/Escape
2014-06-05 13:20:10 +02:00
Florian Bruhin
311b9f2034
Get rid of FakeDict
2014-06-04 07:16:02 +02:00
Florian Bruhin
83d8bc47c0
Make it possible to pass a start= argument to enum()
2014-06-04 07:02:04 +02:00
Florian Bruhin
fa1e03f56b
_foo.py file rename [1/2]
2014-06-03 14:57:57 +02:00
Florian Bruhin
fb7f1b381e
Fix lint
2014-06-02 18:01:56 +02:00
Florian Bruhin
161b2ef7af
Fix whitespace/CRLF
2014-05-27 16:24:26 +02:00
Florian Bruhin
0cac061feb
Clear logger handlers for log tests
2014-05-27 16:23:27 +02:00
Florian Bruhin
404ba37a0a
Add tests for readline
2014-05-27 14:58:07 +02:00
Florian Bruhin
0130a15efe
Add more RAMHandlerTests.
2014-05-27 13:49:55 +02:00
Florian Bruhin
b76004e7a1
Add tests for LogFilter
2014-05-27 13:36:11 +02:00
Florian Bruhin
b0a131eb1c
Add docstrings to tests
2014-05-27 13:06:13 +02:00
Florian Bruhin
f8adeb3234
Add some docs to test_editor.py
2014-05-27 11:52:41 +02:00
Florian Bruhin
ece794e4b4
Add TextModifyTests and ErrorMessageTests
2014-05-27 11:47:43 +02:00
Florian Bruhin
6557fa68a6
More editor test cleanup
2014-05-27 11:30:57 +02:00
Florian Bruhin
89a507a0bb
Add ArgTests
2014-05-27 11:17:27 +02:00
Florian Bruhin
15f8a3e6dd
editor test cleanup
2014-05-27 11:17:14 +02:00
Florian Bruhin
8b0144f6a3
Add editor tests
2014-05-27 07:43:29 +02:00
Florian Bruhin
19da80e58e
Improve logging in signal filter
2014-05-16 21:49:35 +02:00
Florian Bruhin
70214bfedf
Add elide()
2014-05-16 07:46:56 +02:00
Florian Bruhin
a70aa212e0
Fix lint
2014-05-15 22:02:43 +02:00
Florian Bruhin
d3eaeaac91
First steps at getting rid of signal cache
2014-05-15 17:57:08 +02:00
Florian Bruhin
8b13658eaf
NeighborList: Don't snap in values if they match exactly
2014-05-15 15:38:53 +02:00
Florian Bruhin
603fbdf239
Range-check all values passed to C code.
2014-05-15 00:02:20 +02:00
Florian Bruhin
7c1ba7ab48
Fix lint
2014-05-12 17:46:15 +02:00
Florian Bruhin
7b7c82fe45
Also check if invalid keys are processed
2014-05-12 17:43:12 +02:00
Florian Bruhin
41a1671630
Add tests for basekeyparser
2014-05-12 17:39:37 +02:00
Florian Bruhin
db7077d94f
Clean up javascript_escape
2014-05-12 14:33:12 +02:00
Florian Bruhin
fa4b914326
Add tests for get_child_frames
2014-05-12 13:26:11 +02:00
Florian Bruhin
2ac787598d
Add tests for is_visible with iframes
2014-05-12 12:16:41 +02:00
Florian Bruhin
80d4068ad5
Clean up test_webelem
2014-05-12 11:41:35 +02:00
Florian Bruhin
366af0dd4c
Add tests for CSS visibility attributes
2014-05-12 11:07:08 +02:00
Florian Bruhin
535c7c316c
Fix tests for webelem.is_visible
2014-05-12 10:59:59 +02:00
Florian Bruhin
fd9f801cab
Define some magic methods for usertypes
2014-05-09 22:11:33 +02:00
Florian Bruhin
7868e57520
Add snap_in/fuzzyval to NeighborList
2014-05-09 14:20:10 +02:00
Florian Bruhin
01d1b18c8f
Fix indent
2014-05-09 09:20:11 +02:00
Florian Bruhin
489a5cd082
Add tests for get_standard_dir under Windows
2014-05-09 09:16:24 +02:00
Florian Bruhin
a6f8602276
Don't use self with self.cur_dir.
2014-05-09 09:15:00 +02:00
Florian Bruhin
c82e050deb
Fix checks
2014-05-09 08:46:14 +02:00
Florian Bruhin
6609fc8503
Add tests for utils.misc.get_standard_dir
2014-05-09 08:43:31 +02:00
Florian Bruhin
ef05175713
Add test helper to set temporary value
2014-05-09 07:44:37 +02:00
Florian Bruhin
6a6807fde9
Reorganize test files
2014-05-09 06:57:35 +02:00
Florian Bruhin
7fb0a7745b
Don't treat single words as URL
2014-05-06 14:25:11 +02:00
Florian Bruhin
c8fd0937b0
Revert "Use global object dict for global objects"
...
This reverts commit bf2c7831c8
.
This was a bad idea as we need to access some of the main attributes
from commands via instance=...
2014-05-05 20:12:20 +02:00
Florian Bruhin
938fbd5608
Add ImmutableDict
2014-05-05 19:12:41 +02:00
Florian Bruhin
a4d80ddcac
Fix checks
2014-05-05 15:24:04 +02:00
Florian Bruhin
ba334a04fc
Add tests for utils.webelem
2014-05-05 15:16:27 +02:00
Florian Bruhin
a2a786ddd0
Add test_signalutils
2014-05-05 14:44:36 +02:00
Florian Bruhin
182303b613
Better checks for shell_escape
2014-05-05 14:17:56 +02:00
Florian Bruhin
db2cabdaf2
Add test_urlutils
2014-05-05 13:41:54 +02:00
Florian Bruhin
f7daa464ba
Add tests for utils.misc
2014-05-05 12:16:12 +02:00
Florian Bruhin
c0ed2f52e6
Add tests for enum/fakedict
2014-05-05 11:51:04 +02:00
Florian Bruhin
4ebe643ea6
Use simple enums for constants
2014-05-05 07:45:36 +02:00
Florian Bruhin
0bfe134828
Add first tests (for NeighborList)
2014-02-23 17:39:45 +01:00