• Home
  • Raw
  • Download

Lines Matching refs:Adaptation

110   void ApplyAdaptation(Adaptation adaptation) {  in ApplyAdaptation()
210 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
211 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
234 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
235 EXPECT_EQ(Adaptation::Status::kLimitReached, adaptation.status()); in TEST_F()
264 EXPECT_EQ(Adaptation::Status::kLimitReached, in TEST_F()
280 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
281 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
298 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
299 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
305 EXPECT_EQ(Adaptation::Status::kLimitReached, in TEST_F()
319 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
320 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
336 EXPECT_EQ(Adaptation::Status::kLimitReached, in TEST_F()
354 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
355 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
381 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
382 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
396 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
397 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
417 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
418 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
488 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
489 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
504 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
505 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
515 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
516 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
526 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
527 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
536 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
537 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
550 EXPECT_EQ(Adaptation::Status::kLimitReached, in TEST_F()
566 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
567 if (adaptation.status() == Adaptation::Status::kLimitReached) { in TEST_F()
571 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
597 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
598 EXPECT_EQ(Adaptation::Status::kAwaitingPreviousAdaptation, in TEST_F()
618 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
619 EXPECT_EQ(Adaptation::Status::kAwaitingPreviousAdaptation, in TEST_F()
642 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
643 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
666 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
667 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
684 EXPECT_EQ(Adaptation::Status::kAwaitingPreviousAdaptation, in TEST_F()
688 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
689 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
703 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
704 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
720 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
721 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
736 EXPECT_EQ(Adaptation::Status::kAwaitingPreviousAdaptation, in TEST_F()
739 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
740 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
751 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
758 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
777 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
778 EXPECT_EQ(Adaptation::Status::kLimitReached, adaptation.status()); in TEST_F()
784 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
785 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
792 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
793 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
829 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
839 EXPECT_EQ(Adaptation::Status::kAdaptationDisabled, in TEST_F()
842 EXPECT_EQ(Adaptation::Status::kLimitReached, in TEST_F()
856 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
876 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
892 EXPECT_EQ(Adaptation::Status::kValid, adaptation.status()); in TEST_F()
902 EXPECT_EQ(Adaptation::Status::kAdaptationDisabled, in TEST_F()
904 EXPECT_EQ(Adaptation::Status::kAdaptationDisabled, in TEST_F()
906 EXPECT_EQ(Adaptation::Status::kAdaptationDisabled, in TEST_F()
946 EXPECT_EQ(Adaptation::Status::kValid, in TEST_F()
967 EXPECT_EQ(Adaptation::Status::kRejectedByConstraint, in TEST_F()
983 Adaptation adaptation = adapter.GetAdaptationDown(); in TEST()
993 Adaptation adaptation = adapter.GetAdaptationDown(); in TEST()