Commit Graph

40 Commits

Author SHA1 Message Date
Oswald Buddenhagen
2c000f1cd1 prune ioutils test
this is now extensively tested inside qt itself. maintaining a second
version is unnecessary effort.

Change-Id: I8bbce32b53acad6df37f9c6aea18f791d5648810
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-10-28 13:00:40 +00:00
Ulf Hermann
8d1693e175 Tests: Fix Qt dependency for timeline and qml tests
"declarative" is QtQuick1

Change-Id: Ia72c846dcddc478a7eb0c247345259281fe65d77
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-11 09:13:06 +00:00
Orgad Shaneh
0926d63d56 Sdktool: Only execute tests with -test argument
+ add an autotest that executes it

Change-Id: I7a9e1cd409bccd77776eefb0e832c92c51bc2bd5
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-07-20 08:45:43 +00:00
hjk
4f6279256d Tests: Move auto/utils_stringutils to auto/utils/stringutils
Change-Id: I475a5914f3b65656dc12cf7619bfed34e9fc8b74
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-16 13:32:41 +01:00
Ulf Hermann
c40d9e9d17 Timeline: Create new library from contents of QmlProfiler
Change-Id: I964b2f149e237eb25a08600e8dab8968e8bc0cb9
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2014-12-16 15:22:48 +01:00
Christian Kandeler
847f10e9cc Remove Qt version checks.
Qt 5.3 is the minimum requirement these days. Remove all fallback code
from sources and project files.

Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-09-08 10:33:25 +02:00
Ulf Hermann
4937441091 QmlProfiler: autotest for AbstractTimelineModel
Change-Id: I16a29ac21efd9a3810740a50708c1bce9b90e40a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-08-26 14:54:57 +02:00
Christian Stenger
b52fca40ba Tests: Re-enable qml auto tests
Change-Id: I424caba6b79423d1bf680fab3bd0ec089c564ace
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-06 13:06:19 +01:00
Christian Stenger
5b6d31cd8f Tests: Enable externaltool auto tests
Change-Id: I39e610fa911cbbec93c32403392a0c35e3dfdb42
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-05 09:00:48 +01:00
Orgad Shaneh
bdf89d1cbd Build valgrind-fake on Windows
Change-Id: If6252f9a252e9bb0626ec60bdf34fa82cda09bfa
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2013-09-09 17:41:27 +02:00
Eike Ziller
44931c0985 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/plugins/pythoneditor/tools/lexical/pythonformattoken.h

Change-Id: I7b921cd975aa755166a80d219ed5e8b69888aeb0
2013-04-18 09:22:19 +02:00
Eike Ziller
3c5d737834 Fix searching in search results (and other tree views).
Task-number: QTCREATORBUG-9066

Change-Id: I76b7916b4ce64c400c175e72edc2b0a3ef015156
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
2013-04-17 13:48:53 +02:00
Oswald Buddenhagen
ca1e65c7f0 fix subprojects re valgrind tests
amends e6c0c292b9

Change-Id: Ib57bf0315b92f8c9a0face9faa3da76f383346e8
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-04-02 17:38:49 +02:00
Christian Stenger
e6c0c292b9 tests: move valgrind into auto tests
* re-added some test data files
* added QSKIP for not existing data files

Change-Id: Ie0ae3f563e0d94534b620320176b7ec56e36d313
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-04-02 14:20:23 +02:00
jkobus
2433ee7da0 Add autotests for diff editor
Change-Id: I46c1d5c623b0ffd8c0dc16d218094d05c9975ea5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-03-12 13:56:54 +01:00
Lukas Holecek
d5261a763d FakeVim: Removed old tests
New tests are part of the plugin implemented in "fakevim_test.cpp" file.

To run the new tests, FakeVim must be built with "qmake TEST=1".

Test invocation examples:

  qtcreator -test FakeVim
  qtcreator -test FakeVim test_vim_movement

Change-Id: I40bfe7e9e9031719201909ef97cbd4b82caa002f
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-02-26 20:21:02 +01:00
Christian Kandeler
0d2b1aedeb Remove "icheck build" test.
Does not build, is not being maintained, purpose is unclear.

