Commit Graph
648 Commits
Author SHA1 Message Date
Thomas Weber 8dee0fdac8 Add a test for preciseProjectTimer drift 2020-11-26 10:58:35 -06:00
Thomas Weber 60afe75aa8 Cleanup how execute test catches compiler errors 2020-11-18 16:29:00 -06:00
Thomas Weber ad817fff6b populateProcedureCache should not overwrite entries
Fixes https://scratch.mit.edu/projects/387608267/
2020-11-17 13:00:17 -06:00
Thomas Weber 86cd92d1ee js: procedure.call should reset variable inputs
https://scratch.mit.edu/projects/430811055/
2020-11-04 19:07:16 -06:00
Thomas Weber f62d47da1e Clarify tw-* test licensing 2020-11-04 19:06:17 -06:00
Thomas Weber 900a0a4722 js: op.ln and op.log are NaN-able 2020-10-31 01:26:20 -05:00
Thomas Weber 66fd45fe21 js: op.mod is NaN-able 2020-10-31 01:15:23 -05:00
Thomas Weber 3f80c7b868 Change size should not round initial size
Test based on a project by https://scratch.mit.edu/users/_Fingerprint_/
2020-10-28 21:09:51 -05:00
Thomas Weber 00b5b2cfce Fix some eslint errors 2020-10-28 19:46:37 -05:00
Thomas Weber 1f7f1f500e Add safe procedure argument casting test
Based on https://scratch.mit.edu/projects/441049810/
2020-10-26 21:22:01 -05:00
Thomas Weber 847cf62e2b Add test for multiple procedure arguments with same name 2020-10-26 11:18:48 -05:00
Thomas Weber 1f8ad7e61b Update unsafe equals test with more cases 2020-10-17 00:27:39 -05:00
Thomas Weber ffeb3a9cca Write some tests
tw-unsafe-equals.sb3 is based on a project by https://scratch.mit.edu/users/ContourLines/
tw-zombie-cube-escape-284516654 is based on https://scratch.mit.edu/projects/284516654/ by griffpatch
2020-10-16 19:22:09 -05:00
Thomas Weber fe73344ea7 Fail tests if threads could not be compiled for an unexpected reason 2020-10-16 18:56:40 -05:00
Thomas Weber 565386d03d Test .sb3 files 2020-10-16 18:50:43 -05:00
Thomas Weber d864a0a13a Merge branch 'develop' of https://github.com/llk/scratch-vm into develop 2020-09-25 14:10:14 -05:00
DD Liu 7eabcb8a29 Merge pull request #2329 from adroitwhiz/remove-updatedrawableproperties
Remove remaining updateDrawableProperties calls
2020-09-24 15:50:26 -04:00
Thomas Weber cae6f712c3 Fix test failures 2020-09-19 14:05:56 -05:00
Thomas Weber cea1f9b21d Fix precise timer test 2020-09-17 15:37:12 -05:00
Thomas Weber bfa6cdde8a Write tests for our changes to clock and keyboard 2020-09-17 15:31:04 -05:00
Thomas Weber 28923f57ec Merge branch 'develop' of https://github.com/llk/scratch-vm into develop 2020-09-17 14:58:56 -05:00
Thomas Weber 97956235c0 Test compiled and non-compiled versions of projects 2020-09-17 14:58:43 -05:00
Thomas Weber d55b2593a5 Reenable io_clock.js cycle test because it passes again 2020-09-17 14:49:25 -05:00
Thomas Weber 2ae1d66616 Disable tests that we intentionally break 2020-09-17 14:31:43 -05:00
Eric Rosenbaum 9329f93e74 Merge pull request #2557 from ericrosenbaum/broadcast-wait-var-change-fix
Prevent "broadcast and wait" being interrupted by a change to its input
2020-09-16 17:52:28 -04:00
DD Liu 7c652246df Merge pull request #2356 from adroitwhiz/cast-to-black
Cast malformed color hex strings to RGBA 0,0,0,255 instead of null
2020-09-03 15:52:52 -04:00
Eric Rosenbaum f103094cff update test 2020-08-12 13:21:19 -04:00
Eric Rosenbaum 04a2b50fee add test 2020-08-12 11:22:01 -04:00
apple502j 9bed114e48 Use new updateCPURenderAttributes in video sensing 2020-08-01 00:09:53 +09:00
Chris Willis-Ford a9f473feb6 Merge pull request #2476 from cwillisf/fix-extension-url
sanitize extension ID in getExtensionIdForOpcode
2020-07-14 11:47:02 -07:00
Eric Rosenbaum 45c95f3370 Move test 2020-06-23 17:13:11 -04:00
Eric Rosenbaum 60aeebf668 Test that clock is reset on runtime dispose 2020-06-22 11:56:10 -04:00
Eric Rosenbaum 540d9c676c Merge pull request #2341 from apple502j/patch-9
Clear some stats when disposing runtime
2020-06-22 10:25:41 -04:00
Christopher Willis-Ford 90b9da45f4 sanitize extension ID in getExtensionIdForOpcode 2020-06-15 17:59:15 -07:00
adroitwhiz fe6b07acca Consistently format text bubbles 2020-06-09 13:28:58 -04:00
apple502j 03db30d400 Update sensing_of fields if variable gets renamed
Thanks @adroitwhiz and @fsih for some advice!
2020-05-22 19:00:43 +09:00
Chris Willis-Ford 7af161f1a2 Merge pull request #2011 from joker314/fix/random-costume
Give all backdrops a more equal chance of being randomly picked
2020-05-19 13:11:38 -07:00
adroitwhiz 05dcbc176f Remove RenderedTarget.setSay + its test 2020-05-18 01:35:32 -04:00
Joke Book 15d97ccaa7 End randIntWithout test case with t.end() 2020-05-07 16:38:45 +01:00
Joke Book 8700a70262 Fix randIntWithout test case 2020-05-07 16:37:01 +01:00
Joke Book e5cc0e302d Use correct denominator in randIntWithout test 2020-05-07 16:28:50 +01:00
jokebookservice1 57445a4d49 Merge branch 'develop' into fix/random-costume 2020-05-07 16:11:08 +01:00
adroitwhiz cbe912e1be Add malformed hex RGB color *list* test 2020-05-01 15:06:52 -04:00
adroitwhiz 277a355ce4 Add unit test for malformed hex color string cast 2020-05-01 14:50:39 -04:00
DD Liu f5ce73ae51 Merge pull request #2314 from adroitwhiz/dont-update-rotation-center
Remove calls to updateDrawableSkinIdRotationCenter
2020-04-02 14:23:02 -04:00
apple502j dd82bf6dc8 Added test 2020-03-25 18:26:02 +09:00
DD Liu 2a42285abe Revert "Consistently format text bubbles"
This reverts commit bc61e547b5.
2020-03-19 12:40:55 -04:00
DD Liu 7fbdf969a1 Merge pull request #2325 from adroitwhiz/fix-list-monitor-names
Fix old/incorrect list monitor names during deserialization
2020-03-17 11:49:35 -04:00
adroitwhiz 53429f0917 Add test for renamed local lists 2020-03-12 17:00:58 -04:00
adroitwhiz 267395b13b Remove remaining updateDrawableProperties calls 2020-02-26 21:20:50 -05:00