summaryrefslogtreecommitdiff
path: root/update_manager/umtest_utils.cc
diff options
context:
space:
mode:
authorAlex Deymo <deymo@chromium.org>2015-07-14 17:25:03 -0700
committerAlex Deymo <deymo@chromium.org>2015-07-14 17:25:03 -0700
commitba2b2eec4972893745fa2beb899b2adbdbb39d0f (patch)
tree22c30fab0c717a5068160ad0ca0be4f54557a288 /update_manager/umtest_utils.cc
parent701376dd44ec6f5212641031a65aae4eb051f777 (diff)
parent454b798705352bcfbef19759f4dddfe3f0ac490c (diff)
Merge branch 'rewrite-update_engine' into merge-update_engine
Diffstat (limited to 'update_manager/umtest_utils.cc')
-rw-r--r--update_manager/umtest_utils.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/update_manager/umtest_utils.cc b/update_manager/umtest_utils.cc
new file mode 100644
index 00000000..be6a86f7
--- /dev/null
+++ b/update_manager/umtest_utils.cc
@@ -0,0 +1,17 @@
+// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "update_engine/update_manager/umtest_utils.h"
+
+#include <base/time/time.h>
+
+namespace chromeos_update_manager {
+
+const unsigned UmTestUtils::kDefaultTimeoutInSeconds = 1;
+
+void PrintTo(const EvalStatus& status, ::std::ostream* os) {
+ *os << ToString(status);
+}
+
+} // namespace chromeos_update_manager