Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The addition to #477#480

Merged
TikhomirovSergey merged 2 commits intoappium:masterappium/java-client:masterfrom
TikhomirovSergey:#477-additionCopy head branch name to clipboard
Sep 30, 2016
Merged

The addition to #477#480
TikhomirovSergey merged 2 commits intoappium:masterappium/java-client:masterfrom
TikhomirovSergey:#477-additionCopy head branch name to clipboard

Conversation

@TikhomirovSergey
Copy link
Contributor

Change list

  • the enum io.appium.java_client.android.ConfiguratorParameters was removed
  • new elements were added to the io.appium.java_client.android.Settings
  • refactoring of the io.appium.java_client.HasSettings.

Types of changes

What types of changes are you proposing/introducing to Java client?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

This change was made according to the conversation #477 (see the end)

- the enum `io.appium.java_client.android.ConfiguratorParameters` was removed
- new elements were added to the `io.appium.java_client.android.Settings`
- refactoring of the `io.appium.java_client.HasSettings`.
@TikhomirovSergey TikhomirovSergey added this to the 5.0.0 milestone Sep 28, 2016
@TikhomirovSergey
Copy link
Contributor Author

@SrinivasanTarget @truebit
Could you review it?

@@ -76,8 +76,7 @@ default void ignoreUnimportantViews(Boolean compress) {
* @param timeout in milliseconds, 0 would reset to its default value
Copy link
Contributor

@truebit truebit Sep 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

negative value would reset, not 0, for all configurator settings.Because in some circumstances, 0 would be used to disable timeouts on purpose. see here

@Test public void configuratorTest() {
driver.configuratorSetActionAcknowledgmentTimeout(5);
assertJSONElementContains("setActionAcknowledgmentTimeout", 5);
assertJSONElementContains(Setting.WAIT_ACTION_ACKNOWLEDGMENT_TIMEOUT, 5);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timeout value is in milliseconds. use 500 or more could be more understandable.

@TikhomirovSergey
Copy link
Contributor Author

@truebit ok

@TikhomirovSergey TikhomirovSergey merged commit 847a222 into appium:master Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.