Change-Id: I00f3bbc9580b57e3945882a411af502a78f4864f
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-09-07 12:30:25 +02:00
Tobias Hunger
0df375a08a FileName: Add method to find parent directories
Change-Id: Ia8382e3f7a9312e0878cce041723973ccf751aae
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-25 17:15:17 +01:00
Oswald Buddenhagen
846e4d3d1c fix ProWriter test
finally ...
2011-03-07 22:11:26 +01:00
Bill King
4507d64345 tests: make compile 2010-12-03 11:14:01 +10:00
Oswald Buddenhagen
531c70f05b add Utils::QtcProcess
this is a wrapper around QProcess with these features:
- setEnvironment() takes a Utils::Environment instead of a QStringList
- instead of taking a stringlist with arguments, take a single shell
  command string which is fully compatible with the system's native
  shell (the bourne shell on unix and cmd.exe on windows) - with support
  for environment variable expansion, and subject to the shell's
  splitting and quoting rules. if the command is too complex (e.g.,
  contains redirections), it is transparently executed through a real
  shell.
- additionally, the class contains a set of helper functions for
  manipulating (constructing, splitting, etc.) shell command lines.
  in particular, it contains a shell-safe macro expander and the nested
  class ArgIterator which can be used for inspecting and manipulating a
  shell command line without going through the stringlist indirection
  (which is potentially lossy).

some of this is based on KDE code (KShell and KMacroExpander) which i
have written myself.
2010-11-17 13:19:07 +01:00
Oswald Buddenhagen
0641ed0eaa change Environment::expandVariables() semantics
instead of being os-agnostic, interpret the os-native expansion style,
so it is consistent with proper (shell) command lines.

don't interpret quotes, as this function is meant for expanding isolated
filepaths, where nobody would expect quoting. instead, use the windows
style of simply not doing an expansion if a referenced variable is not
found, which should be good enough - it's rather unlikely that something
which happens to be an expansion of an existing variable is actually not
meant to be one.
2010-11-17 13:19:06 +01:00
con
ab41c294d0 Make extension system tests work in new location 2010-11-08 15:12:06 +01:00
Oswald Buddenhagen
65650b26a5 make shellQuote() nicer
- unify unix and windows paths
- on windows:
  - we don't need to care for trailing backslashes, as we never append
    directly to quoted strings
  - simplify, as this doesn't need to be fast.
    unfortunately, it's impossible to use
      ret.replace(QRegExp(QLatin1String("(\\\\*)$")), QLatin1String("\"\\1"));
    as that matches foo\ twice (once one backslash and once an empty
    string).
2010-11-03 17:45:59 +01:00
con
a031112bef Add auto test for file search. 2010-11-02 11:13:43 +01:00
Bill King
524a9ac4a8 tests: more test project cleanup 2010-10-21 14:49:58 +10:00
Bill King
aeecc6067b autotests: removed as it's unuseably out of date 2010-10-11 15:57:18 +02:00
Bill King
eb498ee428 Tests: some cleanup of pro files, marking of tested components. 2010-09-06 14:19:32 +10:00
Bill King
1f0b600b82 Autotests: More cleanup of tests, and initial marking of components belonged to. 2010-09-02 15:32:04 +10:00
con
352b491c87 On Linux/Mac, show home path as ~ in recent projects.
Reviewed-by: Daniel Molkentin
2010-07-14 14:45:18 +02:00
Bill King
c9710052bb Fix autotests so that they're compiling again. 2010-07-06 14:37:45 +10:00
Leandro Melo
ef84027b0e Unit tests for specific rules of the generic highlighter. 2010-05-19 12:49:37 +02:00
Wolfgang Beck
e7bf61cfb4 Add new unit test to check the icheck build. 2010-01-29 15:06:03 +10:00
Kai Koehne
d3ed242d24 Compile qml autotests only if QtDeclarative module is available 2010-01-18 11:02:10 +01:00
Kai Koehne
818a7b226b New QmlDesigner plugin & Design mode
This adds a new "Design" mode that can be used to manipulate qml files
in a visual way. It will only get build if you have the declarativeui
module in Qt.

This is a squashed import from the Bauhaus project. Share & enjoy :)
2010-01-07 12:14:35 +01:00
Christian Kamm
80b52e589d Improve ChangeSet to support more rewriting operations. 2009-11-26 12:24:18 +01:00
Rohan McGovern
7483880bcc Remove reference to extensionsystem test, which doesn't seem to exist.
Reviewed-by: ossi
2009-09-22 00:36:25 +10:00
con
b5b35dab33 Move aggregation auto tests to test directory. 2009-09-01 16:19:45 +02:00
hjk
6372dcc922 add a 'master' auto.pro with TEMPLATE = subdirs 2009-08-20 10:24:21 +02:00
hjk
3739081e8a add a 'master' auto.pro with TEMPLATE = subdirs 2009-08-20 09:34:14 +02:00