Lines Matching refs:EXPECT_TRUE
148 EXPECT_TRUE(SetupRenderAndAddStream(StreamParams::CreateLegacy(1234)));
149 EXPECT_TRUE(channel_->SetSendCodecs(codecs));
153 EXPECT_TRUE(channel_->SetSend(true));
154 EXPECT_TRUE(sub_channel->sending());
160 EXPECT_TRUE(SetupRenderAndAddStream(StreamParams::CreateLegacy(1234)));
161 EXPECT_TRUE(channel_->SetSendCodecs(codecs));
162 EXPECT_TRUE(channel_->SetStartSendBandwidth(start_bitrate));
163 EXPECT_TRUE(channel_->SetMaxSendBandwidth(max_bitrate));
176 EXPECT_TRUE(engine_.Init(talk_base::Thread::Current()));
184 EXPECT_TRUE(engine_.SetDefaultEncoderConfig(config));
216 EXPECT_TRUE(engine_.SetDefaultEncoderConfig(meaningful_config3));
239 EXPECT_TRUE(SetupEngine());
240 EXPECT_TRUE(sub_channel1_ != NULL);
241 EXPECT_TRUE(sub_channel2_ != NULL);
248 EXPECT_TRUE(channel_.get() == NULL);
249 EXPECT_TRUE(sub_channel1_ == NULL);
250 EXPECT_TRUE(sub_channel2_ == NULL);
254 EXPECT_TRUE(channel_.get() == NULL);
255 EXPECT_TRUE(sub_channel1_ == NULL);
256 EXPECT_TRUE(sub_channel2_ == NULL);
261 EXPECT_TRUE(SetupEngine());
263 EXPECT_TRUE(channel_->SetRecvCodecs(engine_.codecs()));
272 EXPECT_TRUE(channel_->AddSendStream(stream));
277 EXPECT_TRUE(channel_->SetRender(true));
279 EXPECT_TRUE(sub_channel1_->playout());
280 EXPECT_TRUE(sub_channel2_->playout());
285 EXPECT_TRUE(channel_->SetSend(false));
291 EXPECT_TRUE(SetupEngine());
292 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsVp8First)));
301 EXPECT_TRUE(engine_.sub_engine2()->GetChannel(0) == NULL);
308 EXPECT_TRUE(engine_.sub_engine1()->GetChannel(0) == NULL);
313 EXPECT_TRUE(SetupRenderAndAddStream(StreamParams::CreateLegacy(1234)));
319 EXPECT_TRUE(channel_->SetSendCodecs(codecs));
342 EXPECT_TRUE(SetupRenderAndAddStream(StreamParams::CreateLegacy(1234)));
345 EXPECT_TRUE(sub_channel1_->CheckNoRtp());
346 EXPECT_TRUE(sub_channel2_->CheckNoRtp());
347 EXPECT_TRUE(sub_channel1_->CheckNoRtcp());
348 EXPECT_TRUE(sub_channel2_->CheckNoRtcp());
355 EXPECT_TRUE(SetupRenderAndAddStream(StreamParams::CreateLegacy(1234)));
356 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsVp8First)));
357 EXPECT_TRUE(channel_->SetSend(true));
360 EXPECT_TRUE(sub_channel1_->CheckRtp(kPacket, sizeof(kPacket)));
361 EXPECT_TRUE(sub_channel1_->CheckRtcp(kRtcp, sizeof(kRtcp)));
369 EXPECT_TRUE(SetupEngine());
379 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsVp8First)));
385 EXPECT_TRUE(SetupEngine());
388 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsGenericFirst)));
398 EXPECT_TRUE(SetupEngine());
399 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsVp8First)));
408 EXPECT_TRUE(channel_->SetSend(true));
409 EXPECT_TRUE(channel_->sending());
410 EXPECT_TRUE(sub_channel1_->sending());
415 EXPECT_TRUE(channel_->SetSend(true));
416 EXPECT_TRUE(channel_->sending());
417 EXPECT_TRUE(sub_channel1_->sending());
422 EXPECT_TRUE(channel_->SetSend(false));
429 EXPECT_TRUE(channel_->SetSend(false));
441 EXPECT_TRUE(SetupEngine());
442 EXPECT_TRUE(channel_->SetOptions(vmo));
446 EXPECT_TRUE(sub_channel1_->GetOptions(&vmo));
447 EXPECT_TRUE(vmo.video_high_bitrate.Get(&high_bitrate));
448 EXPECT_TRUE(high_bitrate);
449 EXPECT_TRUE(vmo.system_low_adaptation_threshhold.Get(&low));
451 EXPECT_TRUE(sub_channel2_->GetOptions(&vmo));
452 EXPECT_TRUE(vmo.video_high_bitrate.Get(&high_bitrate));
453 EXPECT_TRUE(high_bitrate);
454 EXPECT_TRUE(vmo.system_low_adaptation_threshhold.Get(&low));
460 EXPECT_TRUE(channel_->SetOptions(vmo));
461 EXPECT_TRUE(sub_channel1_->GetOptions(&vmo));
462 EXPECT_TRUE(vmo.video_high_bitrate.Get(&high_bitrate));
464 EXPECT_TRUE(vmo.system_low_adaptation_threshhold.Get(&low));
466 EXPECT_TRUE(sub_channel2_->GetOptions(&vmo));
467 EXPECT_TRUE(vmo.video_high_bitrate.Get(&high_bitrate));
469 EXPECT_TRUE(vmo.system_low_adaptation_threshhold.Get(&low));
474 EXPECT_TRUE(SetupEngine());
476 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsVp8First)));
478 EXPECT_TRUE(channel_->SetCapturer(0, &fake_video_capturer));
479 EXPECT_TRUE(channel_->SetCapturer(0, NULL));
482 EXPECT_TRUE(SetupEngine());
483 EXPECT_TRUE(channel_->SetSendCodecs(MAKE_VECTOR(kCodecsGenericFirst)));
484 EXPECT_TRUE(channel_->SetCapturer(0, &fake_video_capturer));
485 EXPECT_TRUE(channel_->SetCapturer(0, NULL));