description: Test plan for characterArrayParsing.js -------------------------------------------------------------------------------- testName: replaceCharacterWithCharacter_validDataString input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) input inputMetaData: array (An array of data that contains 2 additional string parameters and the character specified for replacement from the input data) output: string (The same as the input string but with specified characters converted to the other specified character) testName: replaceCharacterWithCharacter_validDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: array (An array of data that contains 2 additional string parameters and the character specified for replacement from the input data) (testDataString) output: ? testName: replaceCharacterWithCharacter_validDataInputMetaDataString input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: replaceCharacterWithCharacter_inValidDataStorageInputMetaDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Fail Error: TypeError: inputData.replaceAll is not a function testName: replaceCharacterWithCharacter_inValidDataStorageInputMetaDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Fail Error: TypeError: inputData.replaceAll is not a function testName: replaceCharacterWithCharacter_inValidInputMetaDataUndefined input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (inValidDataToStoreUndefined) input inputMetaData: undefined output: ? testName: replaceCharacterWithCharacter_inValidInputMetaDataNaN input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (inValidDataToStoreNaN) input inputMetaData: NaN output: ? -------------------------------------------------------------------------------- testName: doesArrayContainCharacter_validDataString input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) output: boolean (True or False to indicate if the value was found or not found) testName: doesArrayContainCharacter_validDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataString) output: ? testName: doesArrayContainCharacter_validDataInputDataInteger input inputData: integer (23456) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataInteger) output: ? testName: doesArrayContainCharacter_validDataInputDataBoolean input inputData: boolean (false) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataBoolean) output: ? testName: doesArrayContainCharacter_validDataInputDataObject input inputData: object ({"constants":"c,const","Generator":"g,gen,genrtr","List":"l,lst"}) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataObject) output: ? status: Failed error: TypeError: arrayElement.includes is not a function testName: doesArrayContainCharacter_validDataInputMetaDataString input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: doesArrayContainCharacter_validDataInputMetaDataInteger input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataInteger) input inputMetaData: integer (23456) output: ? status: Failed error: TypeError: inputMetaData is not iterable testName: doesArrayContainCharacter_validDataInputMetaDataBoolean input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataBoolean) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputMetaData is not iterable testName: doesArrayContainCharacter_validDataInputMetaDataObject input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataObject) input inputMetaData: object ({"constants":"c,const","Generator":"g,gen,genrtr","List":"l,lst"}) output: ? status: Failed error: TypeError: inputMetaData is not iterable testName: doesArrayContainCharacter_inValidInputDataUndefined input inputData: undefined input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (inValidDataToStoreUndefined) output: ? testName: doesArrayContainCharacter_inValidInputDataNaN input inputData: NaN input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (inValidDataToStoreNaN) output: ? testName: doesArrayContainCharacter_inValidInputMetaDataUndefined input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (inValidDataToStoreUndefined) input inputMetaData: undefined output: ? testName: doesArrayContainCharacter_inValidInputMetaDataNaN input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (inValidDataToStoreNaN) input inputMetaData: NaN output: ? -------------------------------------------------------------------------------- testName: removeCharacterFromArray_validDataString input inputData: string|boolean|integer|object (The character, integer, boolean, float or object that is removed from all instances of the input array) input inputMetaData: array (The array from which all isntances of the input character, integer, etc...should be removed) output: array (The array after having the specified character removed from all elements of the input array) testName: removeCharacterFromArray_validDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataString) output: ? testName: removeCharacterFromArray_validDataInputDataInteger input inputData: integer (23456) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataInteger) output: ? testName: removeCharacterFromArray_validDataInputDataBoolean input inputData: boolean (false) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataBoolean) output: ? testName: removeCharacterFromArray_validDataInputDataObject input inputData: object ({"constants":"c,const","Generator":"g,gen,genrtr","List":"l,lst"}) OR array ([1,2,3,4]) input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (testDataObject) output: ? testName: removeCharacterFromArray_validDataInputMetaDataString input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataString) input inputMetaData: array (["df","xg","24","34","6d","fg"]) output: ? testName: removeCharacterFromArray_validDataInputMetaDataInteger input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataInteger) input inputMetaData: array ([2,3,4,5,6]) output: ? testName: removeCharacterFromArray_validDataInputMetaDataBoolean input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataBoolean) input inputMetaData: array ([false,true,false]) output: ? testName: removeCharacterFromArray_validDataInputMetaDataObject input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (testDataObject) input inputMetaData: array ([{"constants":"c,const","Generator":"g,gen,genrtr","List":"l,lst"},{...}]) output: ? testName: removeCharacterFromArray_inValidInputDataUndefined input inputData: undefined input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (inValidDataToStoreUndefined) output: ? testName: removeCharacterFromArray_inValidInputDataNaN input inputData: NaN input inputMetaData: array (The array that should be searched for the specified character/value/etc...) (inValidDataToStoreNaN) output: ? testName: removeCharacterFromArray_inValidInputMetaDataUndefined input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (inValidDataToStoreUndefined) input inputMetaData: undefined output: ? testName: removeCharacterFromArray_inValidInputMetaDataNaN input inputData: string|boolean|integer|object (The character that should be searched for in the array of elements) (inValidDataToStoreNaN) input inputMetaData: NaN output: ? -------------------------------------------------------------------------------- testName: replaceCharacterAtIndex_validDataString input inputData: string (The string which should have the specified character changed, then returned) input inputMetaData: array (An array with an integer of what index the character is replaced, and a string with the character or characters that is inserted at the specified index) output: string (The modified string) testName: replaceCharacterAtIndex_validDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: array (An array of data that contains 2 additional string parameters and the character specified for replacement from the input data) (testDataString) output: ? testName: replaceCharacterAtIndex_validDataInputMetaDataString input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: removeCharacterFromArray_validDataInputDataInteger input inputData: string (The string which should have the specified character changed, then returned) (testDataInteger) input inputMetaData: integer (23456) output: ? testName: replaceCharacterAtIndex_inValidDataStorageInputMetaDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: replaceCharacterAtIndex_inValidDataStorageInputMetaDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: replaceCharacterAtIndex_inValidInputMetaDataUndefined input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (inValidDataToStoreUndefined) input inputMetaData: undefined output: ? testName: replaceCharacterAtIndex_inValidInputMetaDataNaN input inputData: string (A string that may or may not contain the specified characters that is converted to another specified character) (inValidDataToStoreNaN) input inputMetaData: NaN output: ?