summaryrefslogtreecommitdiffstats
path: root/tests/auto/qeasingcurve
Commit message (Collapse)AuthorAgeFilesLines
* Enabled WINCE workaround for S60 in QEasingCurve::valueForProgress test.Janne Anttila2009-09-281-2/+2
| | | | | | See: 82275b4c03a0. This workaround applies also for Symbian. Reviewed-by: TrustMe
* Fixed qeasingcurve autotest compilation for other than WINCE platforms.Janne Anttila2009-09-281-5/+5
| | | | Reviewed-by: TrustMe
* Added an explicit change for two tests (temporary fix!)ninerider2009-09-251-2/+12
| | | | | | | | | | The failing (3) values are explicitly excepted here. The source values for the comparison table should remain untruncated doubles and the error bound checking function should be made dynamic. Also the source values should come from a "trusted" source and not from QEasingCurve itself. Reviewed-by: Joerg
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Fix the previous fix.Jan-Arve Sæther2009-05-261-177/+5
| | | | | The previous fix fails on msvc-2005, since QString::setNum() does not handle rounding of numbers such as 0.015625 consistently.
* Fix QEasingCurve autotestsLeonardo Sobral Cunha2009-05-221-15/+193
| | | | | | | | Easing curve autotests was converting the easing(qreal) to int before, but this is a very rough comparison and was failing due to different conversions to int, so now we do a qFuzzyCompare. Reviewed-by: Thierry
* Fix a bug in the ease{In,Out}Bounce easing functions + small cleanup.Jan-Arve Sæther2009-04-231-92/+91
| | | | | | | | | | | | | | The bug was in easeOutBounce_helper(), where the last else-block adjusted t wrong. It should adjust t so that the peak is at t == 0, but it adjusted it too little. The old code did t -= (2.25f/2.75f), but it should have been 21/22. The rest of the changes in that function is just simple mathematical rewrites (use a more readable fraction), and removed the b argument, since that was always 0. Finally, fixing the original bug also revealed a bug in the first line of easeOutBounce_helper(), where we always returned 1.0 for t == 1.0. That was wrong since it did not respect c.
* Remove trailing whitespaceJan-Arve Sæther2009-04-231-8/+8
|
* Initial import of statemachine branch from the old kinetic repositoryAlexis Menard2009-04-172-0/+491