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

Commit ea64b5ca authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

PointerIconLoadingTest: Save test output to Downloads directory

Bug: 349704840
Change-Id: I425da0b9a24d3b39ebb63313626e8a0c9cab2ee1
Test: Presubmit
Flag: TEST_ONLY
parent 3063f9ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
    <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
        <option name="pull-pattern-keys" value="input_.*" />
        <!-- Pull files created by tests, like the output of screenshot tests -->
        <option name="directory-keys" value="/storage/emulated/0/InputTests" />
        <option name="directory-keys" value="/sdcard/Download/InputTests" />
        <option name="collect-on-run-ended-only" value="false" />
    </metrics_collector>
</configuration>
+2 −4
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.test.input
import android.content.Context
import android.content.res.Configuration
import android.content.res.Resources
import android.os.Environment
import android.view.ContextThemeWrapper
import android.view.PointerIcon
import android.view.flags.Flags.enableVectorCursorA11ySettings
@@ -158,8 +157,7 @@ class PointerIconLoadingTest {
        const val SCREEN_WIDTH_DP = 480
        const val SCREEN_HEIGHT_DP = 800
        const val ASSETS_PATH = "tests/input/assets"
        val TEST_OUTPUT_PATH = Environment.getExternalStorageDirectory().absolutePath +
                "/InputTests/" +
                PointerIconLoadingTest::class.java.simpleName
        val TEST_OUTPUT_PATH =
            "/sdcard/Download/InputTests/" + PointerIconLoadingTest::class.java.simpleName
    }
}