/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/ |
D | AppCrawlTesterHostPreparerTest.java | 51 TestInformation mTestInfo = createTestInfo(); field in AppCrawlTesterHostPreparerTest 57 AppCrawlTesterHostPreparer.setSdkPath(mTestInfo, path); in getSdkPath_wasSet_returnsPath() 59 String result = AppCrawlTesterHostPreparer.getSdkPath(mTestInfo); in getSdkPath_wasSet_returnsPath() 66 String result = AppCrawlTesterHostPreparer.getSdkPath(mTestInfo); in getSdkPath_wasNotSet_returnsNull() 74 AppCrawlTesterHostPreparer.setCrawlerBinPath(mTestInfo, path); in getCrawlerBinPath_wasSet_returnsPath() 76 String result = AppCrawlTesterHostPreparer.getCrawlerBinPath(mTestInfo); in getCrawlerBinPath_wasSet_returnsPath() 83 String result = AppCrawlTesterHostPreparer.getCrawlerBinPath(mTestInfo); in getCrawlerBinPath_wasNotSet_returnsNull() 91 AppCrawlTesterHostPreparer.setCredentialPath(mTestInfo, path); in getCredentialPath_wasSet_returnsPath() 93 String result = AppCrawlTesterHostPreparer.getCredentialPath(mTestInfo); in getCredentialPath_wasSet_returnsPath() 100 String result = AppCrawlTesterHostPreparer.getCredentialPath(mTestInfo); in getCredentialPath_wasNotSet_returnsNull() [all …]
|
D | AppCrawlTesterTest.java | 69 private TestInformation mTestInfo; field in AppCrawlTesterTest 76 mTestInfo = createTestInfo(); in setUp() 375 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_containsRequiredCrawlerParams() 397 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_containsRoboscriptFileWhenProvided() 414 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_containsCrawlGuidanceFileWhenProvided() 431 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_loginDirContainsOnlyCrawlGuidanceFile_addsFilePath() 449 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_loginDirContainsOnlyRoboscriptFile_addsFilePath() 470 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_loginDirContainsMultipleLoginFiles_addsRoboscriptFilePath() 486 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_loginDirEmpty_doesNotAddFlag() 501 String[] result = sut.createUtpCrawlerRunCommand(mTestInfo); in createUtpCrawlerRunCommand_crawlerIsExecutedThroughJavaJar() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/ |
D | SettingsPreparerTest.java | 47 private TestInformation mTestInfo; field in SettingsPreparerTest 65 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp() 73 mSettingsPreparer.run(mTestInfo); in testCorrectOneExpected() 84 mSettingsPreparer.run(mTestInfo); in testCorrectManyExpected() 93 mSettingsPreparer.run(mTestInfo); in testIncorrectOneExpected() 109 mSettingsPreparer.run(mTestInfo); in testIncorrectManyExpected() 121 mSettingsPreparer.run(mTestInfo); in testCommandRun() 131 mSettingsPreparer.run(mTestInfo); in testCommandRunWrongSetValue()
|
D | PropertyCheckTest.java | 47 private TestInformation mTestInfo; field in PropertyCheckTest 64 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp() 73 mPropertyCheck.run(mTestInfo); // no warnings or errors in testWarningMatch() 82 mPropertyCheck.run(mTestInfo); // should only print a warning in testWarningMismatch() 91 mPropertyCheck.run(mTestInfo); // no warnings or errors in testErrorMatch() 101 mPropertyCheck.run(mTestInfo); // expecting TargetSetupError in testErrorMismatch()
|
D | InteractiveResultCollectorTest.java | 55 private TestInformation mTestInfo; field in InteractiveResultCollectorTest 61 assertThrows(TargetSetupError.class, () -> mCollector.setUp(mTestInfo)); in setUp_nonDeviceBuildInfo_throwException() 69 mCollector.setUp(mTestInfo); in setUp_deviceCleanup_emptyDevicePaths_doNothing() 83 mCollector.setUp(mTestInfo); in setUp_deviceClenup_emptyDevicePathSkipped() 105 mCollector.tearDown(mTestInfo, /* e= */ null); in tearDown_failToGetResultDir_doNothing() 125 mCollector.tearDown(mTestInfo, /* e= */ null); in tearDown_pullDir_emptyDevicePathSkipped() 142 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in initTestInfo()
|
D | VtsDeviceInfoCollectorTest.java | 58 private TestInformation mTestInfo; field in VtsDeviceInfoCollectorTest 81 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp() 88 new VtsDeviceInfoCollector().setUp(mTestInfo); in testVendorProperties() 112 new VtsDeviceInfoCollector().setUp(mTestInfo); in testOdmProperties()
|
D | DeviceInfoCollectorTest.java | 51 private TestInformation mTestInfo; field in DeviceInfoCollectorTest 63 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp() 87 mCollector.setUp(mTestInfo); in pullDeviceInfo_fail() 100 mCollector.setUp(mTestInfo); in pullDeviceInfo()
|
D | MediaPreparerTest.java | 62 private TestInformation mTestInfo; field in MediaPreparerTest 86 mTestInfo = TestInformation.newBuilder().setInvocationContext(context).build(); in setUp() 224 mTestInfo.properties().put(RUN_TESTS_AS_USER_KEY, String.valueOf(newTestUserId)); in testSetUp_setsUserIdFromProperty() 226 mMediaPreparer.setUp(mTestInfo); in testSetUp_setsUserIdFromProperty() 235 mMediaPreparer.setUp(mTestInfo); in testSkipMediaDownload() 279 mMediaPreparer.setUp(mTestInfo); in testMediaDownloadOnly_existsOnDevice() 311 mMediaPreparer.setUp(mTestInfo); in testMissingTOC() 335 mMediaPreparer.setUp(mTestInfo); in testNonExistentFileInTOC() 359 mMediaPreparer.setUp(mTestInfo); in testValidTOC() 400 mMediaPreparer.setUp(mTestInfo); in testDownloadOnly()
|
D | DynamicConfigPusherTest.java | 64 private TestInformation mTestInfo; field in DynamicConfigPusherTest 77 mTestInfo = TestInformation.newBuilder().setInvocationContext(mModuleContext).build(); in setUp() 266 mPreparer.setUp(mTestInfo); in testSetUp()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | BenchmarkResult.java | 37 private String mTestInfo; field in BenchmarkResult 74 mTestInfo = testInfo; in BenchmarkResult() 114 mTestInfo = in.readString(); in BenchmarkResult() 145 dest.writeString(mTestInfo); in writeToParcel() 207 "mTestInfo='" + mTestInfo + '\'' + in toString() 300 sb.append(mTestInfo).append(',').append(mBackendType); in toCsvLine()
|