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

Test source document #343

Merged
merged 4 commits into from
Dec 17, 2018
Merged

Test source document #343

merged 4 commits into from
Dec 17, 2018

Conversation

dpgraham
Copy link
Contributor

@mykola-mokhnach
Copy link
Contributor

Looks good, but hold on with tests please, until the original problem is fully addressed.

@dpgraham
Copy link
Contributor Author

@mykola-mokhnach How about we commit the tests now, and then afterwards I'll update the tests to reflect any new changes.

@mykola-mokhnach
Copy link
Contributor

I would prefer to wait. But if you are in rush...

@dpgraham
Copy link
Contributor Author

@mykola-mokhnach Sure... do you have any recommendations for other cases that we can test on SourceDocument? I'd like to get pretty good coverage.

@dpgraham dpgraham force-pushed the dpgraham-unit-tests branch from 0730124 to 59fda00 Compare December 17, 2018 21:40
@@ -317,4 +317,8 @@ public String toXMLString() throws AppiumException {
throw new XPathLookupException(xpathSelector, xe.getMessage());
}
}

public static void $setMaxTraverseDepth(int maxTraverseDepth) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather mark it as visibleForTesting

@dpgraham dpgraham merged commit f561b69 into master Dec 17, 2018
@dpgraham dpgraham deleted the dpgraham-unit-tests branch December 17, 2018 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants