DescriptionAdds two Python/PyAuto functions, GetProxySettings() and SetProxySetting(), that allow tests to read and manipulate Chrome OS proxy settings.
Fixes issue with proxy settings where they reset when changing only the port of a proxy without changing the URL. This happens when using the automation hooks because they create a new ProxyCrosSettingsProvider with each invocation. This is done by removing the caching behavior of ProxyCrosSettingsProvider.
Modifies the type of the "Port" textboxes in the Proxy Settings UI to Integer so that ProxyCrosSettingsProvider uses a consistent type for both Get() and Set().
BUG=chromium-os:13650, chromium-os:12727
TEST=Manual. Test included for GetProxySettings() that will run in the Autotest lab. stanleyw will add additional tests that use SetProxySetting().
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80537
Patch Set 1 : Initial commit. #
Total comments: 23
Patch Set 2 : Changes per comments. #Patch Set 3 : Fix Value* ownership from Get(). #Patch Set 4 : Remove cache_ and related function. #
Total comments: 12
Patch Set 5 : Other nits. #
Total comments: 1
Patch Set 6 : Add "OnChromeOS" to Python function names. #Patch Set 7 : Fix outdated header. #Messages
Total messages: 18 (0 generated)
|