2015-04-07 20:56:29 +02:00
|
|
|
<?php
|
|
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
2015-08-10 22:58:55 +02:00
|
|
|
// This source code is licensed under the BSD-style license found in the
|
|
|
|
// LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
// of patent rights can be found in the PATENTS file in the same directory.
|
2015-04-07 20:56:29 +02:00
|
|
|
|
|
|
|
class FacebookFbcodeUnitTestEngine extends ArcanistBaseUnitTestEngine {
|
|
|
|
|
|
|
|
public function run() {
|
2016-06-14 01:20:15 +02:00
|
|
|
// For a call to `arc call-conduit differential.updateunitresults` to
|
|
|
|
// succeed we need at least one entry here.
|
|
|
|
$result = new ArcanistUnitTestResult();
|
|
|
|
$result->setName("dummy_placeholder_entry");
|
|
|
|
$result->setResult(ArcanistUnitTestResult::RESULT_PASS);
|
|
|
|
return array($result);
|
2015-04-07 20:56:29 +02:00
|
|
|
}
|
|
|
|
}
|