Commit Graph

26 Commits

Author SHA1 Message Date
Kurt Hindenburg
cecfad49ff Convert tests to use SPDX license/copyright
https://community.kde.org/Policies/Licensing_Policy#SPDX_Statements
https://community.kde.org/Guidelines_and_HOWTOs/Licensing
2020-11-11 21:14:21 -05:00
Tomaz Canabrava
0478529c6f Move Profile related classes to it's own folder
This also allowed me to remove a few includes of Profile.h
around the codebase, that used Profile::Ptr. now the compilation
is a bit faster and also does not recompile things as often.
2020-07-27 19:14:53 +02:00
Mariusz Glebocki
52d2720007 Revert "GIT_SILENT: minor qstring optimization"
This reverts commit f96deb39aa.

This was anti-optimization.
QStringLiteral is a QString created at build time. Initialization of
QString with it has no overhead.
QLatin1String is 8 bit C string wrapper which needs run-time conversion
to 16 bit encoding used in QString.
2019-12-17 21:04:14 -05:00
Yuri Chornoivan
7bcf92696b Use URLs with transport encryption 2019-11-16 18:02:41 +02:00
Laurent Montel
f96deb39aa GIT_SILENT: minor qstring optimization 2019-09-07 13:33:09 +02:00
Laurent Montel
ef1beaab86 Remove unused includes 2019-08-23 08:09:17 +02:00
Kurt Hindenburg
7d52678a94 Skip some tests when on MACOS 2019-07-01 19:21:29 -04:00
Kurt Hindenburg
44bc4d7fe8 Try to use the build konsolepart for tests.
Move the build directory to the beginning of libraryPaths() so that
the build konsolepart is used.  The CI installs and then runs tests,
so leave other paths as-is.
Also, fail instead of skipping if konsolepart is not found.
2019-07-01 18:20:07 -04:00
Maximilian Schiller
12eb5c1934 Implement the new interface of TerminalInterface for profile handling
Implements the profile handling functions from the TerminalInterface.
Also registered Profile::Property with the Qt Meta Type System in order
to allow to query these properties from the interface.

Depends on D20169
2019-06-05 09:04:31 -04:00
Kurt Hindenburg
a94932757c modernize use auto 2018-10-27 23:05:36 -04:00
Kurt Hindenburg
d507d3381e Use Qt5 QSignalSpy::wait() instead of sleep()
I only noticed on DragonFlyBSD that the TerminalInterfaceTest failed
w/o this patch.

Differential Revision: https://phabricator.kde.org/D8420
2017-11-06 10:34:22 -05:00
Kurt Hindenburg
c39f4e3eb4 clang readability + uncrustify 2017-07-18 21:59:32 -04:00
Kurt Hindenburg
2117500670 modernize use nullptr 2017-07-01 21:25:51 -04:00
Kurt Hindenburg
0fecdd8701 skip terminal tests with no shell running on FreeBSD 2017-06-18 13:44:47 -04:00
Kurt Hindenburg
b9c3cd6608 More changes to QLatin1String, QLatin1Char and QStringLiteral 2017-05-08 08:44:43 -04:00
Kurt Hindenburg
a540e6fdd0 Fix readability-implicit-bool-cast issues using nullptr 2017-04-21 10:51:31 -04:00
Kurt Hindenburg
7852ad1e70 Remove unused variables 2016-06-22 10:04:14 -04:00
Kurt Hindenburg
cab41067ad Use QStringLiteral, QLatin1String and QString 2015-10-16 11:58:18 -04:00
Kurt Hindenburg
6ea46d0b04 remove unused variable 2015-10-10 20:22:54 -04:00
Kurt Hindenburg
3dc1b5a72d Seperate tests into one w/o a shell running
currentWorkingDirectory() is in kde_terminal_interface now
2015-10-10 18:29:25 -04:00
Kurt Hindenburg
ceebde3b4a Add TerminalInterfaceTest to autotests 2015-10-05 09:07:10 -04:00
Kurt Hindenburg
05d2328d67 Remove some KDE4 usage in comments 2015-09-18 10:01:13 -04:00
Montel Laurent
644bc825de Remove not necessary include moc 2015-01-15 13:23:14 +01:00
Montel Laurent
6c747d97d6 kdelibs4support-- 2014-10-17 23:31:29 +02:00
Kurt Hindenburg
61f7683c5b Minor: use '' around single character 2014-09-16 10:40:39 -04:00
Kurt Hindenburg
fde60e8773 TerminalInterfaceTest is not working ATM on KF5 2014-02-23 15:33:08 -05:00