Don't preload rarely seen large images
[chromium-blink-merge.git] / base / test / gtest_xml_util.h
blobb023f80da18a544e300947c2d66f7dd6b2260278
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_TEST_GTEST_XML_UTIL_H_
6 #define BASE_TEST_GTEST_XML_UTIL_H_
8 #include <vector>
10 #include "base/compiler_specific.h"
12 namespace base {
14 class FilePath;
15 struct TestResult;
17 // Produces a vector of test results based on GTest output file.
18 // Returns true iff the output file exists and has been successfully parsed.
19 // On successful return |crashed| is set to true if the test results
20 // are valid but incomplete.
21 bool ProcessGTestOutput(const base::FilePath& output_file,
22 std::vector<TestResult>* results,
23 bool* crashed) WARN_UNUSED_RESULT;
25 } // namespace base
27 #endif // BASE_TEST_GTEST_XML_UTIL_H_