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

Side by Side 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: Miscellaneous cleanup 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium OS 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.
4
5 // API for C and C++ bindings for unit tests for the Chromium OS
6 // 'bootstat' facility. This interface is meant to be used by unit
7 // test code only, and is not intended to be exported for general
8 // use.
9
10 #ifndef BOOTSTAT_TEST_H_
11 #define BOOTSTAT_TEST_H_
12 #ifdef CONFIG_UNIT_TEST
13
14 #if defined(__cplusplus)
15 extern "C" {
16 #endif
17
18 extern void bootstat_set_output_directory(const char*);
19 extern void bootstat_set_uptime_file_name(const char*);
20 extern void bootstat_set_disk_file_name(const char*);
21
22 #if defined(__cplusplus)
23 }
24 #endif
25 #endif // CONFIG_UNIT_TEST
26 #endif // BOOTSTAT_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698