1{ 2 "methods": { 3 "clickOnItem(int)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [ 9 "index" 10 ], 11 "returnType": "void", 12 "exceptions": [], 13 "name": "clickOnItem(int)", 14 "documentation": "Simulates a click on the {@code Dialog} item indicated by {@code index}. Handles both multi- and single-choice dialogs, tracks which items are currently\nchecked and calls listeners appropriately.\n\n@param index the index of the item to click on\n" 15 }, 16 "getAdapter()": { 17 "isImplementation": false, 18 "modifiers": [ 19 "public" 20 ], 21 "params": [], 22 "returnType": "android.widget.Adapter", 23 "exceptions": [], 24 "name": "getAdapter()" 25 }, 26 "getCustomTitleView()": { 27 "isImplementation": false, 28 "modifiers": [ 29 "public" 30 ], 31 "params": [], 32 "returnType": "android.view.View", 33 "exceptions": [], 34 "name": "getCustomTitleView()", 35 "documentation": "@return return the view set with {@link AlertDialog.Builder#setCustomTitle(View)}\n" 36 }, 37 "getCustomView()": { 38 "isImplementation": false, 39 "modifiers": [ 40 "public" 41 ], 42 "params": [], 43 "returnType": "android.widget.FrameLayout", 44 "exceptions": [], 45 "name": "getCustomView()" 46 }, 47 "getIconId()": { 48 "isImplementation": false, 49 "modifiers": [ 50 "public" 51 ], 52 "params": [], 53 "returnType": "int", 54 "exceptions": [], 55 "name": "getIconId()", 56 "documentation": "@return the icon set with {@link AlertDialog.Builder#setIcon(int)}\n" 57 }, 58 "getItems()": { 59 "isImplementation": false, 60 "modifiers": [ 61 "public" 62 ], 63 "params": [], 64 "returnType": "java.lang.CharSequence[]", 65 "exceptions": [], 66 "name": "getItems()", 67 "documentation": "@return the items that are available to be clicked on\n" 68 }, 69 "getLatestAlertDialog()": { 70 "isImplementation": false, 71 "modifiers": [ 72 "public", 73 "static" 74 ], 75 "params": [], 76 "returnType": "android.app.AlertDialog", 77 "exceptions": [], 78 "name": "getLatestAlertDialog()", 79 "documentation": "@return the most recently created {@code AlertDialog}, or null if none has been created during this test run\n" 80 }, 81 "getMessage()": { 82 "isImplementation": false, 83 "modifiers": [ 84 "public" 85 ], 86 "params": [], 87 "returnType": "java.lang.CharSequence", 88 "exceptions": [], 89 "name": "getMessage()", 90 "documentation": "@return the message displayed in the dialog\n" 91 }, 92 "getShadowAlertController()": { 93 "isImplementation": false, 94 "modifiers": [ 95 "private" 96 ], 97 "params": [], 98 "returnType": "org.robolectric.shadows.ShadowAlertController", 99 "exceptions": [], 100 "name": "getShadowAlertController()" 101 }, 102 "getTitle()": { 103 "isImplementation": false, 104 "modifiers": [ 105 "public" 106 ], 107 "params": [], 108 "returnType": "java.lang.CharSequence", 109 "exceptions": [], 110 "name": "getTitle()" 111 }, 112 "getView()": { 113 "isImplementation": false, 114 "modifiers": [ 115 "public" 116 ], 117 "params": [], 118 "returnType": "android.view.View", 119 "exceptions": [], 120 "name": "getView()", 121 "documentation": "@return the view set with {@link AlertDialog.Builder#setView(View)}\n" 122 }, 123 "reset()": { 124 "isImplementation": false, 125 "modifiers": [ 126 "public", 127 "static" 128 ], 129 "params": [], 130 "returnType": "void", 131 "exceptions": [], 132 "name": "reset()", 133 "documentation": "Resets the tracking of the most recently created {@code AlertDialog}\n" 134 }, 135 "show()": { 136 "isImplementation": false, 137 "modifiers": [ 138 "public" 139 ], 140 "params": [], 141 "returnType": "void", 142 "exceptions": [], 143 "name": "show()" 144 } 145 }, 146 "imports": [ 147 "android.app.AlertDialog", 148 "android.content.DialogInterface", 149 "android.view.View", 150 "android.widget.Adapter", 151 "android.widget.FrameLayout", 152 "com.android.internal.app.AlertController", 153 "org.robolectric.RuntimeEnvironment", 154 "org.robolectric.annotation.Implements", 155 "org.robolectric.annotation.RealObject", 156 "org.robolectric.shadow.api.Shadow", 157 "org.robolectric.util.ReflectionHelpers", 158 "org.robolectric.shadows.ShadowAlertDialog.ShadowBuilder" 159 ], 160 "name": "org.robolectric.shadows.ShadowAlertDialog" 161}