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

Unified Diff: blimp/client/core/feedback/blimp_feedback_data_unittest.cc

Issue 2362693003: Add framework for sending feedback for Blimp. (Closed)
Patch Set: Rebased for good measure Created 4 years, 3 months 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: blimp/client/core/feedback/blimp_feedback_data_unittest.cc
diff --git a/blimp/client/core/feedback/blimp_feedback_data_unittest.cc b/blimp/client/core/feedback/blimp_feedback_data_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..16790dc8fceef8f51f034e934bafd3ae77321cfb
--- /dev/null
+++ b/blimp/client/core/feedback/blimp_feedback_data_unittest.cc
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium 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 "blimp/client/core/feedback/blimp_feedback_data.h"
+
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace blimp {
+namespace client {
+namespace {
+
+TEST(BlimpFeedbackDataTest, IncludesBlimpIsSupported) {
+ std::unordered_map<std::string, std::string> data = CreateBlimpFeedbackData();
+ auto search = data.find(kFeedbackSupportedKey);
+ ASSERT_TRUE(search != data.end());
+ EXPECT_EQ("true", search->second);
+}
+
+} // namespace
+} // namespace client
+} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698