MCPcopy Create free account
hub / github.com/KDE/kdevelop / setupSampleProject

Function setupSampleProject

plugins/subversion/tests/test_svnimport.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void setupSampleProject( const QString& name, const QString& content )
53{
54 QFile sampleFile( name + "/sample.file" );
55 sampleFile.open( QIODevice::WriteOnly );
56 sampleFile.write( content.toUtf8() );
57 sampleFile.close();
58}
59
60void TestSvnImport::initTestCase()
61{

Callers 3

testBasicMethod · 0.85
testImportIntoDirMethod · 0.85

Calls 3

openMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected