Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The addition to #477 #480

Merged
merged 2 commits into from
Sep 30, 2016
Merged

The addition to #477 #480

merged 2 commits into from
Sep 30, 2016

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

@@ -22,26 +22,23 @@

@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