File: tests-avoid-Group_Statistics.diff

package info (click to toggle)
tellico 4.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,064 kB
  • sloc: cpp: 89,088; xml: 35,338; ansic: 7,011; javascript: 3,059; python: 302; perl: 36; ada: 32; sh: 28; makefile: 13
file content (22 lines) | stat: -rw-r--r-- 973 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Pino Toscano <pino@debian.org>
Description: Do not use Group_Statistics.xsl as test data
 It is a buggy template, and it was removed upstream; will not be there anymore
 in 4.1.5+.
 .
 See https://invent.kde.org/office/tellico/-/commit/6f765a81c2007cdd2deecb8293be8cb185e1a5b2
Bug: https://bugs.kde.org/show_bug.cgi?id=511207
Last-Update: 2025-12-17
Forwarded: not-needed

--- a/src/tests/htmlexportertest.cpp
+++ b/src/tests/htmlexportertest.cpp
@@ -301,6 +301,9 @@ void HtmlExporterTest::testTemplatesTidy
   QDir reportDir(QFINDTESTDATA(QStringLiteral("../../xslt/report-templates/Column_View.xsl")));
   reportDir.cdUp();
   foreach(const QString& file, reportDir.entryList({"*.xsl"}, QDir::Files)) {
+    if(file == QLatin1String("Group_Statistics.xsl")) {
+      continue;
+    }
     const QString test1 = file + QLatin1String(":ted");
     const QString test2 = file + QLatin1String(":moody");
     QTest::newRow(test1.toUtf8().constData()) << file << ted;