use of com.nightscout.android.settings.SettingsActivity in project android-uploader by nightscout.
the class AndroidBarcodeTest method fakeActivityResult.
private void fakeActivityResult() {
Intent intent = createFakeScanIntent(jsonConfig);
SettingsActivity activity = Robolectric.buildActivity(SettingsActivity.class).create().start().resume().get();
activity.onActivityResult(IntentIntegrator.REQUEST_CODE, Activity.RESULT_OK, intent);
}
Aggregations