File: skip-tests-requiring-network.patch

package info (click to toggle)
kdeplasma-addons 4%3A6.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,800 kB
  • sloc: cpp: 15,268; xml: 436; javascript: 178; python: 169; sh: 59; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/runners/converter/autotests/converterrunnertest.cpp
+++ b/runners/converter/autotests/converterrunnertest.cpp
@@ -51,6 +51,7 @@
  */
 void ConverterRunnerTest::testCurrency()
 {
+    QSKIP("Network not available during build, cannot load currencies");
     launchQuery(QStringLiteral("1$"));
 
     Converter converter;
@@ -70,6 +71,7 @@
  */
 void ConverterRunnerTest::testLettersAndCurrency()
 {
+    QSKIP("Network not available during build, cannot load currencies");
     launchQuery(QStringLiteral("4us$>ca$"));
 
     QCOMPARE(manager->matches().count(), 1);
@@ -132,6 +134,7 @@
 
 void ConverterRunnerTest::testRoundingOfCurrencies()
 {
+    QSKIP("Network not available during build, cannot load currencies");
     launchQuery(QStringLiteral("40000000000000000000000000000000000000000000000000$"));
     QVERIFY(!manager->matches().isEmpty());
     QVERIFY(!manager->matches().constFirst().text().startsWith("-"));