Lines Matching refs:test
69 func (test *testDecorator) bootstrapperProps() []interface{} {
70 return append(test.binaryDecorator.bootstrapperProps(), &test.testProperties)
73 func (test *testDecorator) install(ctx android.ModuleContext, file android.Path) {
74 test.testConfig = tradefed.AutoGenPythonBinaryHostTestConfig(ctx, test.testProperties.Test_config,
75 test.testProperties.Test_config_template, test.binaryDecorator.binaryProperties.Test_suites,
76 test.binaryDecorator.binaryProperties.Auto_gen_config)
78 test.binaryDecorator.pythonInstaller.dir = "nativetest"
79 test.binaryDecorator.pythonInstaller.dir64 = "nativetest64"
81 test.binaryDecorator.pythonInstaller.relative = ctx.ModuleName()
83 test.binaryDecorator.pythonInstaller.install(ctx, file)
85 dataSrcPaths := android.PathsForModuleSrc(ctx, test.testProperties.Data)
88 test.data = append(test.data, android.DataPath{SrcPath: dataSrcPath})
94 test.data = append(test.data, android.DataPath{SrcPath: javaDataSrcPath})
104 test := &testDecorator{binaryDecorator: binary}
106 module.bootstrapper = test
107 module.installer = test