Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8888165
PhabricatorTrivialTestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
492 B
Subscribers
None
PhabricatorTrivialTestCase.php
View Options
<?php
/**
* Trivial example test case.
*/
final
class
PhabricatorTrivialTestCase
extends
PhabricatorTestCase
{
// NOTE: Update developer/unit_tests.diviner when updating this class!
private
$two
;
protected
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
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jun 10, 5:02 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
3385896
Default Alt Text
PhabricatorTrivialTestCase.php (492 B)
Attached To
rP Phabricator
Event Timeline
Log In to Comment