Skip to content

Add CheckBox status assertions

Compare
Choose a tag to compare
@rocboronat rocboronat released this 18 Apr 13:08
· 277 commits to master since this release
// Is the expected checkbox checked?
assertChecked("Checked checkbox");
assertChecked(R.string.checked_checkbox);
assertChecked(R.id.checked_checkbox);

// ...And the other checkbox unchecked?
assertUnchecked("Unchecked checkbox");
assertUnchecked(R.string.unchecked_checkbox);
assertUnchecked(R.id.unchecked_checkbox);