Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CtsVerifierX86Zip is data path to ITS bundle testing x86 compatible platform. CtsVerifierX86Zip = "its/android-cts-verifier-9.0_r15-linux_x86-x86.zip" // CtsVerifierArmZip is data path to ITS bundle testing arm compatible platform. CtsVerifierArmZip = "its/android-cts-verifier-9.0_r15-linux_x86-arm.zip" // ITSPy3Patch is the data path of py2 to py3 patch for ITS test // scripts. Update the script content with the steps: // $ python3 setup_its_repo.py android-cts-verifier-XXX.zip // $ cd android-cts-verifier/CameraITS // # Do modification to *.py // $ git diff base > <Path to this patch> ITSPy3Patch = "its/its.patch" // SetupITSRepoScript is the data path of the script unpacking ITS // bundle and apply python3 patches. SetupITSRepoScript = "its/setup_its_repo.py" )
To uprev |ctsVerifierX86Zip| and |ctsVerifierArmZip|, download the new zip from https://source.android.com/compatibility/cts/downloads, replace old zip under data folder and check the test can still pass.
Variables ¶
View Source
var ITSArmPre = &itsPreImpl{abi: arm}
ITSArmPre is the test precondition to run Android x86-arm ITS test.
View Source
var ITSX86Pre = &itsPreImpl{abi: x86}
ITSX86Pre is the test precondition to run Android x86 ITS test.
Functions ¶
func DataChartScene ¶
func DataChartScene() *chartPre
DataChartScene returns test precondition for displaying default test scene on chart tablet.
Types ¶
type ITSHelper ¶
type ITSHelper struct {
// contains filtered or unexported fields
}
ITSHelper provides helper functions accessing ITS package and mandating ARC.
Click to show internal directories.
Click to hide internal directories.