aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod
AgeCommit message (Collapse)Author
2017-02-05extmod/machine_pulse: Make time_pulse_us() not throw exceptions.Paul Sokolovsky
machine.time_pulse_us() is intended to provide very fine timing, including while working with signal bursts, where each transition is tracked in row. Throwing and handling an exception may take too much time and "signal loss". So instead, in case of a timeout, just return negative value. Cases of timeout while waiting for initial signal stabilization, and during actual timing, are recognized. The documentation is updated accordingly, and rewritten somewhat to clarify the function behavior.
2017-01-27tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.Damien George
2017-01-27tests/extmod/vfs_fat: Update tests to work with new VFS sub-system.Damien George
The vfs_fat_fsusermount test is no longer relevant so has been removed.
2017-01-27test/extmod: Update vfs_fat tests for new OO FatFs library.Damien George
The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs.
2017-01-26tests/extmod: Add test for ure debug printing when compiling a regex.Damien George
2017-01-25tests/extmod/framebuf1: Fix test for framebuf invalid constructor.Damien George
2017-01-25tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format.Oleg Korsak
2017-01-25extmod/modframebuf: Add GS4_HMSB format.Oleg Korsak
2017-01-19tests/extmod/framebuf1: Add test for no-op fill_rect.Damien George
2017-01-17tests/extmod: Improve test coverage of ure module.Rami Ali
2016-12-29tests/extmod: Improve ubinascii.c test coverage.Rami Ali
2016-12-24tests/utimeq_stable: Test for partial stability of utimeq queuing.Paul Sokolovsky
2016-12-22extmod/moduheapq: Revert change for adhoc relative-time queue support.Paul Sokolovsky
Now that specialized utimeq module has been implenented, revert previous adhoc changes to uheapq. This reverts commit 0cbc07227c4ab70c846f40a1e2a5fd57dec30428.
2016-12-22tests/extmod: Add test for utimeq module.Paul Sokolovsky
2016-12-13tests/extmod: Improve modframebuf test coverage.Rami Ali
2016-12-12tests/extmod: Improve moductypes test coverage.Rami Ali
2016-12-09tests: Update for required byteorder arg for int.from_bytes()/to_bytes().Paul Sokolovsky
2016-12-08extmod/modframebuf: Make framebuf implement the buffer protocol.Damien George
So that one can easily access the underlying data of the frame buffer, eg to write the data out to a display.
2016-12-05tests/extmod/framebuf1: Add basics tests for hline, vline, rect, line.Damien George
2016-12-05tests/extmod/btree1: Exercise btree.flush().Paul Sokolovsky
2016-12-02tests/extmod/vfs_fat_fileio: Add test for constructor of FileIO type.Damien George
2016-12-02extmod/vfs_fat: Implement POSIX behaviour of rename, allow to overwrite.Damien George
If the destination of os.rename() exists then it will be overwritten if it is a file. This is the POSIX behaviour, which is also the CPython behaviour, and so we follow suit. See issue #2598 for discussion.
2016-12-01extmod/modframebuf: Add back legacy FrameBuffer1 "class".Damien George
For backwards compatibility. It simple creates a frame buffer with the MVLSB format.
2016-12-01extmod/modframebuf: Make FrameBuffer handle 16bit depth.Radomir Dopieralski
Rename FrameBuffer1 into FrameBuffer and make it handle different bit depths via a method table that has getpixel and setpixel. Currently supported formats are MVLSB (monochrome, vertical, LSB) and RGB565. Also add blit() and fill_rect() methods.
2016-11-22tests/extmod: Improve ujson coverage.Rami Ali
2016-11-12extmod/moduheapq: Adhoc changes to support ordering by utime.ticks_ms().Paul Sokolovsky
As required for further elaboration of uasyncio, like supporting baremetal systems with wraparound timesources. This is not intended to be public interface, and likely will be further refactored in the future.
2016-11-06tests/vfs_fat_oldproto: Skip for ports not supporting "oldproto".Paul Sokolovsky
Otherwise this broke esp8266 testsuite.
2016-11-03tests/extmod/framebuf1: Test framebuffer pixel clear, and text function.Alex March
2016-10-30tests/extmod/ticks_diff: Test for new semantics of ticks_diff().Paul Sokolovsky
2016-10-29tests/btree1: Fix out of memory error running on esp8266.Paul Sokolovsky
2016-10-28tests/extmod/uhashlib_sha256: Rename sha256.py test.Alex March
2016-10-28tests/extmod/uhashlib_sha1: Coverage for SHA1 algorithm.Alex March
2016-10-27tests/extmod/vfs_fat_oldproto: Test old block device protocol.Alex March
2016-10-27tests/extmod/vfs_fat_fsusermount: Improve fsusermount test coverage.Alex March
2016-10-24extmod/vfs_fat_file: Make file.close() a no-op if file already closed.Damien George
As per CPython semantics. In particular, file.__del__() should not raise an exception if the file is already closed.
2016-10-24tests/extmod/vfs_fat: Improve VFS test coverage.Alex March
Covered case: - Stat cases - Invalid read/write/flush/close - Invalid mkdir/rmdir/remove/getcwd - File seek/tell, modes a/x/+, t/b - Writing to a full disk - Full path rename, slash trim - Rename cases - Bytestring listdir - File object printing
2016-10-13tests/extmod/vfs_fat: Replace asserts with prints and expected outputs.Alex March
2016-10-13tests/extmod: Add test for ujson.load().Damien George
2016-10-11tests/extmod/vfs_fat: Test coverage for remove() and rmdir().Alex March
2016-10-07tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.Alex March
2016-10-05tests/extmod/btree1: Checks for put, seq, string print and unsupported ↵Alex March
binary op.
2016-09-27tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().Alex March
2016-09-24tests/uzlib_decompio_gz: Test for DecompIO with gzip bitstream.Paul Sokolovsky
2016-09-16tests/extmod: Add test for machine.time_pulse_us().Damien George
2016-09-16tests/extmod/urandom: Add urandom tests for error cases.Damien George
2016-09-05tests/extmod/framebuf1: Add tests for scrolling in the x-direction.Damien George
2016-09-04tests/extmod/uzlib_decompio: Add zlib bitstream testcases.Paul Sokolovsky
2016-09-04tests/extmod: Add a test for framebuf module, tested by coverage build.Damien George
2016-09-03tests/extmod: Add test for uzlib.DecompIO.Paul Sokolovsky
2016-08-26tests/extmod/vfs_fat_ramdisk: Add tests for VFS.umount()Radomir Dopieralski
Try to un-mount a file system and re-mount it again.