rdb
e099d9e787
Merge branch 'release/1.10.x'
2021-01-02 02:33:35 +01:00
rdb
3a5201fd65
tests: Add tests for pickling DoubleBitMask
2021-01-01 17:08:34 +01:00
rdb
93900a203e
putil: Backport part of 9d8c523dfa
...
Fixes #886
2020-11-17 23:36:06 +01:00
Derzsi Dániel
7f426ea64e
putil: Turn UniqueIdAllocator's free into an atomic operation ( #999 )
2020-08-29 15:17:20 +02:00
Daniel
95d1ac2f8b
tests: Add proper tests for UniqueIdAllocator
2020-08-27 14:35:25 +02:00
Daniel
0d2dddd988
tests: Account for clock inaccuracies in all ClockObject tests
...
Closes #998
2020-08-27 14:33:20 +02:00
rdb
d01c53c2d8
Merge branch 'release/1.10.x'
2020-06-14 13:02:25 +02:00
rdb
a9b158192f
putil: fix crash in BitArray::has_any_of()
2020-06-14 12:55:52 +02:00
rdb
c218af2f49
tests: Make ClockObject test a little laxer again
...
This failed on the Windows builder because apparently time.sleep is apparently not super precise on Windows.
2020-05-19 21:59:48 +02:00
rdb
b85df6d9ed
tests: Change unreliable ClockObject test
...
The tests are randomly failing due to more time being elapsed. On a busy buildbot we don't really have any guarantee that the test doesn't take longer than the threshold.
2020-05-05 14:36:04 +02:00
Rishabh Tewari
e2ec8ecbf0
tests: Improve ClockObject tests
...
Closes #898
2020-05-05 13:28:47 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
rdb
ba010168cf
tests: more improvements to test suite coverage
2020-04-25 14:44:43 +02:00
rdb
a01711148b
tests: add an assorted variety of unit tests
...
I'm mostly trying to make sure we have over-coverage for a couple of places that are being hit intermittently by our current unit tests, generating noisy codecov reports. If we make sure these places are hit always, we hopefully won't have codecov misreport lost/gained coverage for unrelated changes.
2020-04-02 13:45:09 +02:00
rdb
9d8c523dfa
putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
...
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests
Fixes #886
2020-04-01 20:31:16 +02:00
rdb
30d9f88f8e
Merge branch 'release/1.10.x'
2020-04-01 18:53:00 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
rdb
35135ea0e1
Merge branch 'release/1.10.x'
2019-09-01 21:54:57 +02:00
rdb
61a276f49a
tests: add some ModifierButtons unit tests
2019-08-28 11:04:20 +02:00
rdb
daa57733cb
Merge branch 'release/1.10.x'
2019-04-14 23:11:03 +02:00
rdb
6464327e6f
tests: add more thorough unit test for SparseArray::clear_range
2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5
tests: Create test_sparsearray.py
...
Closes #590
2019-04-14 17:59:29 +02:00
Hitesh Saini
fff422fab7
tests: add unit tests for ClockObject
...
Closes #593
2019-04-02 21:34:13 +02:00
rdb
a90159271b
tests: remove unused fixture from Datagram tests
2018-08-26 14:02:52 +02:00
rdb
4f9a2aca85
tests: fix issues with temp files without correct case on Windows
2018-08-20 16:56:45 +02:00
rdb
b1d2111037
express: add Datagram add_blob and add_blob32, et al.
...
This is for writing Python 2/3 agnostic code for writing binary data to a datagram, and reading from it using DatagramIterator.
2018-08-19 16:01:39 +02:00
rdb
4f55e26e61
tests: add tests for BitMask*.is_all_on()
2018-05-30 23:06:47 +02:00
rdb
8d84c58d73
express: explicitly declare defaulted Datagram copy/move ctor/assign
...
Fixes #329
2018-05-27 15:38:19 +02:00
Sam Edwards
339e1ce4d8
tests: Update the datagram tests
2018-05-26 18:36:46 -06:00
rdb
ddc45e3529
tests: fix broken test case, add more WeakNodePath comparisons
2018-05-24 22:25:20 +02:00
rdb
ae8e9d159d
tests: add some unit tests for UpdateSeq
2018-05-24 21:39:05 +02:00
rdb
22f933a419
tests: disable datagram bytes() test on Python 2
...
See #297
2018-04-06 20:34:48 +02:00
rdb
b4d29e6096
express: allow using bytes() on Datagram
...
Closes : #297
2018-04-06 17:42:59 +02:00
Sam Edwards
89be2c19af
tests: Add tests for Datagram{,Iterator,InputFile,OutputFile}
...
This also includes a test for my previous commit which changes
DatagramInputFile::get_datagram().
2018-02-23 03:08:01 -07:00