function runSetValueTests(validValueTestCases, invalidValueTestCases,
    invalidRunExpectedValue) {
  runTestCases(invalidValueTestCases, (testCase) => {
    return function() {
      this.field.setValue(testCase.value);
      assertFieldValue(this.field, invalidRunExpectedValue);
    };
  });
  runTestCases(validValueTestCases, (testCase) => {
    return function() {
      this.field.setValue(testCase.value);
      assertFieldValue(this.field, testCase.expectedValue);
    };
  });
}
/**
 * Runs tests for setValue calls.
 * @param {Array<TestCase>} validValueTestCases Test cases with invalid values.
 * @param {Array<TestCase>} invalidValueTestCases Test cases with valid values.
 * @param {*} invalidRunExpectedValue Expected default value.
 */
Runs tests for setValue calls.
@param {Array} validValueTestCases Test cases with invalid values.
@param {Array} invalidValueTestCases Test cases with valid values.
@param {*} invalidRunExpectedValue Expected default value.
Runs tests for setValue calls . @param { Array } validValueTestCases Test cases with invalid values . @param { Array } invalidValueTestCases Test cases with valid values . @param { * } invalidRunExpectedValue Expected default value .
function runSetValueTests(validValueTestCases, invalidValueTestCases,
    invalidRunExpectedValue) {
  runTestCases(invalidValueTestCases, (testCase) => {
    return function() {
      this.field.setValue(testCase.value);
      assertFieldValue(this.field, invalidRunExpectedValue);
    };
  });
  runTestCases(validValueTestCases, (testCase) => {
    return function() {
      this.field.setValue(testCase.value);
      assertFieldValue(this.field, testCase.expectedValue);
    };
  });
}
function runSetValueTests ( validValueTestCases , invalidValueTestCases , invalidRunExpectedValue ) { runTestCases ( invalidValueTestCases , ( testCase ) => { return function ( ) { this . field . setValue ( testCase . value ) ; assertFieldValue ( this . field , invalidRunExpectedValue ) ; } ; } ) ; runTestCases ( validValueTestCases , ( testCase ) => { return function ( ) { this . field . setValue ( testCase . value ) ; assertFieldValue ( this . field , testCase . expectedValue ) ; } ; } ) ; }
Runs tests for setValue calls.
Runs tests for setValue calls .