Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15489570
D13577.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13577.id.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -947,6 +947,7 @@
'HeraldEffect' => 'applications/herald/engine/HeraldEffect.php',
'HeraldEngine' => 'applications/herald/engine/HeraldEngine.php',
'HeraldField' => 'applications/herald/field/HeraldField.php',
+ 'HeraldFieldTestCase' => 'applications/herald/field/__tests__/HeraldFieldTestCase.php',
'HeraldInvalidActionException' => 'applications/herald/engine/exception/HeraldInvalidActionException.php',
'HeraldInvalidConditionException' => 'applications/herald/engine/exception/HeraldInvalidConditionException.php',
'HeraldManageGlobalRulesCapability' => 'applications/herald/capability/HeraldManageGlobalRulesCapability.php',
@@ -4468,6 +4469,7 @@
'HeraldEffect' => 'Phobject',
'HeraldEngine' => 'Phobject',
'HeraldField' => 'Phobject',
+ 'HeraldFieldTestCase' => 'PhutilTestCase',
'HeraldInvalidActionException' => 'Exception',
'HeraldInvalidConditionException' => 'Exception',
'HeraldManageGlobalRulesCapability' => 'PhabricatorPolicyCapability',
diff --git a/src/applications/herald/field/__tests__/HeraldFieldTestCase.php b/src/applications/herald/field/__tests__/HeraldFieldTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/herald/field/__tests__/HeraldFieldTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class HeraldFieldTestCase extends PhutilTestCase {
+
+ public function testGetAllFields() {
+ HeraldField::getAllFields();
+ $this->assertTrue(true);
+ }
+
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 12, 10:18 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7703465
Default Alt Text
D13577.id.diff (1 KB)
Attached To
Mode
D13577: Add a trivial test case for HeraldField
Attached
Detach File
Event Timeline
Log In to Comment