Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: bootstat_test.h

Issue 5500001: Eliminate the dependency on kernel pseudo-files when running unit tests (Closed) Base URL: http://git.chromium.org/git/bootstat.git@master
Patch Set: Update in response to review comments Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bootstat_log.c ('k') | log_unit_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootstat_test.h
diff --git a/bootstat_test.h b/bootstat_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..f4361b846f315955fc9197b13589ed4903ce409b
--- /dev/null
+++ b/bootstat_test.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2010 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.
+
+// API for C and C++ bindings for unit tests for the Chromium OS
+// 'bootstat' facility. This interface is meant to be used by unit
+// test code only, and is not intended to be exported for general
+// use.
+
+#ifndef BOOTSTAT_TEST_H_
+#define BOOTSTAT_TEST_H_
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+extern void bootstat_set_output_directory(const char*);
+extern void bootstat_set_uptime_file_name(const char*);
+extern void bootstat_set_disk_file_name(const char*);
+
+#if defined(__cplusplus)
+}
+#endif
+#endif // BOOTSTAT_TEST_H_
« no previous file with comments | « bootstat_log.c ('k') | log_unit_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698