(List<Tuple> actualResList, boolean toSort)
| 1335 | } |
| 1336 | |
| 1337 | public static void sortQueryOutputsIfNeed(List<Tuple> actualResList, boolean toSort){ |
| 1338 | if( toSort == true) { |
| 1339 | for (Tuple t : actualResList) { |
| 1340 | Util.convertBagToSortedBag(t); |
| 1341 | } |
| 1342 | Collections.sort(actualResList); |
| 1343 | } |
| 1344 | } |
| 1345 | |
| 1346 | public static void checkQueryOutputs(Iterator<Tuple> actualResults, List<Tuple> expectedResults, boolean checkAfterSort) { |
| 1347 | if (checkAfterSort) { |
no test coverage detected