(state)
| 1501 | } |
| 1502 | |
| 1503 | function setGroupSetInputState(state) { |
| 1504 | if (!isObject(state)) { |
| 1505 | console.error( |
| 1506 | errMsgPrefix + ' Invalid group set state: ' + printObject(state) |
| 1507 | + ' May caused by test case change.' |
| 1508 | ); |
| 1509 | return; |
| 1510 | } |
| 1511 | var currentGroupIndex = state.currentGroupIndex; |
| 1512 | if (getType(currentGroupIndex) !== 'number' |
| 1513 | || currentGroupIndex < 0 |
| 1514 | || currentGroupIndex >= groupSetCreated.children.length |
| 1515 | ) { |
| 1516 | console.error( |
| 1517 | errMsgPrefix + ' Invalid group set currentGroupIndex: ' + currentGroupIndex |
| 1518 | + ' May caused by test case change.' |
| 1519 | ); |
| 1520 | return; |
| 1521 | } |
| 1522 | switchGroup(currentGroupIndex); |
| 1523 | } |
| 1524 | |
| 1525 | } // End of createGroupSetInput |
| 1526 |
nothing calls this directly
no test coverage detected
searching dependent graphs…