Skip to content
Permalink
Browse files

avoid modifying test data

  • Loading branch information
jef-n committed Jul 1, 2015
1 parent 984f03f commit b847a069a49cc8a9120b4c1dac25dc72cbcefd84
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/src/core/testqgsvectorlayercache.cpp
@@ -134,9 +134,7 @@ void TestVectorLayerCache::cleanupTestCase()
QString tmpFileName = it.value();
QString origFileName = it.key();

qDebug() << "Copy " << tmpFileName << " " << origFileName;
QFile( origFileName ).remove();
qDebug() << QFile::copy( tmpFileName, origFileName );
qDebug() << "Remove " << tmpFileName;
QFile::remove( tmpFileName );
}

0 comments on commit b847a06

Please sign in to comment.
You can’t perform that action at this time.