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

Side by Side Diff: tools/battor_agent/battor_agent_unittest.cc

Issue 1969863002: Fix include path for moved thread_task_runner_handle.h header in tools/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « tools/battor_agent/battor_agent_bin.cc ('k') | tools/battor_agent/battor_connection_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "tools/battor_agent/battor_agent.h" 5 #include "tools/battor_agent/battor_agent.h"
6 6
7 #include "base/test/test_simple_task_runner.h" 7 #include "base/test/test_simple_task_runner.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "tools/battor_agent/battor_protocol_types.h" 11 #include "tools/battor_agent/battor_protocol_types.h"
12 12
13 using namespace testing; 13 using namespace testing;
14 14
15 using std::vector; 15 using std::vector;
16 16
17 namespace battor { 17 namespace battor {
18 18
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 867
868 uint32_t current_sample = 1; 868 uint32_t current_sample = 1;
869 OnMessageRead(true, BATTOR_MESSAGE_TYPE_CONTROL, 869 OnMessageRead(true, BATTOR_MESSAGE_TYPE_CONTROL,
870 ToCharVector(current_sample)); 870 ToCharVector(current_sample));
871 871
872 EXPECT_TRUE(IsCommandComplete()); 872 EXPECT_TRUE(IsCommandComplete());
873 EXPECT_EQ(BATTOR_ERROR_UNEXPECTED_MESSAGE, GetCommandError()); 873 EXPECT_EQ(BATTOR_ERROR_UNEXPECTED_MESSAGE, GetCommandError());
874 } 874 }
875 875
876 } // namespace battor 876 } // namespace battor
OLDNEW
« no previous file with comments | « tools/battor_agent/battor_agent_bin.cc ('k') | tools/battor_agent/battor_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698