fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/RowFixture.java
private void compareRow(Object computedRow, List<FitCell> expectedCells) {
        for (int i = 0; i < columnNames.length && expectedCells != null; i++) {
            try {
                ValueReceiver valueReceiver;
                if (isComment(i)) {
                    valueReceiver = null;
                } else {
                    valueReceiver = createReceiver(computedRow, columnNames[i]);
                }

                String columnParameter = FitUtils.saveGet(i, columnParameters);
                check(expectedCells.get(i), valueReceiver, columnParameter);
            } catch (NoSuchMethodException | NoSuchFieldException e) {
                expectedCells.indexOf(e);
            }
        }
    }
private void compareRow(Object computedRow, List<FitCell> expectedCells) {
        for (int i = 0; i < columnNames.length && expectedCells != null; i++) {
            try {
                ValueReceiver valueReceiver;
                if (isComment(i)) {
                    valueReceiver = null;
                } else {
                    valueReceiver = createReceiver(computedRow, columnNames[i]);
                }

                String columnParameter = FitUtils.saveGet(i, columnParameters);
                check(expectedCells.get(i), valueReceiver, columnParameter);
            } catch (NoSuchMethodException | NoSuchFieldException e) {
                expectedCells.indexOf(e);
            }
        }
    }
private void compareRow ( Object computedRow , List < FitCell > expectedCells ) { for ( int i = 0 ; i < columnNames . length && expectedCells != null ; i ++ ) { try { ValueReceiver valueReceiver ; if ( isComment ( i ) ) { valueReceiver = null ; } else { valueReceiver = createReceiver ( computedRow , columnNames [ i ] ) ; } String columnParameter = FitUtils . saveGet ( i , columnParameters ) ; check ( expectedCells . get ( i ) , valueReceiver , columnParameter ) ; } catch ( NoSuchMethodException | NoSuchFieldException e ) { expectedCells . indexOf ( e ) ; } } }
Compares two rows item by item using {@link Fixture#check(FitCell, ValueReceiver, String)}.
Each cell will be marked as right, wrong, ignored or exception
Compares two rows item by item using {