scratch-vm/test/fixtures
Paul Kaplan 140094a7ad Make "when clicked" blocks target dependent.
This involves adding a new opcode, event_whenstageclicked, and adding a
method to the blocks container to update the opcode pair depending on
whether the target is the stage. This method is then called in two
places: first after the sb2 import parses the blocks (not done in the
sb2 parsing itself because no other blocks are target specific) and then
again when blocks are shared between targets.

Also added tests for the block container method, and a fixture project
that tests the opcode splitting on sb2 import.
2018-03-20 10:41:50 -04:00
..
clone-cleanup.sb2 Add test for clone cleanup 2017-06-08 11:16:29 -07:00
complex.sb2 Improve integration test coverage 2017-01-05 16:58:31 -05:00
control.sb2 Build out integration test SB2 files 2016-12-23 21:08:13 -05:00
data.sb2 Fix variable import scoping 2017-07-17 12:28:44 -04:00
default.sb2 Build out integration test SB2 files 2016-12-23 21:08:13 -05:00
demo.json Updating tests for refactoring lists. Updating demo fixture -- now we have IDs and variable types for variables. 2017-11-13 16:30:47 -05:00
dispatch-test-service.js Refactor common code in {central,worker}-dispatch 2017-08-09 17:30:00 -04:00
dispatch-test-worker-shim.js Add tests for message dispatch system; fix bugs 2017-07-21 13:23:52 -07:00
dispatch-test-worker.js Refactor common code in {central,worker}-dispatch 2017-08-09 17:30:00 -04:00
event.sb2 Build out integration test SB2 files 2016-12-23 21:08:13 -05:00
events.json Correctly deserialize HTML entities in block DOM 2017-10-09 01:19:55 +03:00
extract.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
fake-renderer.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
hat-execution-order.sb2 Add hat execution order test 2017-02-14 16:33:42 -08:00
looks.sb2 Improve integration test coverage 2017-01-05 16:58:31 -05:00
loudness-hat-block.sb2 just hat changes 2017-08-03 16:01:53 -04:00
make-test-storage.js Convert attachTestStorage to makeTestStorage 2017-06-12 12:34:20 -07:00
motion.sb2 Improve integration test coverage 2017-01-05 16:58:31 -05:00
pen.sb2 Add test case for pen state cloning 2017-06-16 16:29:12 -07:00
procedure.sb2 Improve integration test coverage 2017-01-05 16:58:31 -05:00
saythink-and-wait.sb2 Add test for say/think and wait 2018-03-14 16:16:59 -07:00
sensing.sb2 Improve integration test coverage 2017-01-05 16:58:31 -05:00
sound.sb2 Add basic test coverage for the sound blocks 2017-02-03 17:39:36 -05:00
sprite.json Improve integration test coverage 2017-01-05 16:58:31 -05:00
stack-click.sb2 just hat changes 2017-08-03 16:01:53 -04:00
when-clicked.sb2 Make "when clicked" blocks target dependent. 2018-03-20 10:41:50 -04:00