/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
public static void initializeRepository( File repositoryRoot ) throws Exception { if ( repositoryRoot.exists() ) { FileUtils.deleteDirectory( repositoryRoot ); } Assert.assertFalse( "repositoryRoot still exists", repositoryRoot.exists() ); Assert.assertTrue( "Could not make repository root directory: " + repositoryRoot.getAbsolutePath(), repositoryRoot.mkdirs() ); ScmTestCase.execute( repositoryRoot.getParentFile(), SVNADMIN_COMMAND_LINE, "create " + repositoryRoot.getName() ); loadSvnDump( repositoryRoot, new SvnScmTestUtils().getClass().getClassLoader().getResourceAsStream( "tck/tck.dump" ) ); }
public static void initializeRepository( File repositoryRoot, File dump ) throws Exception { if ( repositoryRoot.exists() ) { FileUtils.deleteDirectory( repositoryRoot ); } Assert.assertTrue( "Could not make repository root directory: " + repositoryRoot.getAbsolutePath(), repositoryRoot.mkdirs() ); ScmTestCase.execute( repositoryRoot.getParentFile(), SVNADMIN_COMMAND_LINE, "create " + repositoryRoot.getName() ); Assert.assertTrue( "The dump file doesn't exist: " + dump.getAbsolutePath(), dump.exists() ); loadSvnDump( repositoryRoot, new FileInputStream( dump ) ); }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** * {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
/** {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }
/** * {@inheritDoc} */ public String getScmUrl() throws Exception { return SvnScmTestUtils.getScmUrl( new File( getRepositoryRoot(), "trunk" ) ); }
/** {@inheritDoc} */ public void initRepo() throws Exception { SvnScmTestUtils.initializeRepository( getRepositoryRoot() ); } }