| 84 | } |
| 85 | |
| 86 | void 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 | |
| 103 | void TestSvnImport::testImportWithMissingDirs() |
| 104 | { |
nothing calls this directly
no test coverage detected