File indexing completed on 2024-04-28 17:01:43

0001 /*
0002 SPDX-FileCopyrightText: 2011 Dmitry Risenberg <dmitry.risenberg@gmail.com>
0003 
0004 SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef INTERACTIVEDIFFTEST_H
0008 #define INTERACTIVEDIFFTEST_H
0009 
0010 #include <QObject>
0011 
0012 #include "difference.h"
0013 
0014 class InteractiveDiffTest : public QObject
0015 {
0016     Q_OBJECT
0017 private Q_SLOTS:
0018     void testOneLineChange();
0019     void testSameLine();
0020     void testLineNumbers_data();
0021     void testLineNumbers();
0022     void testDifferenceContents_data();
0023     void testDifferenceContents();
0024     void testAppliedTouch();
0025     void testAppliedIntersect();
0026     void testExistingAndApplied();
0027     void testOneLineDeletionUnapplied();
0028     void testApplyUnapply();
0029     void testContextDiff();
0030     void testNormalDiff();
0031 private:
0032     void CompareDifferenceStringList(const Diff2::DifferenceStringList& actual, const QStringList& expected);
0033 };
0034 
0035 #endif //  INTERACTIVEDIFFTEST_H