Skip to content

Commit

Permalink
Remove test for sizeHint.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 24, 2024
1 parent 952c025 commit 12b0ee9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions tests/FilterStringsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,3 @@ void FilterStringsTest::testListItemChecking()
QCOMPARE(spy.count(), SIGNAL_RECEIVED);
QCOMPARE(spy.takeFirst(), {QVariant(QStringList{})});
}

void FilterStringsTest::testSizeHint()
{
const FilterStrings filter(QLatin1String(""), testEntriesList_);
QCOMPARE(filter.sizeHint(), QSize(266, 230));
}
2 changes: 0 additions & 2 deletions tests/FilterStringsTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ private Q_SLOTS:

void testListItemChecking();

void testSizeHint();

private:
QStringList testEntriesList_;

Expand Down
2 changes: 0 additions & 2 deletions tests/Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ int main(int argc, char* argv[])

QStyle* style = QStyleFactory::create("Fusion");
QApplication::setStyle(style);
QFont font("Arial", 12);
a.setFont(font);
setLightPalette();

DoubleSliderTest doubleSliderTest;
Expand Down

0 comments on commit 12b0ee9

Please sign in to comment.