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

Issue 14979008: unittests for Chromoting native messaging host. (Closed)

Created:
7 years, 7 months ago by Lambros
Modified:
7 years, 6 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

unittests for Chromoting native messaging host. BUG=232200 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203084

Patch Set 1 #

Patch Set 2 : Some clang-format fixes #

Total comments: 20

Patch Set 3 : Address comments #

Patch Set 4 : Use pipes instead of file IO #

Patch Set 5 : Fix Windows compile warning #

Total comments: 6

Patch Set 6 : Rename pipe.h->test_util.h, and fix Windows test failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+893 lines, -27 lines) Patch
M remoting/host/setup/native_messaging_host.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M remoting/host/setup/native_messaging_host.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M remoting/host/setup/native_messaging_host_main.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A remoting/host/setup/native_messaging_host_unittest.cc View 1 2 3 4 5 1 chunk +517 lines, -0 lines 0 comments Download
M remoting/host/setup/native_messaging_reader.cc View 1 5 chunks +17 lines, -14 lines 0 comments Download
A remoting/host/setup/native_messaging_reader_unittest.cc View 1 2 3 4 5 1 chunk +163 lines, -0 lines 0 comments Download
A remoting/host/setup/native_messaging_writer_unittest.cc View 1 2 3 4 5 1 chunk +115 lines, -0 lines 0 comments Download
A remoting/host/setup/test_util.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A remoting/host/setup/test_util.cc View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 4 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Lambros
7 years, 7 months ago (2013-05-16 20:56:14 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/14979008/diff/2001/remoting/host/setup/mock_daemon_controller.h File remoting/host/setup/mock_daemon_controller.h (right): https://codereview.chromium.org/14979008/diff/2001/remoting/host/setup/mock_daemon_controller.h#newcode1 remoting/host/setup/mock_daemon_controller.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 7 months ago (2013-05-18 01:59:31 UTC) #2
Lambros
https://codereview.chromium.org/14979008/diff/2001/remoting/host/setup/mock_daemon_controller.h File remoting/host/setup/mock_daemon_controller.h (right): https://codereview.chromium.org/14979008/diff/2001/remoting/host/setup/mock_daemon_controller.h#newcode1 remoting/host/setup/mock_daemon_controller.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 7 months ago (2013-05-22 21:42:18 UTC) #3
Sergey Ulanov
lgtm
7 years, 7 months ago (2013-05-22 23:20:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/14979008/22001
7 years, 7 months ago (2013-05-22 23:27:17 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=152603
7 years, 7 months ago (2013-05-23 07:05:38 UTC) #6
Lambros
Rewritten tests to use pipes instead of file IO, since it's likely to be less ...
7 years, 7 months ago (2013-05-25 01:06:32 UTC) #7
Lambros
On 2013/05/25 01:06:32, Lambros wrote: > Rewritten tests to use pipes instead of file IO, ...
7 years, 6 months ago (2013-05-29 17:44:38 UTC) #8
Sergey Ulanov
lgtm https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/pipe.cc File remoting/host/setup/pipe.cc (right): https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/pipe.cc#newcode18 remoting/host/setup/pipe.cc:18: return CreatePipe(read_handle, write_handle, NULL, 0) != FALSE; FYI: ...
7 years, 6 months ago (2013-05-29 19:54:43 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/native_messaging_writer_unittest.cc File remoting/host/setup/native_messaging_writer_unittest.cc (right): https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/native_messaging_writer_unittest.cc#newcode75 remoting/host/setup/native_messaging_writer_unittest.cc:75: EXPECT_EQ(0, read); replace this with read <= 0 because ...
7 years, 6 months ago (2013-05-29 19:59:31 UTC) #10
Lambros
https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/native_messaging_writer_unittest.cc File remoting/host/setup/native_messaging_writer_unittest.cc (right): https://codereview.chromium.org/14979008/diff/56001/remoting/host/setup/native_messaging_writer_unittest.cc#newcode75 remoting/host/setup/native_messaging_writer_unittest.cc:75: EXPECT_EQ(0, read); On 2013/05/29 19:59:31, Sergey Ulanov wrote: > ...
7 years, 6 months ago (2013-05-29 23:50:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/14979008/68001
7 years, 6 months ago (2013-05-29 23:51:15 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 05:20:31 UTC) #13
Message was sent while issue was closed.
Change committed as 203084

Powered by Google App Engine
This is Rietveld 408576698