summaryrefslogtreecommitdiffstats
path: root/tests/auto/maketestselftest/tst_maketestselftest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a selftest to enforce correct test naming conventions.Rohan McGovern2010-03-221-9/+269
| | | | | | | | | | | | | | | When a test runs successfully, it outputs an XML test log, with the testcase name coming from whatever class is passed to QTest::qExec. If a test crashes, hangs, fails to compile, or otherwise fails to output a valid test log, any summary of the test results still has to display some reasonable testcase name. But we can't tell what the testcase name _would_ have been had the test run correctly - without, for example, attempting to parse the C++. The simplest solution is to make sure that TARGET and the test class name are always matching. This test will force people to follow this naming convention.
* Make maketestselftest more strict.Rohan McGovern2010-03-221-0/+138
|
* Move tests into separate .pro files, based on Qt module.Rohan McGovern2010-03-031-14/+19
| | | | | | | Having the tests in separate projects allows for some optimization strategies when running the tests (e.g. start running corelib tests while the rest of Qt is still compiling), and allows developers to run only a subset of tests when appropriate.
* Fixed failure of maketestselftest with vcproj generator.Rohan McGovern2010-02-171-1/+3
|
* Fixed maketestselftest failure with some MSVC versions.Rohan McGovern2010-02-021-0/+3
| | | | The generated `tests/auto/tmp' directory was causing this test to fail.
* Fix copyright year.Jason McDonald2010-01-191-1/+1
| | | | Reviewed-by: Trust Me
* Add a selftest for tests/auto/auto.pro.Rohan McGovern2010-01-141-0/+100
This selftest enforces that tests/auto/auto.pro is properly maintained. It may be extended to check other elements of the environment necessary for autotests to run correctly.