Indefero

Indefero Commit Details


Date:2011-04-01 04:17:21 (13 years 8 months ago)
Author:Thomas Keller
Branch:develop, feature-issue_links, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:4976c20935c19f4664a466b95ef28b9c332eb911
Parents: 5553c37ccd87c9b51a5fef28bde88c75cdd12057
Message:Its validateRevision, not isValidRevision, here as well

Changes:

File differences

src/IDF/Tests/TestMonotone.php
231231
232232
233233
234
234
235235
236
237
236
237
238238
239239
$this->assertEqual("second\n", $files[0]->log);
}
public function testIsValidRevision()
public function testvalidateRevision()
{
$this->assertTrue($this->mtnInstance->isValidRevision("t:release-1.0"));
$this->assertFalse($this->mtnInstance->isValidRevision("abcdef12345"));
$this->assertEquals(IDF_Scm::REVISION_VALID, $this->mtnInstance->validateRevision("t:release-1.0"));
$this->assertEquals(IDF_Scm::REVISION_INVALID, $this->mtnInstance->validateRevision("abcdef12345"));
}
}

Archive Download the corresponding diff file

Page rendered in 0.07431s using 13 queries.