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

Unified Diff: blimp/engine/feature/engine_settings_feature_unittest.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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/engine/feature/engine_settings_feature_unittest.cc
diff --git a/blimp/engine/feature/engine_settings_feature_unittest.cc b/blimp/engine/feature/engine_settings_feature_unittest.cc
deleted file mode 100644
index 14e6773642f091f529c72fe7094c9090316b5a1d..0000000000000000000000000000000000000000
--- a/blimp/engine/feature/engine_settings_feature_unittest.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// 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/engine/feature/engine_settings_feature.h"
-
-#include "blimp/common/create_blimp_message.h"
-#include "blimp/common/proto/blimp_message.pb.h"
-#include "blimp/common/proto/settings.pb.h"
-#include "blimp/engine/app/settings_manager.h"
-#include "net/base/test_completion_callback.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace blimp {
-namespace engine {
-
-namespace {
-
-class EngineSettingsFeatureTest : public testing::Test {
- public:
- EngineSettingsFeatureTest() : feature_(&settings_manager_) {}
-
- protected:
- SettingsManager settings_manager_;
- EngineSettingsFeature feature_;
-};
-
-TEST_F(EngineSettingsFeatureTest, UpdatesSettingsCorrectly) {
- EXPECT_FALSE(settings_manager_.GetEngineSettings().record_whole_document);
-
- EngineSettingsMessage* engine_settings;
- std::unique_ptr<BlimpMessage> message = CreateBlimpMessage(&engine_settings);
- engine_settings->set_record_whole_document(true);
-
- net::TestCompletionCallback cb;
- feature_.ProcessMessage(std::move(message), cb.callback());
-
- EXPECT_TRUE(settings_manager_.GetEngineSettings().record_whole_document);
-}
-
-} // namespace
-
-} // namespace engine
-} // namespace blimp
« no previous file with comments | « blimp/engine/feature/engine_settings_feature.cc ('k') | blimp/engine/feature/geolocation/blimp_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698