android / android/testing-samples
Why "not
Open
- Dominant language
- Java
- Stars
- 9.3k
- Forks
- 3.6k
- PR merge metrics
- No merged PRs in 30d
Description
I don't understand why there has to be "not" in this statement?
onView(withText("South China Sea"))
.inRoot(withDecorView(not(is(mActivity.getWindow().getDecorView()))))
.check(matches(isDisplayed()));
Contributor guide
Research direction
Locate the Android testing sample containing the shown onView(...).inRoot(...).check(...) chain and read the surrounding test context first. Confirm what the not(...) expression is checking and document the purpose of that statement so a reader can understand why it is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100