src/test/java/guitests/guihandles/DeadlineTaskListPanelHandle.java
/**
     * Returns true if the {@code tasks} appear as the sub list (in that order)
     * at position {@code startPosition}.
     */
Returns true if the  tasks appear as the sub list (in that order)
at position  startPosition.
Returns true if the tasks appear as the sub list ( in that order ) at position startPosition .
public boolean containsInOrder(int startPosition, ReadOnlyTask... tasks) {
        List<Pair<ReadOnlyTask, Integer>> tasksInList = getDeadlineListView().getItems();
        if (startPosition + tasks.length > tasksInList.size()) {
            return false;
        }
        for (int i = 0; i < tasks.length; i++) {
            if (!tasksInList.get(startPosition + i).getKey().getTaskName().fullTaskName
                    .equals(tasks[i].getTaskName().fullTaskName)) {
                return false;
            }
        }
        return true;
    }
public boolean containsInOrder ( int startPosition , ReadOnlyTask ... tasks ) { List < Pair < ReadOnlyTask , Integer > > tasksInList = getDeadlineListView ( ) . getItems ( ) ; if ( startPosition + tasks . length > tasksInList . size ( ) ) { return false ; } for ( int i = 0 ; i < tasks . length ; i ++ ) { if ( ! tasksInList . get ( startPosition + i ) . getKey ( ) . getTaskName ( ) . fullTaskName . equals ( tasks [ i ] . getTaskName ( ) . fullTaskName ) ) { return false ; } } return true ; }
Returns true if the {@code tasks} appear as the sub list (in that order)
 at position {@code startPosition}.
Returns true if the { @code tasks } appear as the sub list ( in that order ) at position { @code startPosition } .
// Return false if the list in panel is too short to contain the given // list // Return false if any of the persons doesn't match