Page MenuHomestyx hydra

PhabricatorWorkingCopyPullTestCase.php
No OneTemporary

PhabricatorWorkingCopyPullTestCase.php

<?php
final class PhabricatorWorkingCopyPullTestCase
extends PhabricatorWorkingCopyTestCase {
public function testGitPullBasic() {
$repo = $this->buildPulledRepository('GT');
$this->assertTrue(Filesystem::pathExists($repo->getLocalPath().'/HEAD'));
}
public function testHgPullBasic() {
$repo = $this->buildPulledRepository('HT');
$this->assertTrue(Filesystem::pathExists($repo->getLocalPath().'/.hg'));
}
public function testSVNPullBasic() {
$repo = $this->buildPulledRepository('ST');
// We don't pull local clones for SVN, so we don't expect there to be
// a working copy.
$this->assertFalse(Filesystem::pathExists($repo->getLocalPath()));
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Feb 24, 7:21 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
842902
Default Alt Text
PhabricatorWorkingCopyPullTestCase.php (701 B)

Event Timeline