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

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: 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
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

Powered by Google App Engine
This is Rietveld 408576698