(inputId, errorHandling)
| 847 | } |
| 848 | |
| 849 | function findInputCreatedAndCheck(inputId, errorHandling) { |
| 850 | var inputCreated = _inputsDict[inputId]; |
| 851 | if (!inputCreated) { |
| 852 | var errMsg = errMsgPrefix + ' No input found by id: ' + inputId + '. May caused by test case change.'; |
| 853 | if (errorHandling.log) { |
| 854 | console.error(errMsg); |
| 855 | } |
| 856 | else if (errorHandling.throw) { |
| 857 | throw new Error(errMsg); |
| 858 | } |
| 859 | else { |
| 860 | throw new Error('internal failure.') |
| 861 | } |
| 862 | } |
| 863 | return inputCreated; |
| 864 | } |
| 865 | |
| 866 | function retrieveInputDefineList(define) { |
| 867 | var defineList = retrieveValue(define.buttons, define.button, define.input, define.inputs); |
no outgoing calls
no test coverage detected
searching dependent graphs…