summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/google-benchmark/test/output_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/utils/google-benchmark/test/output_test.h')
-rw-r--r--libcxx/utils/google-benchmark/test/output_test.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/utils/google-benchmark/test/output_test.h b/libcxx/utils/google-benchmark/test/output_test.h
index 31a919991f7..9385761b214 100644
--- a/libcxx/utils/google-benchmark/test/output_test.h
+++ b/libcxx/utils/google-benchmark/test/output_test.h
@@ -60,6 +60,13 @@ int SetSubstitutions(
// Run all output tests.
void RunOutputTests(int argc, char* argv[]);
+// Count the number of 'pat' substrings in the 'haystack' string.
+int SubstrCnt(const std::string& haystack, const std::string& pat);
+
+// Run registered benchmarks with file reporter enabled, and return the content
+// outputted by the file reporter.
+std::string GetFileReporterOutput(int argc, char* argv[]);
+
// ========================================================================= //
// ------------------------- Results checking ------------------------------ //
// ========================================================================= //
OpenPOWER on IntegriCloud