|
Separate Authenticator and Session unittests.
Previously JingleSession unit tests were using real authenticators. Here
I changed them to always use FakeAuthenticator and added new tests for channel
authentication in v1_authenticator_unittest.cc . Also, to make new tests pass,
fixed session-terminate message handling in JingleSession to return correct
error code.
BUG= 105214
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114178
Total comments: 49
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+946 lines, -704 lines) |
Patch |
 |
A |
remoting/protocol/connection_tester.h
|
View
|
1
2
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/connection_tester.cc
|
View
|
1
2
3
4
|
1 chunk |
+251 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/connection_to_host.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/fake_authenticator.h
|
View
|
1
5
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/fake_authenticator.cc
|
View
|
1
5
|
1 chunk |
+137 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/fake_session.h
|
View
|
1
2
3
4
|
6 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/fake_session.cc
|
View
|
1
2
3
4
|
6 chunks |
+28 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/jingle_session.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/jingle_session.cc
|
View
|
1
2
3
5
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/jingle_session_unittest.cc
|
View
|
1
2
5
|
12 chunks |
+181 lines, -680 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/message_reader_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/session.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/v1_authenticator_unittest.cc
|
View
|
1
2
3
4
|
7 chunks |
+102 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/v1_client_channel_authenticator.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/v1_host_channel_authenticator.h
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|