Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98105682
PhabricatorTrivialTestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jan 9, 20:33
Size
489 B
Mime Type
text/x-php
Expires
Sat, Jan 11, 20:33 (2 d)
Engine
blob
Format
Raw Data
Handle
23506528
Attached To
rPH Phabricator
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
;
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'
);
}
}
Event Timeline
Log In to Comment