Lines Matching defs:session_
86 session_(&wire_, &context_, &challenge_) {
99 EXPECT_CALL(session_, DoInitializationPhase());
101 session_.DoPair(&listener_);
109 StrictMock<TestPairingSession> session_;
121 session_.TestSetConfiguration(configuration);
123 ASSERT_TRUE(session_.GetConfiguration());
125 session_.GetConfiguration()->encoding().encoding_type());
126 ASSERT_EQ(8, session_.GetConfiguration()->encoding().symbol_length());
128 session_.GetConfiguration()->client_role());
130 ASSERT_TRUE(session_.encoder());
131 ASSERT_EQ(2, session_.encoder()->symbols_per_byte());
141 session_.TestSetConfiguration(configuration);
145 session_.TestDoPairingPhase();
155 session_.TestSetConfiguration(configuration);
161 session_.TestDoPairingPhase();
166 session_.AddInputEncoding(encoding);
167 ASSERT_TRUE(session_.GetLocalOptions().SupportsInputEncoding(encoding));
172 session_.AddInputEncoding(encoding);
173 ASSERT_FALSE(session_.GetLocalOptions().SupportsInputEncoding(encoding));
178 session_.AddOutputEncoding(encoding);
179 ASSERT_TRUE(session_.GetLocalOptions().SupportsOutputEncoding(encoding));
184 session_.AddOutputEncoding(encoding);
185 ASSERT_FALSE(session_.GetLocalOptions().SupportsOutputEncoding(encoding));
196 session_.TestSetConfiguration(configuration);
200 session_.TestDoPairingPhase();
215 session_.SetSecret(gamma);
226 session_.TestSetConfiguration(configuration);
230 session_.TestDoPairingPhase();
245 session_.SetSecret(gamma);
257 session_.TestOnSecretMessage(message);
265 session_.TestOnSecretAckmessage(message);