Searched refs:radioGroup (Results 1 – 4 of 4) sorted by relevance
20 private RadioGroup radioGroup; field in ShadowRadioGroupTest25 radioGroup = new RadioGroup(context); in setUp()30 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(-1); in checkedRadioButtonId()31 radioGroup.check(99); in checkedRadioButtonId()32 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(99); in checkedRadioButtonId()38 radioGroup.setOnCheckedChangeListener(listener); in check_shouldCallOnCheckedChangeListener()40 radioGroup.check(BUTTON_ID); in check_shouldCallOnCheckedChangeListener()43 assertEquals(Collections.singletonList(radioGroup), listener.onCheckedChangedGroups); in check_shouldCallOnCheckedChangeListener()50 radioGroup.check(BUTTON_ID); in clearCheck_shouldCallOnCheckedChangeListenerTwice()51 radioGroup.setOnCheckedChangeListener(listener); in clearCheck_shouldCallOnCheckedChangeListenerTwice()[all …]
71 RadioGroup radioGroup = new RadioGroup(context); in shouldInformRadioGroupThatItIsChecked() local72 radioGroup.addView(radioButton1); in shouldInformRadioGroupThatItIsChecked()73 radioGroup.addView(radioButton2); in shouldInformRadioGroupThatItIsChecked()76 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(radioButton1.getId()); in shouldInformRadioGroupThatItIsChecked()79 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(radioButton2.getId()); in shouldInformRadioGroupThatItIsChecked()
20 private RadioGroup radioGroup; field in ShadowRadioGroupTest25 radioGroup = new RadioGroup(context); in setUp()30 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(-1); in checkedRadioButtonId()31 radioGroup.check(99); in checkedRadioButtonId()32 assertThat(radioGroup.getCheckedRadioButtonId()).isEqualTo(99); in checkedRadioButtonId()38 radioGroup.setOnCheckedChangeListener(listener); in check_shouldCallOnCheckedChangeListener()40 radioGroup.check(BUTTON_ID); in check_shouldCallOnCheckedChangeListener()43 assertEquals(Arrays.asList(radioGroup), listener.onCheckedChangedGroups); in check_shouldCallOnCheckedChangeListener()50 radioGroup.check(BUTTON_ID); in clearCheck_shouldCallOnCheckedChangeListenerTwice()51 radioGroup.setOnCheckedChangeListener(listener); in clearCheck_shouldCallOnCheckedChangeListenerTwice()[all …]