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
|
|
|
|
2016-08-11 19:09:43 +02:00
|
|
|
class FacebookFbcodeUnitTestEngine extends ArcanistUnitTestEngine {
|
2015-04-07 20:56:29 +02:00
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|