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

Method testBasic

plugins/subversion/tests/test_svnimport.cpp:86–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void TestSvnImport::testBasic()
87{
88 QTemporaryDir reposDir;
89 VcsLocation reposLoc;
90 setupLocalRepository( reposDir.path(), reposLoc );
91
92 QTemporaryDir projectDir;
93 QString origcontent = QStringLiteral("This is a Test");
94 setupSampleProject( projectDir.path(), origcontent );
95
96 VcsJob* job = vcs->import( QStringLiteral("import test"), QUrl::fromLocalFile( projectDir.path() ), reposLoc );
97 validatingExecJob(job);
98
99 QTemporaryDir checkoutDir;
100 validateImport( reposLoc.repositoryServer(), checkoutDir, origcontent );
101}
102
103void TestSvnImport::testImportWithMissingDirs()
104{

Callers

nothing calls this directly

Calls 6

setupLocalRepositoryFunction · 0.85
setupSampleProjectFunction · 0.85
repositoryServerMethod · 0.80
validatingExecJobFunction · 0.70
pathMethod · 0.45
importMethod · 0.45

Tested by

no test coverage detected