mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Update inccorect jsdoc in mocha tests (#4707)
This commit is contained in:
@@ -53,7 +53,7 @@ suite('Checkbox Fields', function() {
|
||||
var defaultFieldValue = 'FALSE';
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldCheckbox} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(
|
||||
@@ -61,7 +61,7 @@ suite('Checkbox Fields', function() {
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldCheckbox} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -65,7 +65,7 @@ suite('Dropdown Fields', function() {
|
||||
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldDropdown} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -47,7 +47,7 @@ suite('Image Fields', function() {
|
||||
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldImage} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -45,14 +45,14 @@ suite('Label Serializable Fields', function() {
|
||||
var defaultFieldValue = '';
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldLabelSerializable} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(field, defaultFieldValue);
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldLabelSerializable} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -45,14 +45,14 @@ suite('Label Fields', function() {
|
||||
var defaultFieldValue = '';
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldLabel} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(field, defaultFieldValue);
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldLabel} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -47,14 +47,14 @@ suite('Multiline Input Fields', function() {
|
||||
var defaultFieldValue = '';
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldMultilineInput} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(field, defaultFieldValue);
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldMultilineInput} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -45,14 +45,14 @@ suite('Text Input Fields', function() {
|
||||
var defaultFieldValue = '';
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldTextInput} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(field, defaultFieldValue);
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldTextInput} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
@@ -75,14 +75,14 @@ suite('Variable Fields', function() {
|
||||
var defaultFieldName = FAKE_VARIABLE_NAME;
|
||||
/**
|
||||
* Asserts that the field property values are set to default.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldVariable} field The field to check.
|
||||
*/
|
||||
var assertFieldDefault = function(field) {
|
||||
testHelpers.assertFieldValue(field, FAKE_ID, defaultFieldName);
|
||||
};
|
||||
/**
|
||||
* Asserts that the field properties are correct based on the test case.
|
||||
* @param {!Blockly.FieldNumber} field The field to check.
|
||||
* @param {!Blockly.FieldVariable} field The field to check.
|
||||
* @param {!FieldValueTestCase} testCase The test case.
|
||||
*/
|
||||
var validTestCaseAssertField = function(field, testCase) {
|
||||
|
||||
Reference in New Issue
Block a user