description: Test plan for dataStringParsing.js -------------------------------------------------------------------------------- testName: getAttributeName_validDataString input inputData: string (The string representation of the JSON attribute that should be parsed) input inputMetaData: string (Not used for this business rule) output: string (The name of the attribute) testName: getAttributeName_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? testName: getAttributeName_inValidDataInputMetaDataString input inputData: string (The string representation of the JSON attribute that should be parsed) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getAttributeName_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getAttributeName_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getAttributeName_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getAttributeName_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: getAttributeValue_validDataString input inputData: string (The string representation of the JSON attribute that should be parsed) input inputMetaData: string (Not used for this business rule) output: string (The value of the attribute) testName: getAttributeValue_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? status: Failed error: TypeError: Cannot read properties of undefined (reading 'replaceAll') testName: getAttributeValue_inValidDataInputMetaDataString input inputData: string (The string representation of the JSON attribute that should be parsed) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getAttributeValue_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getAttributeValue_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getAttributeValue_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getAttributeValue_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: getValueFromAssignmentOperationString_validDataString input inputData: string (The string that should be parsed for the value on the right side of the assignment operator) input inputMetaData: string (Not used for this business rule) output: string (The string value of whatever is on the right side of the assignment operator) testName: getValueFromAssignmentOperationString_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? status: Failed error: TypeError: Cannot read properties of undefined (reading 'replace') testName: getValueFromAssignmentOperationString_inValidDataInputMetaDataString input inputData: string (The string that should be parsed for the value on the right side of the assignment operator) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getValueFromAssignmentOperationString_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getValueFromAssignmentOperationString_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getValueFromAssignmentOperationString_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getValueFromAssignmentOperationString_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: getDataCategoryFromDataContextName_validDataString input inputData: string (The data context name, which should also contain the data category separated by underscore) input inputMetaData: string (Not used for this business rule) output: string (The data category, such as Page or Test) testName: getDataCategoryFromDataContextName_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? testName: getDataCategoryFromDataContextName_inValidDataInputMetaDataString input inputData: string (The data context name, which should also contain the data category separated by underscore) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getDataCategoryFromDataContextName_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getDataCategoryFromDataContextName_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getDataCategoryFromDataContextName_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getDataCategoryFromDataContextName_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: getDataCategoryDetailNameFromDataContextName_validDataString input inputData: string (The data context name, which should also contain the data category and data category detail name separated by an underscore) input inputMetaData: string (Not used for this business rule) output: string (The data category detail name, such as ProjectDetails or ProjectList) testName: getDataCategoryDetailNameFromDataContextName_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? testName: getDataCategoryDetailNameFromDataContextName_inValidDataInputMetaDataString input inputData: string (The data context name, which should also contain the data category and data category detail name separated by an underscore) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getDataCategoryDetailNameFromDataContextName_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getDataCategoryDetailNameFromDataContextName_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getDataCategoryDetailNameFromDataContextName_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getDataCategoryDetailNameFromDataContextName_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: getKeywordNameFromDataContextName_validDataString input inputData: string (The data context name, which should also contain the data category and data category detail name and keyword name separated by an underscore) input inputMetaData: string (Not used for this business rule) output: string (The keyword name, such as DeleteEntireProject or EditProjectInfoClick) testName: getKeywordNameFromDataContextName_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? testName: getKeywordNameFromDataContextName_inValidDataInputMetaDataString input inputData: string (The data context name, which should also contain the data category and data category detail name and keyword name separated by an underscore) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getKeywordNameFromDataContextName_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getKeywordNameFromDataContextName_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getKeywordNameFromDataContextName_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.split is not a function testName: getKeywordNameFromDataContextName_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.split is not a function -------------------------------------------------------------------------------- testName: loadDataFile_validDataString input inputData: string (The full path and file name for the file that should be loaded into memory) input inputMetaData: string (The data hive path where the data should be stored once it is loaded) output: string (The data that was loaded, because sometimes a client command might need to use this to load data) testName: loadDataFile_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (The data hive path where the data should be stored once it is loaded) (testDataString) output: ? testName: loadDataFile_inValidDataInputMetaDataString input inputData: string (The full path and file name for the file that should be loaded into memory) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: loadDataFile_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: loadDataFile_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.split is not a function testName: loadDataFile_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? testName: loadDataFile_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? -------------------------------------------------------------------------------- testName: saveDataFile_validDataString input inputData: string (The full path and file name were the data should be saved) input inputMetaData: object (The data that should be saved out to the specified file) output: boolean testName: saveDataFile_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: object (The data that should be saved out to the specified file) (testDataString) output: ? testName: saveDataFile_inValidDataInputMetaDataString input inputData: string (The full path and file name were the data should be saved) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: saveDataFile_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.includes is not a function testName: saveDataFile_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: saveDataFile_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? testName: saveDataFile_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? -------------------------------------------------------------------------------- testName: getUserNameFromEmail_validDataString input inputData: string (A string that contains an email address value) input inputMetaData: string (Not used for this business rule) output: string (A string value of the sub-string from before the '@' symbol) testName: getUserNameFromEmail_inValidDataInputDataString input inputData: string (dfxg24346dfg) input inputMetaData: string (Not used for this business rule) (testDataString) output: ? testName: getUserNameFromEmail_inValidDataInputMetaDataString input inputData: string (A string that contains an email address value) (testDataString) input inputMetaData: string (dfxg24346dfg) output: ? testName: getUserNameFromEmail_inValidInputDataInteger input inputData: integer (4567) input inputMetaData: array ([1,2,3,4,5]) output: ? status: Failed error: TypeError: inputData.indexOf is not a function testName: getUserNameFromEmail_inValidInputDataBoolean input inputData: boolean (false) input inputMetaData: array ([1,2,3,4,5]) output: ? testName: getUserNameFromEmail_inValidInputMetaDataInteger input inputData: array ([1,2,3,4,5]) input inputMetaData: integer (4567) output: ? status: Failed error: TypeError: inputData.substr is not a function testName: getUserNameFromEmail_inValidInputMetaDataBoolean input inputData: array ([1,2,3,4,5]) input inputMetaData: boolean (false) output: ? status: Failed error: TypeError: inputData.substr is not a function