Review Request 119985: Prevent the deletion of files that are used as unit test comparison

Simon Wächter waechter.simon at
Sun Aug 31 07:58:52 UTC 2014

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 31, 2014, 9:58 a.m.)

Review request for KDevelop and Kevin Funk.


The test now uses a QTemporaryDir directory, so an additional directory inside the build directory is not needed anymore.

Repository: kdevplatform


This patch fixes a problem that I introduced when I ported the app template and file template wizard to KF5. The problem in the unit test was, that the wrong working directory was used and the auto cleanup accidentaly deleted the wrong files (These files were used as comparision for the test result).

Now the unit test creates and uses an own directory.

Diffs (updated)

  language/codegen/tests/test_templateclassgenerator.h d282c8a 
  language/codegen/tests/test_templateclassgenerator.cpp 387b507 



Unit tests succeeded several times without a problem on a project neon system.


Simon Wächter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list