Page MenuHomestyx hydra

PhabricatorTrivialTestCase.php
No OneTemporary

PhabricatorTrivialTestCase.php

<?php
/**
* Trivial example test case.
*/
final class PhabricatorTrivialTestCase extends PhabricatorTestCase {
// NOTE: Update developer/unit_tests.diviner when updating this class!
private $two;
public function willRunOneTest($test_name) {
// You can execute setup steps which will run before each test in this
// method.
$this->two = 2;
}
public function testAllIsRightWithTheWorld() {
$this->assertEqual(4, $this->two + $this->two, '2 + 2 = 4');
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Apr 7, 8:39 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1160879
Default Alt Text
PhabricatorTrivialTestCase.php (489 B)

Event Timeline