summaryrefslogtreecommitdiffstats
path: root/testing/framework/TestCommon.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into ↵William Deegan2018-10-151-63/+42
|\ | | | | | | fix_java_tests_path_with_spaces
| * fixed minor typosPaweł Tomulik2018-10-051-5/+5
| |
| * fixed some docs in TestCommon.py and refactored a littlePaweł Tomulik2018-10-051-59/+39
| |
| * make the must[_not]_contain_...() functions compatible with str.findPaweł Tomulik2018-10-051-9/+9
| |
| * fixed bugs in must_[not_]_contain()Paweł Tomulik2018-10-051-6/+5
| |
* | Add test for 1.8. Modularize java tests and move files to a fixture. Change ↵William Deegan2018-10-011-3/+8
|/ | | | TestCommon's options_arguments to keep passed lists and not join them into a string.
* Try a more scons-y file conversion for Py3 file readsMats Wichmann2018-07-311-8/+16
| | | | | | | | | | Instead of custom conversion as in the previous iteration, use the to_bytes function. The two known tests which incorrectly let the text-mode xml file be opened in binary mode are adjusted to supply mode='r' Signed-off-by: Mats Wichmann <mats@linux.com>
* Testing: python 3 fix for must_containMats Wichmann2018-07-251-0/+9
| | | | | | | | | | | | | | TestCommon defines a method must_contain which checks for a file including a given string. With Python 3, the test runs into some typing problems. This could be fixed either by changing all the tests which call the routine either omitting the mode argument (which then defaults to 'rb'), or specifying a mode which includes 'b'; or by modifying must_contain to align the types of the file data and the data to check for. This patch uses the latter approach. This is a test-only change, no run-time scons code is modified. Signed-off-by: Mats Wichmann <mats@linux.com>
* move test files from QMTest to testing/framework. QMtest hasn't been used in ↵William Deegan2018-04-301-0/+748
quite some time