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

Unified Diff: src/procfs_byte_counter_unittest.cc

Issue 5180003: cashew: add local byte counters (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Address jglasgow and zelidrag (offline) code review comments Created 10 years, 1 month 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 | « src/procfs_byte_counter.cc ('k') | src/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/procfs_byte_counter_unittest.cc
diff --git a/src/procfs_byte_counter_unittest.cc b/src/procfs_byte_counter_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..48833954742e152a8d69b211d54516b27faa7076
--- /dev/null
+++ b/src/procfs_byte_counter_unittest.cc
@@ -0,0 +1,28 @@
+// 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.
+
+#include <gtest/gtest.h>
+
+#include "src/procfs_byte_counter.h"
+
+namespace cashew {
+
+// test fixture for ProcfsByteCounter unit tests
+class ProcfsByteCounterTest: public ::testing::Test {
+ protected:
+ ProcfsByteCounterTest() {}
+ virtual ~ProcfsByteCounterTest() {}
+ virtual void SetUp() {}
+ virtual void TearDown() {}
+};
+
+TEST_F(ProcfsByteCounterTest, AlwaysSucceeds) {
+ EXPECT_TRUE(true);
+}
+
+// TODO(vlaviano): test ProcfsByteCounter:OnStatsUpdate
+// normal scenarios
+// wraparound scenarios
+
+} // namespace cashew
« no previous file with comments | « src/procfs_byte_counter.cc ('k') | src/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698