1 package org.apache.maven.scm.provider.cvslib.command.mkdir;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.File;
23
24 import org.apache.maven.scm.provider.cvslib.CvsScmTestUtils;
25 import org.apache.maven.scm.tck.command.mkdir.MkdirCommandTckTest;
26 import org.codehaus.plexus.util.FileUtils;
27
28
29
30
31 public class CvsMkdirCommandTckTest
32 extends MkdirCommandTckTest
33 {
34
35 public String getScmUrl()
36 {
37 return CvsScmTestUtils.getScmUrl( getRepositoryRoot(), getModule() );
38 }
39
40
41 protected String getModule()
42 {
43 return "test-repo/module";
44 }
45
46
47 public void initRepo()
48 throws Exception
49 {
50
51 CvsScmTestUtils.initRepo( "src/test/tck-repository/", getRepositoryRoot(), getWorkingDirectory() );
52 }
53
54 protected void setUp()
55 throws Exception
56 {
57 super.setUp();
58
59
60 FileUtils.mkdir( new File( getWorkingDirectory(), getMissingDirectory() ).getPath() );
61 assertTrue( new File( getWorkingDirectory(), getMissingDirectory() ).exists() );
62 }
63 }