[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Trivial example test case. 5 */ 6 final class PhabricatorTrivialTestCase extends PhabricatorTestCase { 7 8 // NOTE: Update developer/unit_tests.diviner when updating this class! 9 10 private $two; 11 12 public function willRunOneTest($test_name) { 13 // You can execute setup steps which will run before each test in this 14 // method. 15 $this->two = 2; 16 } 17 18 public function testAllIsRightWithTheWorld() { 19 $this->assertEqual(4, $this->two + $this->two, '2 + 2 = 4'); 20 } 21 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |