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

Commit 4b83646c authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Remove Logger classes from flicker

Now flicker doesn't need to run in winscope anymore and can use default android classes instead

And fix a couple linter errors

Bug: 311643481
Test: atest WMShellFlickerTestsSplitScreenGroup1
Change-Id: Id5ad208a04e9dad0d023349a1117f19ebd33e5ef
parent 293a31cf
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.flicker.service.splitscreen.scenarios
import android.app.Instrumentation
import android.tools.NavBar
import android.tools.Rotation
import android.tools.AndroidLoggerSetupRule
import android.tools.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
@@ -28,7 +27,6 @@ import com.android.wm.shell.flicker.service.common.Utils
import com.android.wm.shell.flicker.utils.SplitScreenUtils
import org.junit.After
import org.junit.Before
import org.junit.ClassRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
@@ -66,8 +64,4 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        primaryApp.exit(wmHelper)
        secondaryApp.exit(wmHelper)
    }

    companion object {
        @ClassRule @JvmField val setupLoggerRule = AndroidLoggerSetupRule()
    }
}
+0 −6
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.flicker.service.splitscreen.scenarios
import android.app.Instrumentation
import android.tools.NavBar
import android.tools.Rotation
import android.tools.AndroidLoggerSetupRule
import android.tools.flicker.rules.ChangeDisplayOrientationRule
import android.tools.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
@@ -30,7 +29,6 @@ import com.android.wm.shell.flicker.utils.SplitScreenUtils
import org.junit.After
import org.junit.Assume
import org.junit.Before
import org.junit.ClassRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
@@ -77,8 +75,4 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        secondaryApp.exit(wmHelper)
        sendNotificationApp.exit(wmHelper)
    }

    companion object {
        @ClassRule @JvmField val setupLoggerRule = AndroidLoggerSetupRule()
    }
}
+0 −6
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.flicker.service.splitscreen.scenarios
import android.app.Instrumentation
import android.tools.NavBar
import android.tools.Rotation
import android.tools.AndroidLoggerSetupRule
import android.tools.flicker.rules.ChangeDisplayOrientationRule
import android.tools.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
@@ -30,7 +29,6 @@ import com.android.wm.shell.flicker.utils.SplitScreenUtils
import org.junit.After
import org.junit.Assume
import org.junit.Before
import org.junit.ClassRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
@@ -88,8 +86,4 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        secondaryApp.exit(wmHelper)
        tapl.enableBlockTimeout(false)
    }

    companion object {
        @ClassRule @JvmField val setupLoggerRule = AndroidLoggerSetupRule()
    }
}
+0 −6
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.flicker.service.splitscreen.scenarios
import android.app.Instrumentation
import android.tools.NavBar
import android.tools.Rotation
import android.tools.AndroidLoggerSetupRule
import android.tools.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
@@ -29,7 +28,6 @@ import com.android.wm.shell.flicker.utils.SplitScreenUtils
import org.junit.After
import org.junit.Assume
import org.junit.Before
import org.junit.ClassRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
@@ -76,8 +74,4 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        secondaryApp.exit(wmHelper)
        tapl.enableBlockTimeout(false)
    }

    companion object {
        @ClassRule @JvmField val setupLoggerRule = AndroidLoggerSetupRule()
    }
}
+0 −6
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.flicker.service.splitscreen.scenarios
import android.app.Instrumentation
import android.tools.NavBar
import android.tools.Rotation
import android.tools.AndroidLoggerSetupRule
import android.tools.traces.parsers.WindowManagerStateHelper
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice
@@ -28,7 +27,6 @@ import com.android.wm.shell.flicker.service.common.Utils
import com.android.wm.shell.flicker.utils.SplitScreenUtils
import org.junit.After
import org.junit.Before
import org.junit.ClassRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
@@ -72,8 +70,4 @@ constructor(val rotation: Rotation = Rotation.ROTATION_0) {
        primaryApp.exit(wmHelper)
        secondaryApp.exit(wmHelper)
    }

    companion object {
        @ClassRule @JvmField val setupLoggerRule = AndroidLoggerSetupRule()
    }
}
Loading