|
|
Updating Message Reader and Writer classes to use an interface.
This change updates the message reader and writer classes to use an interface
which will allow tests to more easily use fake objects to force specific test
conditions. The CL which uses this change will be sent out shortly.
I chose this path instead of relying purely on the in/out files to drive the
tests as I think this approach is easier to grok and debug. Using a fake
object also allows for simulating additional error conditions.
BUG= 584463
Committed: https://crrev.com/ba9fd2175b03955c52a60f3bd1ea95313948afe4
Cr-Commit-Position: refs/heads/master@{#385087}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+325 lines, -573 lines) |
Patch |
 |
M |
remoting/host/BUILD.gn
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
A |
remoting/host/security_key/fake_remote_security_key_message_reader.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/security_key/fake_remote_security_key_message_reader.cc
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/security_key/fake_remote_security_key_message_writer.h
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/host/security_key/fake_remote_security_key_message_writer.cc
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/remote_security_key_message_reader.h
|
View
|
1
2
|
1 chunk |
+7 lines, -45 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_reader_impl.h
|
View
|
1
2
|
4 chunks |
+17 lines, -20 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_reader_impl.cc
|
View
|
|
6 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_reader_impl_unittest.cc
|
View
|
1
2
|
10 chunks |
+28 lines, -25 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/remote_security_key_message_reader_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -208 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/remote_security_key_message_writer.h
|
View
|
|
2 chunks |
+5 lines, -15 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_writer_impl.h
|
View
|
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_writer_impl.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
remoting/host/security_key/remote_security_key_message_writer_impl_unittest.cc
|
View
|
1
2
|
7 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/remote_security_key_message_writer_unittest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -202 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_host_srcs.gypi
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_test.gypi
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 10 (4 generated)
|