Reijo Tomperi
8780713c51
Add test case (in comments) for exclude directory bug in gui.
2012-12-13 00:16:24 +02:00
XhmikosR
857ea9fb0d
remove unneeded spaces and empty lines
2012-10-12 17:46:57 +02:00
XhmikosR
8d08c3b58b
pro and pri files: remove unneeded empty lines, use spaces for consistency
2012-10-12 17:46:57 +02:00
Reijo Tomperi
8cae17fda8
Update year to 2012
2012-01-01 01:05:37 +02:00
Thomas Jarosch
91a5d95bc9
Use Token::simpleMatch() / Token::findsimplematch() where possible
2011-10-28 22:31:05 +02:00
Daniel Marjamäki
6f8e42a5af
changed the astyle formatting flags
2011-10-13 20:53:06 +02:00
Kimmo Varis
4c24b6a804
GUI: Rename ErrorItem::id to ErrorItem::errorId.
2011-10-12 22:19:08 +03:00
Kimmo Varis
a04d6b82f5
GUITESTS: Rename variable for consistency.
2011-09-25 20:17:06 +03:00
Kimmo Varis
039291d9d4
GUITESTS: Remove include lines from test data.
...
The included files aren't found anyway so the lines are useless
and can add more variance (filesystem access) to the results.
2011-09-25 19:23:47 +03:00
Kimmo Varis
8b5c1ad8b7
GUITESTS: Add benchmark for tokenize + simplify.
2011-09-18 09:44:27 +03:00
Kimmo Varis
2123f6fafc
GUI: Update projectfile tests.
2011-08-23 20:44:27 +03:00
Kimmo Varis
51102ee076
GUITESTS: Replace benchmark data file.
...
The benchmark data file had errors when checking with Cppcheck.
And people reported these errors. So replace the file with one
that has no (currently found) errors.
2011-08-12 14:40:14 +03:00
Kimmo Varis
2ef4e6fb59
GUITESTS: Remove the running script.
...
The script is available in another repository. I don't want to
distribute it with Cppcheck sources for now. Maybe if and when
there is more interest towards GUI tests...
2011-08-12 00:13:29 +03:00
Kimmo Varis
b7d110460e
GUITESTS: Add simple readme.txt.
2011-07-24 21:45:53 +03:00
Kimmo Varis
387fd35ff3
GUITESTS: Improve the running script.
...
Don't use recursion in the script. The Python's os.walk() already
lists all files in subdirectories and using recursion only caused
tests to be found twice. Also handle the case the project file
defines binary path with DESTDIR define.
2011-06-23 23:02:49 +03:00
Robert Reif
f05ff9b4dc
run astyle
2011-06-22 20:30:41 -04:00
Kimmo Varis
88f31403d7
GUITESTS: Run only existing tests with the script.
...
Improve the runner script to run only tests whose binary file
exists. Tests with inexistant binary file are not counted into
test counts in the summary.
Add the MIT license header. I'm now maintaining this script in
external repository with MIT license. So I can use the script
in other projects too.
2011-06-22 23:58:25 +03:00
Kimmo Varis
d5157519a0
BENCHMARKS: Add simple benchmark.
2011-06-22 22:24:49 +03:00
Kimmo Varis
ea6f6bb1aa
GUITESTS: Print summary from the test script.
2011-06-21 15:38:18 +03:00
Kimmo Varis
0cd8282b2e
GUITESTS: Add Python script for running all tests.
2011-06-21 15:38:18 +03:00
Kimmo Varis
6bae7b0f0f
GUITESTS: Add FileList filtering tests.
2011-06-18 12:54:48 +03:00
Kimmo Varis
8b70046a42
GUITESTS: Add tests for adding directory.
2011-06-17 14:54:04 +03:00
Kimmo Varis
d5652ee3cc
GUITESTS: Move testdata to data-subdirectory.
2011-06-17 13:56:32 +03:00
Kimmo Varis
82e8e1a737
GUITESTS: Add simple test for FileList.
...
These tests check that FileList only accepts existing files with
accepted filename extensions.
2011-06-17 13:46:40 +03:00
Kimmo Varis
5ec241ee0e
GUITESTS: Few compares in tests were wrong way around.
2011-06-17 13:18:42 +03:00
Kimmo Varis
b66b8a31cc
GUITESTS: Add tests for loading project files.
2011-06-16 14:24:33 +03:00
Kimmo Varis
08ab764f63
GUITESTS: More flexible test data paths.
...
Use build-time define to set the path to the source files
directory. Which then can be used to format path to the test
data. This allows running tests from out-of-source-tree -builds
that e.g. QtCreator does.
2011-06-16 13:05:00 +03:00
Kimmo Varis
ebd5a123ce
GUITESTS: Fix XML V1 test.
...
Test was using and assuming that severity string starts with
capital letter (e.g. "Style"). But the strings are all lowercase
letters.
Ticket #2832 (GUI: XML version 1 test fails)
2011-06-10 15:16:44 +03:00
Kimmo Varis
8cff768d99
GUITESTS: Use common build artifact directory.
...
Using common build artifacts (object files, moc files) avoids
recompiling whole lib and other shared files separately for each
test.
2011-06-10 14:35:02 +03:00
Kimmo Varis
8e18c69ba8
GUITESTS: Run Astyle.
2011-06-10 14:22:52 +03:00
Kimmo Varis
63cf743ba1
GUITESTS: Remove unneeded main file.
2011-06-10 14:15:24 +03:00
Kimmo Varis
c51b66d0b1
GUITESTS: Move XML V2 tests to own project.
2011-06-10 14:13:41 +03:00
Kimmo Varis
1337abd9fe
GUITESTS: Move XML format V1 tests to own project.
2011-06-10 14:01:08 +03:00
Kimmo Varis
85aed65e80
GUITESTS: Fix XML files paths.
2011-06-10 13:20:17 +03:00
Kimmo Varis
edbb66cb20
GUITESTS: Refactoring XmlReport test.
2011-06-10 13:20:17 +03:00
Kimmo Varis
eb648eb3f7
GUITESTS: Fix translation count in test.
2011-06-10 13:20:17 +03:00
Kimmo Varis
6820fc6933
GUITESTS: Refactoring test building.
...
Start building each test as separate project as QtestLib tests
usually are built. This commit adds the infrastructure and moves
TranslationHandler test as own project.
2011-06-10 13:19:46 +03:00
Kimmo Varis
1e3efd08f8
GUITEST: Add test reading XML format v2 file.
2011-02-09 22:08:29 +02:00
Kimmo Varis
4d886f8c3b
GUITEST: Add test for reading old format XML report.
2011-02-09 22:08:25 +02:00
Kimmo Varis
11378108fa
GUITEST: Add test for checking XML report version.
2011-02-09 22:08:25 +02:00
Kimmo Varis
aa6341dbed
Astyle: add option to convert to linux EOLs.
2011-02-09 14:13:37 +02:00
Kimmo Varis
9dd1515f6f
GUITEST: Add couple of tests for XmlReport.
2011-02-09 01:59:12 +02:00
Kimmo Varis
2684b230f1
GUITEST: Add first GUI test testing TranslationHandler.
2011-02-08 23:42:50 +02:00