-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "QTest: add -[no]throwon{fail,skip} command line arguments"
This reverts commit fde5730 and a portion of commit 627f804 and of commit e769cf0. The command-line feature and the environment variables are a design flaw, because there are NO conditions under which a regular user who isn't the designer of the test can make the correct choice. Either the tests are designed to work with throwing or they are not. The test must be run in the mode that the test developer wrote it. [ChangeLog][QtTest] The command-line options and environment variables that changed the defaults for QTest::setThrowOn{Fail,Skip}() have been removed due to a design flaw. To set the default, either place a call to the required function in the test's initTestCase() function or define the C++ macro. Task-number: QTBUG-66320 Change-Id: I0c17899984ebfd70de97fffd51784aa42d41b743 Reviewed-by: Jason McDonald <macadder1@gmail.com>
- Loading branch information
1 parent
519d3d3
commit ad568b8
Showing
3 changed files
with
7 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters