Update inccorect jsdoc in mocha tests (#4707)

This commit is contained in:
Monica Kozbial
2021-03-19 16:33:41 -07:00
committed by GitHub
parent deab5fdd69
commit 7eabb8e8a3
8 changed files with 14 additions and 14 deletions

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {