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

Commit 70991e3b authored by ramindani's avatar ramindani
Browse files

SF: Update RefreshRateSelectorTest to remove g_noSlowTests from some tests

Divided the test into multiple tests in the previous CL.
These tests should be able to execute on slow environment as well.

Test: atest libsurfaceflinger_unittest && atest SurfaceFlinger_unittest
&& atest libcompositionengine_test && atest CtsGraphicsTestCases
BUG: 261520501

Change-Id: Ie3ad977395250fdc3a3161d207071d7cfbc1a77d
parent cff052d1
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -2508,10 +2508,6 @@ 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;

@@ -2540,10 +2536,6 @@ 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;

@@ -2572,10 +2564,6 @@ 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;

@@ -2604,10 +2592,6 @@ 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;