14d296009281bee1b55ed42adffd6e8fe7975d6a,dipy/viz/tests/test_ui.py,,test_ui_checkbox,#Any#,555
Before Change
// 9. Click on text of option 4.
// 10. Click on button of option 3.
show_manager.record_events_to_file(recording_filename)
print(list(event_counter.events_counts.items()))
event_counter.save(expected_events_counts_filename)
else:
show_manager.play_events_from_file(recording_filename)
After Change
assert_arrays_equal(selected_options, expected)
del show_manager
if interactive:
checkbox_test = ui.Checkbox(labels=["option 1", "option 2\nOption 2",
"option 3", "option 4"],
position=(100, 100))
showm = window.ShowManager(size=(600, 600))
showm.ren.add(checkbox_test)
showm.start()
@npt.dec.skipif(not have_vtk or skip_it)
@xvfb_it
def test_ui_radio_button(interactive=False):
filename = "test_ui_radio_button"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: nipy/dipy
Commit Name: 14d296009281bee1b55ed42adffd6e8fe7975d6a
Time: 2018-08-13
Author: marc.cote.19@gmail.com
File Name: dipy/viz/tests/test_ui.py
Class Name:
Method Name: test_ui_checkbox
Project Name: nipy/dipy
Commit Name: 14d296009281bee1b55ed42adffd6e8fe7975d6a
Time: 2018-08-13
Author: marc.cote.19@gmail.com
File Name: dipy/viz/tests/test_ui.py
Class Name:
Method Name: test_ui_radio_button
Project Name: fizyr/keras-retinanet
Commit Name: 93618be71a23f12157497f7716e3e32a385e6680
Time: 2018-02-12
Author: mxvs112@gmail.com
File Name: keras_retinanet/callbacks/eval.py
Class Name: Evaluate
Method Name: on_epoch_end