Page MenuHomePhabricator

D13272.id32151.diff
No OneTemporary

D13272.id32151.diff

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
@@ -92,6 +92,7 @@
'AlmanacServiceTransaction' => 'applications/almanac/storage/AlmanacServiceTransaction.php',
'AlmanacServiceTransactionQuery' => 'applications/almanac/query/AlmanacServiceTransactionQuery.php',
'AlmanacServiceType' => 'applications/almanac/servicetype/AlmanacServiceType.php',
+ 'AlmanacServiceTypeTestCase' => 'applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php',
'AlmanacServiceViewController' => 'applications/almanac/controller/AlmanacServiceViewController.php',
'AphlictDropdownDataQuery' => 'applications/aphlict/query/AphlictDropdownDataQuery.php',
'Aphront304Response' => 'aphront/response/Aphront304Response.php',
@@ -184,6 +185,7 @@
'CelerityPhabricatorResourceController' => 'applications/celerity/controller/CelerityPhabricatorResourceController.php',
'CelerityPhabricatorResources' => 'applications/celerity/resources/CelerityPhabricatorResources.php',
'CelerityPhysicalResources' => 'applications/celerity/resources/CelerityPhysicalResources.php',
+ 'CelerityPhysicalResourcesTestCase' => 'applications/celerity/resources/__tests__/CelerityPhysicalResourcesTestCase.php',
'CelerityResourceController' => 'applications/celerity/controller/CelerityResourceController.php',
'CelerityResourceGraph' => 'applications/celerity/CelerityResourceGraph.php',
'CelerityResourceMap' => 'applications/celerity/CelerityResourceMap.php',
@@ -198,6 +200,7 @@
'ChatLogQueryConduitAPIMethod' => 'applications/chatlog/conduit/ChatLogQueryConduitAPIMethod.php',
'ChatLogRecordConduitAPIMethod' => 'applications/chatlog/conduit/ChatLogRecordConduitAPIMethod.php',
'ConduitAPIMethod' => 'applications/conduit/method/ConduitAPIMethod.php',
+ 'ConduitAPIMethodTestCase' => 'applications/conduit/method/__tests__/ConduitAPIMethodTestCase.php',
'ConduitAPIRequest' => 'applications/conduit/protocol/ConduitAPIRequest.php',
'ConduitAPIResponse' => 'applications/conduit/protocol/ConduitAPIResponse.php',
'ConduitApplicationNotInstalledException' => 'applications/conduit/protocol/exception/ConduitApplicationNotInstalledException.php',
@@ -702,6 +705,7 @@
'DrydockBlueprintEditController' => 'applications/drydock/controller/DrydockBlueprintEditController.php',
'DrydockBlueprintEditor' => 'applications/drydock/editor/DrydockBlueprintEditor.php',
'DrydockBlueprintImplementation' => 'applications/drydock/blueprint/DrydockBlueprintImplementation.php',
+ 'DrydockBlueprintImplementationTestCase' => 'applications/drydock/blueprint/__tests__/DrydockBlueprintImplementationTestCase.php',
'DrydockBlueprintListController' => 'applications/drydock/controller/DrydockBlueprintListController.php',
'DrydockBlueprintPHIDType' => 'applications/drydock/phid/DrydockBlueprintPHIDType.php',
'DrydockBlueprintQuery' => 'applications/drydock/query/DrydockBlueprintQuery.php',
@@ -844,6 +848,7 @@
'HarbormasterBuildStepCustomField' => 'applications/harbormaster/customfield/HarbormasterBuildStepCustomField.php',
'HarbormasterBuildStepEditor' => 'applications/harbormaster/editor/HarbormasterBuildStepEditor.php',
'HarbormasterBuildStepImplementation' => 'applications/harbormaster/step/HarbormasterBuildStepImplementation.php',
+ 'HarbormasterBuildStepImplementationTestCase' => 'applications/harbormaster/step/__tests__/HarbormasterBuildStepImplementationTestCase.php',
'HarbormasterBuildStepPHIDType' => 'applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php',
'HarbormasterBuildStepQuery' => 'applications/harbormaster/query/HarbormasterBuildStepQuery.php',
'HarbormasterBuildStepTransaction' => 'applications/harbormaster/storage/configuration/HarbormasterBuildStepTransaction.php',
@@ -1034,6 +1039,7 @@
'ManiphestEmailCommand' => 'applications/maniphest/command/ManiphestEmailCommand.php',
'ManiphestExcelDefaultFormat' => 'applications/maniphest/export/ManiphestExcelDefaultFormat.php',
'ManiphestExcelFormat' => 'applications/maniphest/export/ManiphestExcelFormat.php',
+ 'ManiphestExcelFormatTestCase' => 'applications/maniphest/export/__tests__/ManiphestExcelFormatTestCase.php',
'ManiphestExportController' => 'applications/maniphest/controller/ManiphestExportController.php',
'ManiphestGetTaskTransactionsConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestGetTaskTransactionsConduitAPIMethod.php',
'ManiphestHovercardEventListener' => 'applications/maniphest/event/ManiphestHovercardEventListener.php',
@@ -1086,6 +1092,7 @@
'ManiphestView' => 'applications/maniphest/view/ManiphestView.php',
'MetaMTAConstants' => 'applications/metamta/constants/MetaMTAConstants.php',
'MetaMTAEmailTransactionCommand' => 'applications/metamta/command/MetaMTAEmailTransactionCommand.php',
+ 'MetaMTAEmailTransactionCommandTestCase' => 'applications/metamta/command/__tests__/MetaMTAEmailTransactionCommandTestCase.php',
'MetaMTAMailReceivedGarbageCollector' => 'applications/metamta/garbagecollector/MetaMTAMailReceivedGarbageCollector.php',
'MetaMTAMailSentGarbageCollector' => 'applications/metamta/garbagecollector/MetaMTAMailSentGarbageCollector.php',
'MetaMTAReceivedMailStatus' => 'applications/metamta/constants/MetaMTAReceivedMailStatus.php',
@@ -1144,6 +1151,7 @@
'NuanceSourceDefaultEditCapability' => 'applications/nuance/capability/NuanceSourceDefaultEditCapability.php',
'NuanceSourceDefaultViewCapability' => 'applications/nuance/capability/NuanceSourceDefaultViewCapability.php',
'NuanceSourceDefinition' => 'applications/nuance/source/NuanceSourceDefinition.php',
+ 'NuanceSourceDefinitionTestCase' => 'applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php',
'NuanceSourceEditController' => 'applications/nuance/controller/NuanceSourceEditController.php',
'NuanceSourceEditor' => 'applications/nuance/editor/NuanceSourceEditor.php',
'NuanceSourceListController' => 'applications/nuance/controller/NuanceSourceListController.php',
@@ -1260,6 +1268,7 @@
'PassphraseCredentialTransactionEditor' => 'applications/passphrase/editor/PassphraseCredentialTransactionEditor.php',
'PassphraseCredentialTransactionQuery' => 'applications/passphrase/query/PassphraseCredentialTransactionQuery.php',
'PassphraseCredentialType' => 'applications/passphrase/credentialtype/PassphraseCredentialType.php',
+ 'PassphraseCredentialTypeTestCase' => 'applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php',
'PassphraseCredentialViewController' => 'applications/passphrase/controller/PassphraseCredentialViewController.php',
'PassphraseDAO' => 'applications/passphrase/storage/PassphraseDAO.php',
'PassphrasePasswordCredentialType' => 'applications/passphrase/credentialtype/PassphrasePasswordCredentialType.php',
@@ -1314,6 +1323,7 @@
'PhabricatorApplicationApplicationPHIDType' => 'applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php',
'PhabricatorApplicationConfigOptions' => 'applications/config/option/PhabricatorApplicationConfigOptions.php',
'PhabricatorApplicationConfigurationPanel' => 'applications/meta/panel/PhabricatorApplicationConfigurationPanel.php',
+ 'PhabricatorApplicationConfigurationPanelTestCase' => 'applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php',
'PhabricatorApplicationDatasource' => 'applications/meta/typeahead/PhabricatorApplicationDatasource.php',
'PhabricatorApplicationDetailViewController' => 'applications/meta/controller/PhabricatorApplicationDetailViewController.php',
'PhabricatorApplicationEditController' => 'applications/meta/controller/PhabricatorApplicationEditController.php',
@@ -1323,8 +1333,10 @@
'PhabricatorApplicationQuery' => 'applications/meta/query/PhabricatorApplicationQuery.php',
'PhabricatorApplicationSearchController' => 'applications/search/controller/PhabricatorApplicationSearchController.php',
'PhabricatorApplicationSearchEngine' => 'applications/search/engine/PhabricatorApplicationSearchEngine.php',
+ 'PhabricatorApplicationSearchEngineTestCase' => 'applications/search/engine/__tests__/PhabricatorApplicationSearchEngineTestCase.php',
'PhabricatorApplicationSearchResultsControllerInterface' => 'applications/search/interface/PhabricatorApplicationSearchResultsControllerInterface.php',
'PhabricatorApplicationStatusView' => 'applications/meta/view/PhabricatorApplicationStatusView.php',
+ 'PhabricatorApplicationTestCase' => 'applications/base/__tests__/PhabricatorApplicationTestCase.php',
'PhabricatorApplicationTransaction' => 'applications/transactions/storage/PhabricatorApplicationTransaction.php',
'PhabricatorApplicationTransactionComment' => 'applications/transactions/storage/PhabricatorApplicationTransactionComment.php',
'PhabricatorApplicationTransactionCommentEditController' => 'applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php',
@@ -1397,6 +1409,7 @@
'PhabricatorAuthEditController' => 'applications/auth/controller/config/PhabricatorAuthEditController.php',
'PhabricatorAuthFactor' => 'applications/auth/factor/PhabricatorAuthFactor.php',
'PhabricatorAuthFactorConfig' => 'applications/auth/storage/PhabricatorAuthFactorConfig.php',
+ 'PhabricatorAuthFactorTestCase' => 'applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php',
'PhabricatorAuthFinishController' => 'applications/auth/controller/PhabricatorAuthFinishController.php',
'PhabricatorAuthHighSecurityRequiredException' => 'applications/auth/exception/PhabricatorAuthHighSecurityRequiredException.php',
'PhabricatorAuthHighSecurityToken' => 'applications/auth/data/PhabricatorAuthHighSecurityToken.php',
@@ -1786,6 +1799,7 @@
'PhabricatorEdgeQuery' => 'infrastructure/edges/query/PhabricatorEdgeQuery.php',
'PhabricatorEdgeTestCase' => 'infrastructure/edges/__tests__/PhabricatorEdgeTestCase.php',
'PhabricatorEdgeType' => 'infrastructure/edges/type/PhabricatorEdgeType.php',
+ 'PhabricatorEdgeTypeTestCase' => 'infrastructure/edges/type/__tests__/PhabricatorEdgeTypeTestCase.php',
'PhabricatorEditor' => 'infrastructure/PhabricatorEditor.php',
'PhabricatorElasticSearchEngine' => 'applications/search/engine/PhabricatorElasticSearchEngine.php',
'PhabricatorElasticSearchSetupCheck' => 'applications/config/check/PhabricatorElasticSearchSetupCheck.php',
@@ -1821,6 +1835,7 @@
'PhabricatorFactDAO' => 'applications/fact/storage/PhabricatorFactDAO.php',
'PhabricatorFactDaemon' => 'applications/fact/daemon/PhabricatorFactDaemon.php',
'PhabricatorFactEngine' => 'applications/fact/engine/PhabricatorFactEngine.php',
+ 'PhabricatorFactEngineTestCase' => 'applications/fact/engine/__tests__/PhabricatorFactEngineTestCase.php',
'PhabricatorFactHomeController' => 'applications/fact/controller/PhabricatorFactHomeController.php',
'PhabricatorFactLastUpdatedEngine' => 'applications/fact/engine/PhabricatorFactLastUpdatedEngine.php',
'PhabricatorFactManagementAnalyzeWorkflow' => 'applications/fact/management/PhabricatorFactManagementAnalyzeWorkflow.php',
@@ -1878,6 +1893,7 @@
'PhabricatorFileStorageBlob' => 'applications/files/storage/PhabricatorFileStorageBlob.php',
'PhabricatorFileStorageConfigurationException' => 'applications/files/exception/PhabricatorFileStorageConfigurationException.php',
'PhabricatorFileStorageEngine' => 'applications/files/engine/PhabricatorFileStorageEngine.php',
+ 'PhabricatorFileStorageEngineTestCase' => 'applications/files/engine/__tests__/PhabricatorFileStorageEngineTestCase.php',
'PhabricatorFileTemporaryGarbageCollector' => 'applications/files/garbagecollector/PhabricatorFileTemporaryGarbageCollector.php',
'PhabricatorFileTestCase' => 'applications/files/storage/__tests__/PhabricatorFileTestCase.php',
'PhabricatorFileTestDataGenerator' => 'applications/files/lipsum/PhabricatorFileTestDataGenerator.php',
@@ -1888,6 +1904,7 @@
'PhabricatorFileTransform' => 'applications/files/transform/PhabricatorFileTransform.php',
'PhabricatorFileTransformController' => 'applications/files/controller/PhabricatorFileTransformController.php',
'PhabricatorFileTransformListController' => 'applications/files/controller/PhabricatorFileTransformListController.php',
+ 'PhabricatorFileTransformTestCase' => 'applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php',
'PhabricatorFileUploadController' => 'applications/files/controller/PhabricatorFileUploadController.php',
'PhabricatorFileUploadDialogController' => 'applications/files/controller/PhabricatorFileUploadDialogController.php',
'PhabricatorFileUploadException' => 'applications/files/exception/PhabricatorFileUploadException.php',
@@ -1965,6 +1982,7 @@
'PhabricatorInternationalizationManagementWorkflow' => 'infrastructure/internationalization/management/PhabricatorInternationalizationManagementWorkflow.php',
'PhabricatorInvalidConfigSetupCheck' => 'applications/config/check/PhabricatorInvalidConfigSetupCheck.php',
'PhabricatorIteratedMD5PasswordHasher' => 'infrastructure/util/password/PhabricatorIteratedMD5PasswordHasher.php',
+ 'PhabricatorIteratedMD5PasswordHasherTestCase' => 'infrastructure/util/password/__tests__/PhabricatorIteratedMD5PasswordHasherTestCase.php',
'PhabricatorJIRAAuthProvider' => 'applications/auth/provider/PhabricatorJIRAAuthProvider.php',
'PhabricatorJavelinLinter' => 'infrastructure/lint/linter/PhabricatorJavelinLinter.php',
'PhabricatorJiraIssueHasObjectEdgeType' => 'applications/doorkeeper/edge/PhabricatorJiraIssueHasObjectEdgeType.php',
@@ -2190,6 +2208,7 @@
'PhabricatorPHIDConstants' => 'applications/phid/PhabricatorPHIDConstants.php',
'PhabricatorPHIDInterface' => 'applications/phid/interface/PhabricatorPHIDInterface.php',
'PhabricatorPHIDType' => 'applications/phid/type/PhabricatorPHIDType.php',
+ 'PhabricatorPHIDTypeTestCase' => 'applications/phid/type/__tests__/PhabricatorPHIDTypeTestCase.php',
'PhabricatorPHPASTApplication' => 'applications/phpast/application/PhabricatorPHPASTApplication.php',
'PhabricatorPHPConfigSetupCheck' => 'applications/config/check/PhabricatorPHPConfigSetupCheck.php',
'PhabricatorPHPMailerConfigOptions' => 'applications/config/option/PhabricatorPHPMailerConfigOptions.php',
@@ -2283,6 +2302,7 @@
'PhabricatorPolicyCanJoinCapability' => 'applications/policy/capability/PhabricatorPolicyCanJoinCapability.php',
'PhabricatorPolicyCanViewCapability' => 'applications/policy/capability/PhabricatorPolicyCanViewCapability.php',
'PhabricatorPolicyCapability' => 'applications/policy/capability/PhabricatorPolicyCapability.php',
+ 'PhabricatorPolicyCapabilityTestCase' => 'applications/policy/capability/__tests__/PhabricatorPolicyCapabilityTestCase.php',
'PhabricatorPolicyConfigOptions' => 'applications/policy/config/PhabricatorPolicyConfigOptions.php',
'PhabricatorPolicyConstants' => 'applications/policy/constants/PhabricatorPolicyConstants.php',
'PhabricatorPolicyController' => 'applications/policy/controller/PhabricatorPolicyController.php',
@@ -2520,6 +2540,7 @@
'PhabricatorSearchDocumentTypeDatasource' => 'applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php',
'PhabricatorSearchEditController' => 'applications/search/controller/PhabricatorSearchEditController.php',
'PhabricatorSearchEngine' => 'applications/search/engine/PhabricatorSearchEngine.php',
+ 'PhabricatorSearchEngineTestCase' => 'applications/search/engine/__tests__/PhabricatorSearchEngineTestCase.php',
'PhabricatorSearchField' => 'applications/search/field/PhabricatorSearchField.php',
'PhabricatorSearchHovercardController' => 'applications/search/controller/PhabricatorSearchHovercardController.php',
'PhabricatorSearchIndexer' => 'applications/search/index/PhabricatorSearchIndexer.php',
@@ -2553,6 +2574,7 @@
'PhabricatorSettingsMainController' => 'applications/settings/controller/PhabricatorSettingsMainController.php',
'PhabricatorSettingsPanel' => 'applications/settings/panel/PhabricatorSettingsPanel.php',
'PhabricatorSetupCheck' => 'applications/config/check/PhabricatorSetupCheck.php',
+ 'PhabricatorSetupCheckTestCase' => 'applications/config/check/__tests__/PhabricatorSetupCheckTestCase.php',
'PhabricatorSetupIssue' => 'applications/config/issue/PhabricatorSetupIssue.php',
'PhabricatorSetupIssueUIExample' => 'applications/uiexample/examples/PhabricatorSetupIssueUIExample.php',
'PhabricatorSetupIssueView' => 'applications/config/view/PhabricatorSetupIssueView.php',
@@ -2970,6 +2992,7 @@
'PhortunePaymentProviderConfigTransaction' => 'applications/phortune/storage/PhortunePaymentProviderConfigTransaction.php',
'PhortunePaymentProviderConfigTransactionQuery' => 'applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php',
'PhortunePaymentProviderPHIDType' => 'applications/phortune/phid/PhortunePaymentProviderPHIDType.php',
+ 'PhortunePaymentProviderTestCase' => 'applications/phortune/provider/__tests__/PhortunePaymentProviderTestCase.php',
'PhortuneProduct' => 'applications/phortune/storage/PhortuneProduct.php',
'PhortuneProductImplementation' => 'applications/phortune/product/PhortuneProductImplementation.php',
'PhortuneProductListController' => 'applications/phortune/controller/PhortuneProductListController.php',
@@ -3386,6 +3409,7 @@
'AlmanacServiceTransaction' => 'PhabricatorApplicationTransaction',
'AlmanacServiceTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'AlmanacServiceType' => 'Phobject',
+ 'AlmanacServiceTypeTestCase' => 'PhabricatorTestCase',
'AlmanacServiceViewController' => 'AlmanacServiceController',
'AphlictDropdownDataQuery' => 'Phobject',
'Aphront304Response' => 'AphrontResponse',
@@ -3481,6 +3505,7 @@
'CelerityPhabricatorResourceController' => 'CelerityResourceController',
'CelerityPhabricatorResources' => 'CelerityResourcesOnDisk',
'CelerityPhysicalResources' => 'CelerityResources',
+ 'CelerityPhysicalResourcesTestCase' => 'PhabricatorTestCase',
'CelerityResourceController' => 'PhabricatorController',
'CelerityResourceGraph' => 'AbstractDirectedGraph',
'CelerityResourceMap' => 'Phobject',
@@ -3498,6 +3523,7 @@
'Phobject',
'PhabricatorPolicyInterface',
),
+ 'ConduitAPIMethodTestCase' => 'PhabricatorTestCase',
'ConduitAPIRequest' => 'Phobject',
'ConduitAPIResponse' => 'Phobject',
'ConduitApplicationNotInstalledException' => 'ConduitMethodNotFoundException',
@@ -4059,6 +4085,7 @@
'DrydockBlueprintEditController' => 'DrydockBlueprintController',
'DrydockBlueprintEditor' => 'PhabricatorApplicationTransactionEditor',
'DrydockBlueprintImplementation' => 'Phobject',
+ 'DrydockBlueprintImplementationTestCase' => 'PhabricatorTestCase',
'DrydockBlueprintListController' => 'DrydockBlueprintController',
'DrydockBlueprintPHIDType' => 'PhabricatorPHIDType',
'DrydockBlueprintQuery' => 'DrydockQuery',
@@ -4250,6 +4277,7 @@
'HarbormasterBuildStepCustomField' => 'PhabricatorCustomField',
'HarbormasterBuildStepEditor' => 'PhabricatorApplicationTransactionEditor',
'HarbormasterBuildStepImplementation' => 'Phobject',
+ 'HarbormasterBuildStepImplementationTestCase' => 'PhabricatorTestCase',
'HarbormasterBuildStepPHIDType' => 'PhabricatorPHIDType',
'HarbormasterBuildStepQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'HarbormasterBuildStepTransaction' => 'PhabricatorApplicationTransaction',
@@ -4472,6 +4500,7 @@
'ManiphestEmailCommand' => 'MetaMTAEmailTransactionCommand',
'ManiphestExcelDefaultFormat' => 'ManiphestExcelFormat',
'ManiphestExcelFormat' => 'Phobject',
+ 'ManiphestExcelFormatTestCase' => 'PhabricatorTestCase',
'ManiphestExportController' => 'ManiphestController',
'ManiphestGetTaskTransactionsConduitAPIMethod' => 'ManiphestConduitAPIMethod',
'ManiphestHovercardEventListener' => 'PhabricatorEventListener',
@@ -4538,6 +4567,7 @@
'ManiphestView' => 'AphrontView',
'MetaMTAConstants' => 'Phobject',
'MetaMTAEmailTransactionCommand' => 'Phobject',
+ 'MetaMTAEmailTransactionCommandTestCase' => 'PhabricatorTestCase',
'MetaMTAMailReceivedGarbageCollector' => 'PhabricatorGarbageCollector',
'MetaMTAMailSentGarbageCollector' => 'PhabricatorGarbageCollector',
'MetaMTAReceivedMailStatus' => 'MetaMTAConstants',
@@ -4611,6 +4641,7 @@
'NuanceSourceDefaultEditCapability' => 'PhabricatorPolicyCapability',
'NuanceSourceDefaultViewCapability' => 'PhabricatorPolicyCapability',
'NuanceSourceDefinition' => 'Phobject',
+ 'NuanceSourceDefinitionTestCase' => 'PhabricatorTestCase',
'NuanceSourceEditController' => 'NuanceController',
'NuanceSourceEditor' => 'PhabricatorApplicationTransactionEditor',
'NuanceSourceListController' => 'NuanceController',
@@ -4732,6 +4763,7 @@
'PassphraseCredentialTransactionEditor' => 'PhabricatorApplicationTransactionEditor',
'PassphraseCredentialTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PassphraseCredentialType' => 'Phobject',
+ 'PassphraseCredentialTypeTestCase' => 'PhabricatorTestCase',
'PassphraseCredentialViewController' => 'PassphraseController',
'PassphraseDAO' => 'PhabricatorLiskDAO',
'PassphrasePasswordCredentialType' => 'PassphraseCredentialType',
@@ -4789,6 +4821,7 @@
'PhabricatorApplicationApplicationPHIDType' => 'PhabricatorPHIDType',
'PhabricatorApplicationConfigOptions' => 'Phobject',
'PhabricatorApplicationConfigurationPanel' => 'Phobject',
+ 'PhabricatorApplicationConfigurationPanelTestCase' => 'PhabricatorTestCase',
'PhabricatorApplicationDatasource' => 'PhabricatorTypeaheadDatasource',
'PhabricatorApplicationDetailViewController' => 'PhabricatorApplicationsController',
'PhabricatorApplicationEditController' => 'PhabricatorApplicationsController',
@@ -4798,7 +4831,9 @@
'PhabricatorApplicationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorApplicationSearchController' => 'PhabricatorSearchBaseController',
'PhabricatorApplicationSearchEngine' => 'Phobject',
+ 'PhabricatorApplicationSearchEngineTestCase' => 'PhabricatorTestCase',
'PhabricatorApplicationStatusView' => 'AphrontView',
+ 'PhabricatorApplicationTestCase' => 'PhabricatorTestCase',
'PhabricatorApplicationTransaction' => array(
'PhabricatorLiskDAO',
'PhabricatorPolicyInterface',
@@ -4882,6 +4917,7 @@
'PhabricatorAuthEditController' => 'PhabricatorAuthProviderConfigController',
'PhabricatorAuthFactor' => 'Phobject',
'PhabricatorAuthFactorConfig' => 'PhabricatorAuthDAO',
+ 'PhabricatorAuthFactorTestCase' => 'PhabricatorTestCase',
'PhabricatorAuthFinishController' => 'PhabricatorAuthController',
'PhabricatorAuthHighSecurityRequiredException' => 'Exception',
'PhabricatorAuthHighSecurityToken' => 'Phobject',
@@ -5337,6 +5373,7 @@
'PhabricatorEdgeQuery' => 'PhabricatorQuery',
'PhabricatorEdgeTestCase' => 'PhabricatorTestCase',
'PhabricatorEdgeType' => 'Phobject',
+ 'PhabricatorEdgeTypeTestCase' => 'PhabricatorTestCase',
'PhabricatorEditor' => 'Phobject',
'PhabricatorElasticSearchEngine' => 'PhabricatorSearchEngine',
'PhabricatorElasticSearchSetupCheck' => 'PhabricatorSetupCheck',
@@ -5374,6 +5411,7 @@
'PhabricatorFactDAO' => 'PhabricatorLiskDAO',
'PhabricatorFactDaemon' => 'PhabricatorDaemon',
'PhabricatorFactEngine' => 'Phobject',
+ 'PhabricatorFactEngineTestCase' => 'PhabricatorTestCase',
'PhabricatorFactHomeController' => 'PhabricatorFactController',
'PhabricatorFactLastUpdatedEngine' => 'PhabricatorFactEngine',
'PhabricatorFactManagementAnalyzeWorkflow' => 'PhabricatorFactManagementWorkflow',
@@ -5456,6 +5494,7 @@
'PhabricatorFileStorageBlob' => 'PhabricatorFileDAO',
'PhabricatorFileStorageConfigurationException' => 'Exception',
'PhabricatorFileStorageEngine' => 'Phobject',
+ 'PhabricatorFileStorageEngineTestCase' => 'PhabricatorTestCase',
'PhabricatorFileTemporaryGarbageCollector' => 'PhabricatorGarbageCollector',
'PhabricatorFileTestCase' => 'PhabricatorTestCase',
'PhabricatorFileTestDataGenerator' => 'PhabricatorTestDataGenerator',
@@ -5466,6 +5505,7 @@
'PhabricatorFileTransform' => 'Phobject',
'PhabricatorFileTransformController' => 'PhabricatorFileController',
'PhabricatorFileTransformListController' => 'PhabricatorFileController',
+ 'PhabricatorFileTransformTestCase' => 'PhabricatorTestCase',
'PhabricatorFileUploadController' => 'PhabricatorFileController',
'PhabricatorFileUploadDialogController' => 'PhabricatorFileController',
'PhabricatorFileUploadException' => 'Exception',
@@ -5551,6 +5591,7 @@
'PhabricatorInternationalizationManagementWorkflow' => 'PhabricatorManagementWorkflow',
'PhabricatorInvalidConfigSetupCheck' => 'PhabricatorSetupCheck',
'PhabricatorIteratedMD5PasswordHasher' => 'PhabricatorPasswordHasher',
+ 'PhabricatorIteratedMD5PasswordHasherTestCase' => 'PhabricatorTestCase',
'PhabricatorJIRAAuthProvider' => 'PhabricatorOAuth1AuthProvider',
'PhabricatorJavelinLinter' => 'ArcanistLinter',
'PhabricatorJiraIssueHasObjectEdgeType' => 'PhabricatorEdgeType',
@@ -5799,6 +5840,7 @@
'PhabricatorPHID' => 'Phobject',
'PhabricatorPHIDConstants' => 'Phobject',
'PhabricatorPHIDType' => 'Phobject',
+ 'PhabricatorPHIDTypeTestCase' => 'PhutilTestCase',
'PhabricatorPHPASTApplication' => 'PhabricatorApplication',
'PhabricatorPHPConfigSetupCheck' => 'PhabricatorSetupCheck',
'PhabricatorPHPMailerConfigOptions' => 'PhabricatorApplicationConfigOptions',
@@ -5907,6 +5949,7 @@
'PhabricatorPolicyCanJoinCapability' => 'PhabricatorPolicyCapability',
'PhabricatorPolicyCanViewCapability' => 'PhabricatorPolicyCapability',
'PhabricatorPolicyCapability' => 'Phobject',
+ 'PhabricatorPolicyCapabilityTestCase' => 'PhabricatorTestCase',
'PhabricatorPolicyConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPolicyConstants' => 'Phobject',
'PhabricatorPolicyController' => 'PhabricatorController',
@@ -6212,6 +6255,7 @@
'PhabricatorSearchDocumentTypeDatasource' => 'PhabricatorTypeaheadDatasource',
'PhabricatorSearchEditController' => 'PhabricatorSearchBaseController',
'PhabricatorSearchEngine' => 'Phobject',
+ 'PhabricatorSearchEngineTestCase' => 'PhabricatorTestCase',
'PhabricatorSearchField' => 'Phobject',
'PhabricatorSearchHovercardController' => 'PhabricatorSearchBaseController',
'PhabricatorSearchIndexer' => 'Phobject',
@@ -6245,6 +6289,7 @@
'PhabricatorSettingsMainController' => 'PhabricatorController',
'PhabricatorSettingsPanel' => 'Phobject',
'PhabricatorSetupCheck' => 'Phobject',
+ 'PhabricatorSetupCheckTestCase' => 'PhabricatorTestCase',
'PhabricatorSetupIssue' => 'Phobject',
'PhabricatorSetupIssueUIExample' => 'PhabricatorUIExample',
'PhabricatorSetupIssueView' => 'AphrontView',
@@ -6749,6 +6794,7 @@
'PhortunePaymentProviderConfigTransaction' => 'PhabricatorApplicationTransaction',
'PhortunePaymentProviderConfigTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhortunePaymentProviderPHIDType' => 'PhabricatorPHIDType',
+ 'PhortunePaymentProviderTestCase' => 'PhabricatorTestCase',
'PhortuneProduct' => array(
'PhortuneDAO',
'PhabricatorPolicyInterface',
diff --git a/src/applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php b/src/applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class AlmanacServiceTypeTestCase extends PhabricatorTestCase {
+
+ public function testGetAllServiceTypes() {
+ AlmanacServiceType::getAllServiceTypes();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php b/src/applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorAuthFactorTestCase extends PhabricatorTestCase {
+
+ public function testGetAllFactors() {
+ PhabricatorAuthFactor::getAllFactors();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/base/__tests__/PhabricatorApplicationTestCase.php b/src/applications/base/__tests__/PhabricatorApplicationTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/base/__tests__/PhabricatorApplicationTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorApplicationTestCase extends PhabricatorTestCase {
+
+ public function testGetAllApplications() {
+ PhabricatorApplication::getAllApplications();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/celerity/resources/CelerityPhysicalResources.php b/src/applications/celerity/resources/CelerityPhysicalResources.php
--- a/src/applications/celerity/resources/CelerityPhysicalResources.php
+++ b/src/applications/celerity/resources/CelerityPhysicalResources.php
@@ -21,6 +21,7 @@
public static function getAll() {
static $resources_map;
+
if ($resources_map === null) {
$resources_map = array();
diff --git a/src/applications/celerity/resources/__tests__/CelerityPhysicalResourcesTestCase.php b/src/applications/celerity/resources/__tests__/CelerityPhysicalResourcesTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/celerity/resources/__tests__/CelerityPhysicalResourcesTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class CelerityPhysicalResourcesTestCase extends PhabricatorTestCase {
+
+ public function testGetAll() {
+ CelerityPhysicalResources::getAll();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/conduit/method/ConduitAPIMethod.php b/src/applications/conduit/method/ConduitAPIMethod.php
--- a/src/applications/conduit/method/ConduitAPIMethod.php
+++ b/src/applications/conduit/method/ConduitAPIMethod.php
@@ -115,7 +115,7 @@
return head(explode('.', $this->getAPIMethodName(), 2));
}
- public static function getConduitMethod($method_name) {
+ public static function loadAllConduitMethods() {
static $method_map = null;
if ($method_map === null) {
@@ -143,6 +143,11 @@
}
}
+ return $method_map;
+ }
+
+ public static function getConduitMethod($method_name) {
+ $method_map = self::loadAllConduitMethods();
return idx($method_map, $method_name);
}
diff --git a/src/applications/conduit/method/__tests__/ConduitAPIMethodTestCase.php b/src/applications/conduit/method/__tests__/ConduitAPIMethodTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/conduit/method/__tests__/ConduitAPIMethodTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class ConduitAPIMethodTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllConduitMethods() {
+ ConduitAPIMethod::loadAllConduitMethods();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/config/check/PhabricatorSetupCheck.php b/src/applications/config/check/PhabricatorSetupCheck.php
--- a/src/applications/config/check/PhabricatorSetupCheck.php
+++ b/src/applications/config/check/PhabricatorSetupCheck.php
@@ -111,7 +111,7 @@
}
}
- final public static function runAllChecks() {
+ final public static function loadAllChecks() {
$symbols = id(new PhutilSymbolLoader())
->setAncestorClass(__CLASS__)
->setConcreteOnly(true)
@@ -122,7 +122,11 @@
$checks[] = newv($symbol['name'], array());
}
- $checks = msort($checks, 'getExecutionOrder');
+ return msort($checks, 'getExecutionOrder');
+ }
+
+ final public static function runAllChecks() {
+ $checks = self::loadAllChecks();
$issues = array();
foreach ($checks as $check) {
diff --git a/src/applications/config/check/__tests__/PhabricatorSetupCheckTestCase.php b/src/applications/config/check/__tests__/PhabricatorSetupCheckTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/config/check/__tests__/PhabricatorSetupCheckTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorSetupCheckTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllChecks() {
+ PhabricatorSetupCheck::loadAllChecks();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/drydock/blueprint/__tests__/DrydockBlueprintImplementationTestCase.php b/src/applications/drydock/blueprint/__tests__/DrydockBlueprintImplementationTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/drydock/blueprint/__tests__/DrydockBlueprintImplementationTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class DrydockBlueprintImplementationTestCase extends PhabricatorTestCase {
+
+ public function testGetAllBlueprintImplementations() {
+ DrydockBlueprintImplementation::getAllBlueprintImplementations();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/fact/engine/__tests__/PhabricatorFactEngineTestCase.php b/src/applications/fact/engine/__tests__/PhabricatorFactEngineTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/fact/engine/__tests__/PhabricatorFactEngineTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorFactEngineTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllEngines() {
+ PhabricatorFactEngine::loadAllEngines();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/files/engine/__tests__/PhabricatorFileStorageEngineTestCase.php b/src/applications/files/engine/__tests__/PhabricatorFileStorageEngineTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/files/engine/__tests__/PhabricatorFileStorageEngineTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorFileStorageEngineTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllEngines() {
+ PhabricatorFileStorageEngine::loadAllEngines();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php b/src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorFileTransformTestCase extends PhabricatorTestCase {
+
+ public function testGetAllTransforms() {
+ PhabricatorFileTransform::getAllTransforms();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/harbormaster/step/__tests__/HarbormasterBuildStepImplementationTestCase.php b/src/applications/harbormaster/step/__tests__/HarbormasterBuildStepImplementationTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/harbormaster/step/__tests__/HarbormasterBuildStepImplementationTestCase.php
@@ -0,0 +1,11 @@
+<?php
+
+final class HarbormasterBuildStepImplementationTestCase
+ extends PhabricatorTestCase {
+
+ public function testGetImplementations() {
+ HarbormasterBuildStepImplementation::getImplementations();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/maniphest/export/__tests__/ManiphestExcelFormatTestCase.php b/src/applications/maniphest/export/__tests__/ManiphestExcelFormatTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/maniphest/export/__tests__/ManiphestExcelFormatTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class ManiphestExcelFormatTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllFormats() {
+ ManiphestExcelFormat::loadAllFormats();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php b/src/applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php
@@ -0,0 +1,11 @@
+<?php
+
+final class PhabricatorApplicationConfigurationPanelTestCase
+ extends PhabricatorTestCase {
+
+ public function testLoadAllPanels() {
+ PhabricatorApplicationConfigurationPanel::loadAllPanels();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/metamta/command/__tests__/MetaMTAEmailTransactionCommandTestCase.php b/src/applications/metamta/command/__tests__/MetaMTAEmailTransactionCommandTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/metamta/command/__tests__/MetaMTAEmailTransactionCommandTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class MetaMTAEmailTransactionCommandTestCase extends PhabricatorTestCase {
+
+ public function testGetAllTypes() {
+ MetaMTAEmailTransactionCommand::getAllCommands();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php b/src/applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class NuanceSourceDefinitionTestCase extends PhabricatorTestCase {
+
+ public function testGetAllTypes() {
+ NuanceSourceDefinition::getAllDefinitions();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php b/src/applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PassphraseCredentialTypeTestCase extends PhabricatorTestCase {
+
+ public function testGetAllTypes() {
+ PassphraseCredentialType::getAllTypes();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/phid/type/PhabricatorPHIDType.php b/src/applications/phid/type/PhabricatorPHIDType.php
--- a/src/applications/phid/type/PhabricatorPHIDType.php
+++ b/src/applications/phid/type/PhabricatorPHIDType.php
@@ -158,7 +158,7 @@
*
* @return dict<string, PhabricatorPHIDType> Map of type constants to types.
*/
- public static function getAllTypes() {
+ final public static function getAllTypes() {
static $types;
if ($types === null) {
$objects = id(new PhutilSymbolLoader())
diff --git a/src/applications/phid/type/__tests__/PhabricatorPHIDTypeTestCase.php b/src/applications/phid/type/__tests__/PhabricatorPHIDTypeTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/phid/type/__tests__/PhabricatorPHIDTypeTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorPHIDTypeTestCase extends PhutilTestCase {
+
+ public function testGetAllTypes() {
+ PhabricatorPHIDType::getAllTypes();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/phortune/provider/__tests__/PhortunePaymentProviderTestCase.php b/src/applications/phortune/provider/__tests__/PhortunePaymentProviderTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/phortune/provider/__tests__/PhortunePaymentProviderTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhortunePaymentProviderTestCase extends PhabricatorTestCase {
+
+ public function testGetAllProviders() {
+ PhortunePaymentProvider::getAllProviders();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/policy/capability/__tests__/PhabricatorPolicyCapabilityTestCase.php b/src/applications/policy/capability/__tests__/PhabricatorPolicyCapabilityTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/policy/capability/__tests__/PhabricatorPolicyCapabilityTestCase.php
@@ -0,0 +1,11 @@
+<?php
+
+final class PhabricatorPolicyCapabilityTestCase
+ extends PhabricatorTestCase {
+
+ public function testGetCapabilityMap() {
+ PhabricatorPolicyCapability::getCapabilityMap();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/search/engine/__tests__/PhabricatorApplicationSearchEngineTestCase.php b/src/applications/search/engine/__tests__/PhabricatorApplicationSearchEngineTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/search/engine/__tests__/PhabricatorApplicationSearchEngineTestCase.php
@@ -0,0 +1,11 @@
+<?php
+
+final class PhabricatorApplicationSearchEngineTestCase
+ extends PhabricatorTestCase {
+
+ public function testGetAllEngines() {
+ PhabricatorApplicationSearchEngine::getAllEngines();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/applications/search/engine/__tests__/PhabricatorSearchEngineTestCase.php b/src/applications/search/engine/__tests__/PhabricatorSearchEngineTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/search/engine/__tests__/PhabricatorSearchEngineTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorSearchEngineTestCase extends PhabricatorTestCase {
+
+ public function testLoadAllEngines() {
+ PhabricatorSearchEngine::loadAllEngines();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/infrastructure/edges/type/__tests__/PhabricatorEdgeTypeTestCase.php b/src/infrastructure/edges/type/__tests__/PhabricatorEdgeTypeTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/infrastructure/edges/type/__tests__/PhabricatorEdgeTypeTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class PhabricatorEdgeTypeTestCase extends PhabricatorTestCase {
+
+ public function testGetAllTypes() {
+ PhabricatorEdgeType::getAllTypes();
+ $this->assertTrue(true);
+ }
+
+}
diff --git a/src/infrastructure/util/password/__tests__/PhabricatorIteratedMD5PasswordHasherTestCase.php b/src/infrastructure/util/password/__tests__/PhabricatorIteratedMD5PasswordHasherTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/infrastructure/util/password/__tests__/PhabricatorIteratedMD5PasswordHasherTestCase.php
@@ -0,0 +1,15 @@
+<?php
+
+final class PhabricatorIteratedMD5PasswordHasherTestCase
+ extends PhabricatorTestCase {
+
+ public function testHasher() {
+ $hasher = new PhabricatorIteratedMD5PasswordHasher();
+
+ $this->assertEqual(
+ 'md5:4824a35493d8b5dceab36f017d68425f',
+ $hasher->getPasswordHashForStorage(
+ new PhutilOpaqueEnvelope('quack'))->openEnvelope());
+ }
+
+}
diff --git a/src/infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php b/src/infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php
--- a/src/infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php
+++ b/src/infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php
@@ -28,13 +28,9 @@
pht('Fictional hasher unavailable.'));
}
- public function testMD5Hasher() {
- $hasher = new PhabricatorIteratedMD5PasswordHasher();
-
- $this->assertEqual(
- 'md5:4824a35493d8b5dceab36f017d68425f',
- $hasher->getPasswordHashForStorage(
- new PhutilOpaqueEnvelope('quack'))->openEnvelope());
+ public function testGetAllHashers() {
+ PhabricatorPasswordHasher::getAllHashers();
+ $this->assertTrue(true);
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 30, 2:53 PM (6 d, 5 h ago)
Storage Engine
amazon-s3
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
phabricator/secure/te/wt/5gn2bg4pe4uwsdlt
Default Alt Text
D13272.id32151.diff (42 KB)

Event Timeline