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

Function setupLocalRepository

plugins/subversion/tests/test_svnimport.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void setupLocalRepository( const QString& name, VcsLocation & reposLoc )
43{
44 KProcess cmd;
45 cmd.setWorkingDirectory(name);
46 cmd << QStringLiteral("svnadmin") << QStringLiteral("create") << name;
47 QCOMPARE(cmd.execute(10000), 0);
48
49 reposLoc.setRepositoryServer("file://" + name );
50}
51
52void setupSampleProject( const QString& name, const QString& content )
53{

Callers 3

testBasicMethod · 0.85
testImportIntoDirMethod · 0.85

Calls 3

setRepositoryServerMethod · 0.80
setWorkingDirectoryMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected