scratch-vm/test/unit
Evelyn Eastmond d09c3f0418 MicroBit extension, Scratch Link first draft. (#1230)
* First microbit gui tests

* Fixed JSONRPC inheritance.  Renamed ScratchBLE/ScratchBT files.  Removed ScratchBT test code from Microbit extension.  Renamed addLine to log.

* Fixed log comments.  Removed addLine from Microbit.

* Adding auto-connect to Microbit at extension loading.  Adding hack for displayText block to Scratch-Link.

* Resolved merge conflicts and brought in latest microbit extension example code.

* Updated microbit write tests for displayText and displaySymbol blocks.  Some linting.

* Some linting and adding of BLE Characteristic consts.

* Linting fixes.

* Moving micro:bit device connection code all to the MicroBit class, decoupling Scratch3MicroBitBlocks from connection code.

* Removing old disconenct handlers from MicroBit class.  Moved service into new BLEUUID data structure.

* Renamed _write to _send.  Moved all BLE encoding concerns to the _send method.

* Using the util log.  Some linting.

* Added _read method to MicroBit class.  Renamed _send to _write.

* Some linting and formatting comments.

* First pass at peripheral chooser pattern for ScratchBLE.

* Testing characteristicDidChange events, and some changes to ScratchBLE on ready events.

* Refactoring work on PeripheralChooser and ScratchBLE.

* Some variable renaming and method signature stubs.

* Peripheral chooser method signatures.

* Moved base64 encoding/decoding to util.  Some method signature formatting.

* Adding test stubs for new util and io classes.

* Adding test stub for MicroBit extension.

* Clean up for PR.

* Clean up for PR.

* Final cleanup for PR.

* Removed logging to console.

* Adding 'btoa' and 'atob' node modules and using them in Base64Util.
2018-06-18 14:56:51 -04:00
..
blocks_control.js Add test for allAtOnce 2018-04-30 12:36:15 -03:00
blocks_data.js Lint 2018-03-31 13:41:39 -03:00
blocks_event.js Bugfix for scratch-gui issue #994, where executing a broadcast block from the flyout was creating a conflicting variable, causing a fatal error. 2017-12-04 18:01:29 -05:00
blocks_looks.js Remove unused getCostumeName function 2018-06-12 19:32:29 -03:00
blocks_operators.js Pass with --fix 2017-08-26 13:24:10 -04:00
blocks_procedures.js Revert "Fix test" 2017-12-13 15:37:44 -05:00
blocks_sensing.js Gotta get that unit test coverage up :) 2018-05-23 11:33:33 -04:00
blocks_sounds.js Move music-related unit tests into a separate file 2017-11-07 16:26:20 -05:00
dispatch.js Refactor common code in {central,worker}-dispatch 2017-08-09 17:30:00 -04:00
engine_adapter.js Make sure to set comment property of block when creating a new block via XML using the adapter. Update unit tests. 2018-06-15 13:58:03 -04:00
engine_blocks.js Make "when clicked" blocks target dependent. 2018-03-20 10:41:50 -04:00
engine_runtime.js fix file name in test 2017-05-30 10:24:09 -04:00
engine_sequencer.js Revert "Revert "Push reported"" 2018-04-16 13:21:53 -04:00
engine_target.js Add some tests for comments... 2018-06-12 18:29:43 -04:00
engine_thread.js Revert "Revert "Push reported"" 2018-04-16 13:21:53 -04:00
extension_conversion.js All tests passing 2018-04-20 10:29:29 -04:00
extension_microbit.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
extension_music.js Fix runtime scope and unit test 2018-04-05 15:01:52 -04:00
extension_video_sensing.js Use string enumerated values for videoSensing sensor block 2018-04-11 10:30:58 -04:00
extension_video_sensing_center.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_down-10.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_left-5.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
extension_video_sensing_left-10.png Test VideoMotion and VideoSensing blocks 2018-04-06 18:09:50 -04:00
io_clock.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
io_deviceManager.js Address feedback from review 2017-11-27 15:00:53 -05:00
io_keyboard.js Update unit tests 2018-04-25 12:26:52 -04:00
io_mouse.js Update the mouse io to give scratch coordinates and client coordinates 2018-01-09 10:37:16 -05:00
io_mousewheel.js Mouse wheel IO system 2018-01-26 17:13:01 -04:00
io_scratchBLE.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
io_scratchBT.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
maybe_format_message.js Add tests for maybeFormatMessage 2018-04-06 12:26:12 -07:00
serialization_sb2.js Addressing PR comments. 2018-05-31 16:33:42 -04:00
serialization_sb3.js Clean up comment serialization, add tests for new and old serialization (old is still valid, just more verbose). 2018-06-15 14:57:49 -04:00
spec.js Tests and cleanup of addSprite3 so that .sprite3 format does not need to be nested inside an extra {targets: ...} 2018-05-04 11:00:45 -04:00
sprites_rendered-target.js Propagate the return value of reorder functions, update comments 2018-06-06 11:13:30 -04:00
util_base64.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_cast.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_color.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_jsonrpc-web-socket.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_jsonrpc.js MicroBit extension, Scratch Link first draft. (#1230) 2018-06-18 14:56:51 -04:00
util_math.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_string.js Specify dataFormat when loading asset for import 2017-05-24 15:35:10 -07:00
util_timer.js Pass with --fix 2017-08-26 13:24:10 -04:00
util_xml.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
virtual-machine.js Merge pull request #1231 from paulkaplan/reorder-tarrgets 2018-06-13 11:07:52 -04:00