Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b17b4a5 authored by Ady Abraham's avatar Ady Abraham
Browse files

Revert "SF: Update RefreshRateSelectorTest to remove g_noSlowTests from some tests"

This reverts commit 70991e3b.

Reason for revert: Fixing the original bug (b/261520501) in a different way that doesn't create a long list of refresh rates divisors

Change-Id: I85bc458b7fd4cf45c2e03a942b26423dc883e0d1
parent 78c84d62
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -2508,6 +2508,10 @@ TEST_P(RefreshRateSelectorTest, getBestFrameRateMode_FractionalRefreshRates_Exac
// b/190578904
TEST_P(RefreshRateSelectorTest,
       getBestFrameRateMode_withCloseRefreshRates_LayerVoteType_Heuristic) {
    if (g_noSlowTests) {
        GTEST_SKIP();
    }

    const int kMinRefreshRate = RefreshRateSelector::kMinSupportedFrameRate.getIntValue();
    constexpr int kMaxRefreshRate = 240;

@@ -2536,6 +2540,10 @@ TEST_P(RefreshRateSelectorTest,
}
TEST_P(RefreshRateSelectorTest,
       getBestFrameRateMode_withCloseRefreshRates_LayerVoteType_ExplicitDefault) {
    if (g_noSlowTests) {
        GTEST_SKIP();
    }

    const int kMinRefreshRate = RefreshRateSelector::kMinSupportedFrameRate.getIntValue();
    constexpr int kMaxRefreshRate = 240;

@@ -2564,6 +2572,10 @@ TEST_P(RefreshRateSelectorTest,
}
TEST_P(RefreshRateSelectorTest,
       getBestFrameRateMode_withCloseRefreshRates_LayerVoteType_ExplicitExactOrMultiple) {
    if (g_noSlowTests) {
        GTEST_SKIP();
    }

    const int kMinRefreshRate = RefreshRateSelector::kMinSupportedFrameRate.getIntValue();
    constexpr int kMaxRefreshRate = 240;

@@ -2592,6 +2604,10 @@ TEST_P(RefreshRateSelectorTest,
}
TEST_P(RefreshRateSelectorTest,
       getBestFrameRateMode_withCloseRefreshRates_LayerVoteType_ExplicitExact) {
    if (g_noSlowTests) {
        GTEST_SKIP();
    }

    const int kMinRefreshRate = RefreshRateSelector::kMinSupportedFrameRate.getIntValue();
    constexpr int kMaxRefreshRate = 240;