Home
last modified time | relevance | path

Searched refs:mOptionSetter (Results 1 – 4 of 4) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DSettingsPreparerTest.java40 private OptionSetter mOptionSetter; field in SettingsPreparerTest
54 mOptionSetter = new OptionSetter(mSettingsPreparer); in setUp()
55 mOptionSetter.setOptionValue("device-setting", "stay_on_while_plugged_in"); in setUp()
56 mOptionSetter.setOptionValue("setting-type", "global"); in setUp()
65 mOptionSetter.setOptionValue("expected-values", "3"); in testCorrectOneExpected()
72 mOptionSetter.setOptionValue("expected-values", "2"); in testCorrectManyExpected()
73 mOptionSetter.setOptionValue("expected-values", "3"); in testCorrectManyExpected()
74 mOptionSetter.setOptionValue("expected-values", "6"); in testCorrectManyExpected()
75 mOptionSetter.setOptionValue("expected-values", "7"); in testCorrectManyExpected()
82 mOptionSetter.setOptionValue("expected-values", "3"); in testIncorrectOneExpected()
[all …]
DPropertyCheckTest.java37 private OptionSetter mOptionSetter; field in PropertyCheckTest
50 mOptionSetter = new OptionSetter(mPropertyCheck); in setUp()
60 mOptionSetter.setOptionValue("property-name", PROPERTY); in testWarningMatch()
61 mOptionSetter.setOptionValue("expected-value", ACTUAL_VALUE); in testWarningMatch()
62 mOptionSetter.setOptionValue("throw-error", "false"); in testWarningMatch()
68 mOptionSetter.setOptionValue("property-name", PROPERTY); in testWarningMismatch()
69 mOptionSetter.setOptionValue("expected-value", BAD_VALUE); in testWarningMismatch()
70 mOptionSetter.setOptionValue("throw-error", "false"); in testWarningMismatch()
76 mOptionSetter.setOptionValue("property-name", PROPERTY); in testErrorMatch()
77 mOptionSetter.setOptionValue("expected-value", ACTUAL_VALUE); in testErrorMatch()
[all …]
DMediaPreparerTest.java47 private OptionSetter mOptionSetter; field in MediaPreparerTest
55 mOptionSetter = new OptionSetter(mMediaPreparer); in setUp()
86 mOptionSetter.setOptionValue("media-folder-name", "unittest"); in testSetModuleDirMountPoint()
147 mOptionSetter.setOptionValue("push-all", "true"); in testMediaFilesExistOnDeviceTrueWithPushAll()
169 mOptionSetter.setOptionValue("skip-media-download", "true"); in testSkipMediaDownload()
177 mOptionSetter.setOptionValue("push-all", "true"); in testPushAll()
178 mOptionSetter.setOptionValue("media-folder-name", "unittest"); in testPushAll()
198 mOptionSetter.setOptionValue("push-all", "true"); in testWithBothPushAllAndImagesOnly()
199 mOptionSetter.setOptionValue("images-only", "true"); in testWithBothPushAllAndImagesOnly()
216 mOptionSetter.setOptionValue("local-media-path", "/fake/media/dir"); in testMediaDownloadOnly_existsOnDevice()
DDeviceInteractionHelperInstallerTest.java52 private OptionSetter mOptionSetter = null; field in DeviceInteractionHelperInstallerTest
68 mOptionSetter = new OptionSetter(mPreparer); in setUp()
183 mOptionSetter.setOptionValue("default-package", "com.fallback"); in testFallbackPackageOptionOverridesDefault()
207 mOptionSetter.setOptionValue("property-name", "ro.other_property"); in testDevicePropertyOptionOverridesDefault()