Rachel Fenichel
16f0992764
Enable operator-linebreak rule
2019-07-31 09:45:27 -07:00
Rachel Fenichel
afd2b09453
Add func-call-spacing rule
2019-07-31 09:43:21 -07:00
Rachel Fenichel
b4109d7c43
Add no-multi-spaces rule
2019-07-31 09:33:54 -07:00
Neil Fraser
abc452109e
Fix XML across Blockly. ( #2727 )
...
Also fixes references to createSvgElement
2019-07-30 15:08:47 -07:00
Beka Westberg
c43e001634
Fixed DropDownDiv Rendering On Small Workspaces ( #2641 )
...
* Fixed dropdown div rendering when the workspace is too small.
2019-07-30 13:29:52 -07:00
Sam El-Husseini
57868e7e83
Remove all calls to goog.math ( #2739 )
...
* Replace calls to goog.math.Size and goog.math.Coordinate with Blockly equivelants
2019-07-30 11:22:08 -07:00
alschmiedt
826409b01a
Add tests for keyboard navigation ( #2725 )
2019-07-29 13:12:09 -07:00
alschmiedt
7dcc03e791
Fixes mocha tests ( #2723 )
2019-07-29 12:40:20 -07:00
Rachel Fenichel
08982ce55e
Merge pull request #2668 from BeksOmega/fixes/DeprecateSetText
...
Deprecated Field.setText
2019-07-26 13:02:35 -07:00
Sam El-Husseini
c1b49a1da7
Fix some jsdoc types ( #2701 )
...
* Fix JSDoc regarding type inconsistencies. Make image field src required and update image field tests.
2019-07-25 12:24:36 -07:00
Rachel Fenichel
e523943ee9
Merge pull request #2615 from BeksOmega/fixes/Procedures
...
Fixed Procedure Empty Names & Procedure Parameters
2019-07-23 11:21:22 -07:00
Erik Pasternak
5911e54dc0
Revert "Propagate the visible state when blocks connect ( #2003 )"
...
This reverts commit ec78eeb39b .
2019-07-19 16:03:40 -07:00
Beka Westberg
a5bc29357f
Added unit tests.
2019-07-19 08:57:34 -07:00
Neil Fraser
829dcc207c
Make type and variabletype attributes optional
...
If a variable doesn’t have a type, then don’t add these empty attributes in the XML.
2019-07-15 14:37:27 -07:00
Neil Fraser
52b6ce18a5
Fix unit tests
2019-07-08 13:29:43 -07:00
Beka Westberg
bb19b4ce0c
Reenabled parameter case tests.
2019-07-08 10:44:20 -07:00
Beka Westberg
87fbe0447b
Fixed procedures not handling empty names. Renenabled/fixed tests.
2019-07-08 09:23:16 -07:00
Beka Westberg
efde04b7dc
Unskipped whitespace then text.
2019-07-08 09:20:51 -07:00
Beka Westberg
b34ca2f93b
Fixed review comments.
2019-06-25 15:08:01 -07:00
Beka Westberg
347519b2a1
Added all block files to mocha index.
2019-06-25 15:08:01 -07:00
Beka Westberg
427291c05d
Added skipping bad variable test.
2019-06-25 15:08:01 -07:00
Beka Westberg
2620a5092e
Added message.js to mocha tests file.
2019-06-25 15:08:01 -07:00
Beka Westberg
85c4e4129f
Added procedure tests.
2019-06-25 15:08:01 -07:00
Beka Westberg
5a4cc7ae12
Removed textToDom Needing <xml> Documents ( #2585 )
...
* Removed textToDom needing <xml> documents.
* Fixed jsdoc.
* Followon changes resulting from lack of XML tag.
* Fix Mocha test.
2019-06-24 15:50:06 -07:00
Beka Westberg
69e2eae218
Fixed setTooltip not working before appendField(). ( #2578 )
2019-06-21 13:36:25 -07:00
Beka Westberg
2463a754db
Updated TODO's.
2019-06-12 18:36:50 -07:00
Beka Westberg
406c6aca76
Changed sendDeleteEvent to append <xml> tags. Fixed bad <next> tests.
2019-06-12 18:25:44 -07:00
Beka Westberg
6665e46cd1
Removed test cases that never actually occure.
2019-06-12 18:12:19 -07:00
Beka Westberg
d05ce11736
Added trashcan tests.
2019-06-11 15:24:58 -07:00
Beka Westberg
81035c3bcb
Fixed unit tests.
2019-06-11 13:32:10 -07:00
Neil Fraser
1905531824
Fix Mocha tests.
2019-06-07 10:32:57 -07:00
alschmiedt
ceffe5c9f5
Merge pull request #2498 from BeksOmega/tests/SetValueAbstract
...
Added More setValue Test Coverage
2019-05-30 13:10:08 -07:00
Beka Westberg
e6caa50131
Added more setValue test coverage.
2019-05-25 10:20:20 -07:00
Beka Westberg
06c6d83355
Changed colour field class validator to accept all documented values.
2019-05-24 16:14:49 -07:00
Beka Westberg
f16c9c0beb
Refactored field validation.
2019-05-24 14:23:42 -07:00
Beka Westberg
acd96aa2c5
Added Field Value Tests ( #2459 )
...
* Added field value tests.
* Fixed field image src param.
* Fixed falsy values with label fields.
* Fixed falsy values with text input fields.
* Fixed some angle field tests.
* Fixed other text input when editing tests.
* Fixed colour tests.
* Cleaned up some number and variable field tests.
* Added angle field > 360 degrees tests.
* Fixed variable validator tests.
* Split setValue tests into sub-suites.
* Fixed angle >360 tests
* Changed var declarations to property declarations.
2019-05-17 15:19:14 -07:00
Rachel Fenichel
12a769b9c4
Merge pull request #2426 from rachel-fenichel/testing/run_mocha_tests
...
Add mocha tests to npm test
2019-05-02 15:32:09 -07:00
Rachel Fenichel
9e7becc262
Update comments
2019-05-02 15:31:54 -07:00
Beka Westberg
3afcd23535
Removed explicitly setting variable type to two single quotes.
2019-05-01 14:31:20 -07:00
Rachel Fenichel
99dc9bb38f
Fix test (matching fix in jsunit tests)
2019-05-01 14:19:55 -07:00
Rachel Fenichel
e77efa6c13
Add mocha tests + parsing to npm test
2019-05-01 13:43:19 -07:00
Beka Westberg
ce816b93bf
Added field_label_serializable. ( #2399 )
2019-04-24 10:43:09 -07:00
Beka Westberg
148823146d
Fixed lint errors
2019-04-22 10:55:36 -07:00
Beka Westberg
91b0e3d79a
Changed mocha eslint config to extend root eslint config.
2019-04-22 10:45:35 -07:00
Beka Westberg
e8573bc0db
Added isSerializable function and SERIALIZABLE property to fields.
2019-04-21 08:28:37 -07:00
RoboErikG
ec78eeb39b
Propagate the visible state when blocks connect ( #2003 )
...
* Propagate the visible state when blocks connect
This fixes #1967 .
In rendered connections when connecting:
- If the superior connection is hidden this hides the newly connected block.
- If the superior connection isn't hidden it makes sure the block is visible.
In rendered connections when disconnecting:
- If the superior connection is hidden, make the disconnected block stack visible.
TODO before review:
- write tests.
- update collapsed message
* Add missing overrides
* Add tests for hidden connections and fix a bug while disposing
2019-04-15 16:23:19 -07:00
Rachel Fenichel
c13833b6c5
Remove old eslintrc and use .json for mocha eslintrc
2019-01-11 12:30:34 -08:00
Rachel Fenichel
089c30baa1
Add eslintrc to mocha directory
2019-01-09 13:31:07 -08:00
Rachel Fenichel
298b93c025
Fix eslint errors with in-file comments
2019-01-08 11:54:57 -08:00
Rachel Fenichel
0ec471332b
Delete commented-out code
2019-01-08 11:44:15 -08:00