Aaron Dodson
5cd2d375ef
Updated comment for runGeneratorsInBrowser to refer to Chrome instead of Firefox.
2021-06-14 19:06:28 +00:00
Aaron Dodson
df7da795a3
Use selenium-standalone-service to automatically start and stop Selenium when running the test suite.
2021-06-14 11:52:49 -07:00
Neil Fraser
37a1ee55b8
Remove useless variable declarations in PHP. ( #4849 )
2021-05-27 21:40:04 -07:00
Neil Fraser
2f2252f588
Rename variableDB_ to nameDB_
...
There is significant confusion in names and comments with regards to variables and procedures. `Blockly.Generator.prototype.variableDB_` is a Blockly.Names database, not a variable map. This rename introduces a getter and setter so deprecated references still work. This commit also fixes some comments which are either outright wrong or misleading regarding variable and procedure names.
2021-05-27 21:30:26 -07:00
alschmiedt
26beff4b2c
Migrate our tests to use github actions ( #4614 )
2021-02-02 10:08:51 -08:00
Monica Kozbial
6ec002e3d4
Adding tests for multiline block ( #4317 )
...
* Adding tests for multiline input
2020-09-30 15:20:35 -07:00
Monica Kozbial
81d355f5fa
Fix order errors in text generators ( #4329 )
...
* Fix dart text generator logic
* Fix Javascript text generator logic.
* Fix Lua text generator logic
* Fix php text generator logic
* Fix python text generator logic
* Fix error in substring logic
* Fix unit test block generators
* Update from ORDER_COMMA to ORDER_NONE
* Update golden files
2020-09-30 14:08:45 -07:00
Rachel Fenichel
70f518985a
Upgrade webdriverio to v6
2020-09-21 17:42:26 -07:00
Monica Kozbial
fcc3a09661
Fix python loop ( #4007 )
...
* Fix code generation for python controls_for
* Update python golden file.
2020-06-30 11:35:48 -07:00
Monica Kozbial
d6abf4798e
Fixing operator precedence in Lua and and adding test. ( #3765 )
...
* Fixing operator precedence in Lua and and adding test.
* Updating golden files.
2020-03-25 14:34:07 -07:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Sam El-Husseini
986e965be8
Private/protected visibility cleanup ( #3263 )
...
* Fix a number of private visibility issues
2019-10-16 11:48:09 -05:00
RoboErikG
e62c2a3f6b
Remove multi-line comments to avoid escaping ( #3231 )
...
Fixes #3230 by removing multi-line comments for procedures.
2019-10-14 10:40:22 -07:00
Sam El-Husseini
2ac4149d98
Misc compiler warnings. ( #3172 )
...
* Fix misc compiler warnings. Use ws.getToolbox() instead of ws.toolbox_
2019-10-07 11:06:56 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
09d2a167f9
Fix travis by running browser tests in headless mode ( #3001 )
...
* Fix travis by running browser tests in headless mode
2019-09-11 17:25:22 -07:00
Neil Fraser
b6947976d7
Fix lint in golden PHP generator.
...
Causing tests to fail.
2019-08-02 11:00:40 -07:00
Neil Fraser
e77a9b7e81
Change parseFloat() to Number()
...
Number() is a bit less forgiving than parseFloat() and is more likely to generate NaN rather than some random number. An audit of each case shows nowhere that parseFloat()’s features are needed.
2019-08-01 11:36:58 -07:00
Neil Fraser
52b6ce18a5
Fix unit tests
2019-07-08 13:29:43 -07:00
Rachel Fenichel
da2a89e177
Update to webdriverio v5; fix resulting test breakages
2019-04-30 14:38:33 -07:00
alschmiedt
0d78f1dcd5
Fixing compiler error for blockly themes
2019-01-11 14:28:49 -08:00
alschmiedt
caf664db04
Small fixes
2019-01-09 15:38:30 -08:00
alschmiedt
f480b1ff79
Changes Blockly style to be Blockly theme.
2019-01-08 11:40:57 -08:00
alschmiedt
d7de588aef
Fix generator tests
2018-12-19 16:48:23 -08:00
alschmiedt
b8a2ccddb0
Debuggin
2018-12-19 16:10:45 -08:00
Rachel Fenichel
898810d709
Use firefox for generator tests
2018-11-14 10:56:33 -08:00
Rachel Fenichel
b33d832373
Check whether generator tests work under chrome + osx
2018-11-12 11:48:09 -08:00
Rachel Fenichel
abd22e867c
Remove vestigial button
2018-11-09 13:25:29 -08:00
Rachel Fenichel
6202919272
Make generator tests compare results against golden files; add golden files.
2018-11-09 13:22:34 -08:00
Rachel Fenichel
a248c012f4
Run generator tests and save a file with the generated js!
2018-11-06 11:13:28 -08:00
Rachel Fenichel
9e9e566d89
add test skeleton
2018-11-06 11:13:28 -08:00
Rachel Fenichel
29e836770d
Remove bad classes
2018-10-31 15:05:28 -07:00
Rachel Fenichel
e3bf012c20
Use checkboxes instead of dropdowns for generator tests
2018-10-29 15:41:43 -07:00
Rachel Fenichel
adb1921e21
Add suite name to generator tests
2018-10-18 17:47:58 -07:00
Rachel Fenichel
5fcadc0a05
Use checkboxes instead of a dropdown for generator test selection
2018-10-18 17:11:20 -07:00
Nadya Febiana Djojosantoso
e1217252ff
Update math_atan2 unit test
2018-10-15 21:01:53 -07:00
Nadya Febiana Djojosantoso
da48f3c66f
Add math_atan2 unit test
2018-10-11 15:14:08 -07:00
Nadya Febiana Djojosantoso
d822efa322
Add math_atan2 block to demos and playgrounds
2018-10-11 14:56:13 -07:00
Rachel Fenichel
999f8a114d
Remove variable IDs from colour test XML
2018-06-29 10:47:03 -07:00
Rachel Fenichel
28eb831754
Better error messages in colour generator tests
2018-06-27 14:41:53 -07:00
Rachel Fenichel
83855248a6
Correctly adjust indices in colour tests
2018-06-27 14:32:40 -07:00
Rachel Fenichel
d6444659ad
Don't keep the list of test names separate from the dropdown
2018-05-14 17:35:30 -07:00
Rachel Fenichel
ed410a84b2
Button to load all XML files for testing
2018-05-14 17:12:37 -07:00
Andrew n marshall
abb0047e41
Adding warnings to not include <varaibles> ( #1645 )
...
...in generator test workspace files.
2018-02-21 13:56:26 -08:00
Rachel Fenichel
0a0b6f3848
Add error; python and php tests pass.
2017-12-20 16:28:14 -08:00
Rachel Fenichel
fced496d28
Lua generator tests pass with new variables
2017-12-20 15:23:05 -08:00
Rachel Fenichel
3d0567fe46
JS and Dart generator tests pass
2017-12-20 15:14:37 -08:00
Neil Fraser
bc1a5baa48
Fixes to Generator tests ( #1510 )
...
* Remove unneeded report variable from generator tests.
* Fix missing message parameter in unittest_fail. This was a compile error in Dart.
* Fix indentation in PHP.
* Equality helper function not needed in PHP.
2017-12-12 17:38:38 -08:00
Andrew n marshall
aa78a8b566
Better error reporting when the test XML fails to load. ( #1443 )
2017-11-14 13:36:38 -08:00
marisaleung
f3fa660c41
Merge pull request #1236 from marisaleung/develop_changeWorkspaceToPlaygroundWorkspace
...
Change workspace name to playgroundWorkspace.
2017-08-02 17:16:26 -07:00