Bug 353769

Summary: Support unit-tests for fixits
Product: [Developer tools] clazy Reporter: Sergio Martins <smartins>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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