Bug 353769 - Support unit-tests for fixits
Summary: Support unit-tests for fixits
Status: RESOLVED FIXED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 17:46 UTC by Sergio Martins
Modified: 2015-11-24 18:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Martins 2015-10-10 17:46:59 UTC
run_tests.py should be modified so it also diffs fixed_main.expected against main.cpp_fixed.cpp

Currently doing that by hand.

Reproducible: Always
Comment 1 Sergio Martins 2015-11-24 18:50:05 UTC
Git commit e3f22d5bb4813a7723a654a14ef1a64aa3106972 by Sergio Martins.
Committed on 24/11/2015 at 18:48.
Pushed by smartins into branch 'master'.

Introducing unit-tests for fixits.

Fixits are also unit-tested now.

M  +4    -0    tests/auto-unexpected-qstringbuilder/config.json
A  +11   -0    tests/auto-unexpected-qstringbuilder/main.cpp_fixed.cpp.expected
M  +28   -5    tests/old-style-connect/config.json
A  +367  -0    tests/old-style-connect/main.cpp_fixed.cpp.expected
A  +49   -0    tests/old-style-connect/namespaces.cpp_fixed.cpp.expected
A  +26   -0    tests/old-style-connect/namespaces.h_fixed.cpp.expected
A  +28   -0    tests/old-style-connect/usingnamespace.cpp_fixed.cpp.expected
M  +4    -0    tests/qstring-uneeded-heap-allocations/config.json
R  +0    -0    tests/qstring-uneeded-heap-allocations/main.cpp_fixed.cpp.expected [from: tests/qstring-uneeded-heap-allocations/fixed_main.expected - 100% similarity]
M  +21   -11   tests/run_tests.py

http://commits.kde.org/clazy/e3f22d5bb4813a7723a654a14ef1a64aa3106972