MCPcopy Create free account

hub / github.com/Abelzzg/AutoTestProject / functions

Functions577 in github.com/Abelzzg/AutoTestProject

↓ 65 callersMethodgetCurrentActivity
Returns the current Activity. @return the current Activity
app/src/main/java/com/robotium/solo/Solo.java:951
↓ 40 callersMethodsleep
Robotium will sleep for the specified time. @param time the time in milliseconds that Robotium should sleep
app/src/main/java/com/robotium/solo/Solo.java:3761
↓ 39 callersMethodgetSmallTimeout
Gets the default timeout length of the get, is, set, assert, enter, type and click methods. @return the timeout length in milliseconds
app/src/main/java/com/robotium/solo/Timeout.java:65
↓ 36 callersMethodlogWriter
(String p_info, Object p_expected, Object p_actual, String p_result)
app/src/main/java/com/zzg/robotium/lib/ReportLib.java:215
↓ 22 callersMethodwaitForAndGetView
Waits for and returns a View. @param index the index of the view @param classToFilterby the class to filter @return the specified View
app/src/main/java/com/robotium/solo/Waiter.java:645
↓ 21 callersMethodgetValue
Returns the value. @return the value
app/src/main/java/com/robotium/solo/By.java:102
↓ 19 callersMethodgetCurrentViews
Returns an ArrayList of the Views currently displayed in the focused Activity or Dialog. @return an {@code ArrayList} of the {@link View} objects cur
app/src/main/java/com/robotium/solo/Solo.java:3181
↓ 16 callersMethodexecuteJavaScriptFunction
Executes the given JavaScript function @param function the function as a String @return true if JavaScript function was executed
app/src/main/java/com/robotium/solo/WebUtils.java:264
↓ 16 callersFunctionfinished
()
app/src/main/java/com/robotium/solo/RobotiumWeb.js:278
↓ 15 callersMethodgetLocationOnScreen
Returns the WebElements location on screen.
app/src/main/java/com/robotium/solo/WebElement.java:49
↓ 15 callersMethodsleepMini
Sleeps the current thread for a default mini pause length.
app/src/main/java/com/robotium/solo/Sleeper.java:21
↓ 13 callersMethodgetLargeTimeout
Gets the default timeout length of the waitFor methods. @return the timeout length in milliseconds
app/src/main/java/com/robotium/solo/Timeout.java:55
↓ 13 callersMethodgetView
Returns a View matching the specified resource id. @param id the R.id of the {@link View} to return @return a {@link View} matching the specified id
app/src/main/java/com/robotium/solo/Solo.java:2982
↓ 13 callersMethodshotScreen
(String shotImage)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:166
↓ 13 callersMethodwaitForView
Waits for a View matching the specified resource id. Default timeout is 20 seconds. @param id the R.id of the {@link View} to wait for @return {@code
app/src/main/java/com/robotium/solo/Solo.java:440
↓ 12 callersMethodgetCurrentTime
()
app/src/main/java/com/zzg/robotium/lib/CommonLib.java:9
↓ 12 callersMethodgetName
Returns the name. @return the name
app/src/main/java/com/robotium/solo/WebElement.java:121
↓ 12 callersMethodsearchWithTimeoutFor
Searches for a {@code View} with the given regex string and returns {@code true} if the searched {@code Button} is found a given number of times. Will
app/src/main/java/com/robotium/solo/Searcher.java:70
↓ 11 callersMethodfield
Get a field from the object @param name the name of the field @return a field reference
app/src/main/java/com/robotium/solo/Reflect.java:35
↓ 11 callersMethodgetText
Returns a TextView matching the specified index. @param index the index of the {@link TextView}. {@code 0} if only one is available @return a {@link
app/src/main/java/com/robotium/solo/Solo.java:2838
↓ 11 callersMethodremoveInvisibleViews
Removes invisible Views. @param viewList an Iterable with Views that is being checked for invisible Views @return a filtered Iterable with no invisib
app/src/main/java/com/robotium/solo/RobotiumUtils.java:31
↓ 10 callersMethodclickOnScreen
Clicks the specified coordinates. @param x the x coordinate @param y the y coordinate
app/src/main/java/com/robotium/solo/Solo.java:1123
↓ 10 callersMethodgetInput_LogPath
()
app/src/main/java/com/zzg/robotium/lib/InputDataStore.java:82
↓ 10 callersMethodgetPackageName
获取软件包名 @return
app/src/main/java/com/zzg/robotium/lib/Tools.java:116
↓ 10 callersMethodgetRecyclerView
Waits for a RecyclerView and returns it. @param recyclerViewIndex the index of the RecyclerView @return {@code ViewGroup} if RecycleView is displayed
app/src/main/java/com/robotium/solo/ViewFetcher.java:409
↓ 9 callersMethodclickOnView
点击控件 @param id 控件ID
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:109
↓ 9 callersMethodgetView
(String id)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:96
↓ 9 callersMethodhideSoftKeyboard
Hides the soft keyboard.
app/src/main/java/com/robotium/solo/Solo.java:3467
↓ 9 callersMethodout
Constructs this object @param outclazz the output type @return <T> T
app/src/main/java/com/robotium/solo/Reflect.java:67
↓ 9 callersMethodscrollList
Scrolls a list. @param absListView the list to be scrolled @param direction the direction to be scrolled @param allTheWay {@code true} to scroll the
app/src/main/java/com/robotium/solo/Scroller.java:260
↓ 9 callersMethodverifyEquals
(String p_message, Object p_expected, Object p_actual)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:286
↓ 9 callersMethodwaitForViews
Waits for two views to be shown. @param scrollMethod {@code true} if it's a method used for scrolling @param classes the classes to wait for @return
app/src/main/java/com/robotium/solo/Waiter.java:273
↓ 8 callersFunctionclickElement
(element)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:28
↓ 8 callersMethodclickOn
Clicks on a {@code View} of a specific class, with a given text. @param viewClass what kind of {@code View} to click, e.g. {@code Button.class} or {@
app/src/main/java/com/robotium/solo/Clicker.java:464
↓ 8 callersMethodformat
(LogRecord rec)
app/src/main/java/com/zzg/robotium/lib/Report.java:168
↓ 8 callersFunctionpromptElement
(element)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:239
↓ 8 callersMethodscrollDown
Scrolls down the screen. @return {@code true} if more scrolling can be performed and {@code false} if it is at the end of the screen
app/src/main/java/com/robotium/solo/Solo.java:1935
↓ 8 callersMethodwaitForView
Waits for the specified View. Default timeout is 20 seconds. @param id the id of {@link View} object to wait for @return {@code true} if the {@link V
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:119
↓ 7 callersMethodclickOnScreen
Clicks on a given coordinate on the screen. @param x the x coordinate @param y the y coordinate
app/src/main/java/com/robotium/solo/Clicker.java:77
↓ 7 callersMethodgetAllViews
Returns views from the shown DecorViews. @param onlySufficientlyVisible if only sufficiently visible views should be returned @return all the views c
app/src/main/java/com/robotium/solo/ViewFetcher.java:90
↓ 7 callersMethodgetFreshestView
Tries to guess which view is the most likely to be interesting. Returns the most recently drawn view, which presumably will be the one that the user w
app/src/main/java/com/robotium/solo/ViewFetcher.java:375
↓ 7 callersMethodgetInstance
()
app/src/main/java/com/zzg/robotium/lib/InputDataStore.java:29
↓ 7 callersMethodisButtonChecked
Checks if a {@link CompoundButton} with a given index is checked. @param expectedClass the expected class, e.g. {@code CheckBox.class} or {@code Radi
app/src/main/java/com/robotium/solo/Checker.java:44
↓ 7 callersMethodprint
(String message)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:502
↓ 7 callersMethodsleep
等待1秒
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:756
↓ 7 callersMethodwaitForDialogToOpen
Waits for a Dialog to open. Default timeout is 20 seconds. @return {@code true} if the {@link android.app.Dialog} is opened before the timeout and {@
app/src/main/java/com/robotium/solo/Solo.java:1049
↓ 6 callersMethodgetId
Returns the id. @return the id
app/src/main/java/com/robotium/solo/WebElement.java:101
↓ 6 callersMethodgetIdenticalView
Returns an identical View to the one specified. @param view the view to find @return identical view of the specified view
app/src/main/java/com/robotium/solo/ViewFetcher.java:497
↓ 6 callersMethodscroll
Scrolls up or down. @param direction the direction in which to scroll @return {@code true} if more scrolling can be done
app/src/main/java/com/robotium/solo/Scroller.java:155
↓ 6 callersMethodscrollListToLine
Scroll the list to a given line @param view the {@link AbsListView} to scroll @param line the line to scroll to
app/src/main/java/com/robotium/solo/Scroller.java:325
↓ 6 callersMethodsearchText
Searches for the specified text and returns {@code true} if at least one item is found displaying the expected text. Will automatically scroll when ne
app/src/main/java/com/robotium/solo/Solo.java:844
↓ 6 callersMethodsplitNameByUpperCase
Splits a name by upper case. @param name the name to split @return a String with the split name
app/src/main/java/com/robotium/solo/WebUtils.java:323
↓ 6 callersMethodwaitForText
Waits for the specified text to appear. Default timeout is 20 seconds. @param text the text to wait for, specified as a regular expression @return {@
app/src/main/java/com/robotium/solo/Solo.java:371
↓ 5 callersMethodsearchFor
Searches for a {@code View} with the given regex string and returns {@code true} if the searched {@code View} is found a given number of times. @para
app/src/main/java/com/robotium/solo/Searcher.java:102
↓ 5 callersMethodwaitForActivity
等待activity加载 @param name the class of the {@code Activity} to wait for. Example is: {@code MyActivity.class} @param timeout the amount of time in
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:308
↓ 5 callersMethodwaitForWebElement
Waits for a WebElement matching the specified By object. Default timeout is 20 seconds. @param by the By object. Examples are: {@code By.id("id")} an
app/src/main/java/com/robotium/solo/Solo.java:654
↓ 4 callersMethodclickOnText
Clicks a View or WebElement displaying the specified text. Will automatically scroll when needed. @param text the text to click. The parameter will b
app/src/main/java/com/robotium/solo/Solo.java:1496
↓ 4 callersMethoddrag
Simulate touching the specified location and dragging it to a new location. @param fromX X coordinate of the initial touch, in screen coordinates @p
app/src/main/java/com/robotium/solo/Solo.java:1918
↓ 4 callersMethoddrag
Simulate touching a specific location and dragging to a new location. This method was copied from {@code TouchUtils.java} in the Android Open Source
app/src/main/java/com/robotium/solo/Scroller.java:69
↓ 4 callersMethodgetAllOpenedActivities
Returns a {@code List} of all the opened/active activities. @return a {@code List} of all the opened/active activities
app/src/main/java/com/robotium/solo/ActivityUtils.java:85
↓ 4 callersMethodgetAttribute
Returns the value for the specified attribute. @return the value for the specified attribute
app/src/main/java/com/robotium/solo/WebElement.java:201
↓ 4 callersMethodgetClickCoordinates
Returns click coordinates for the specified view. @param view the view to get click coordinates from @return click coordinates for a specified view
app/src/main/java/com/robotium/solo/Clicker.java:216
↓ 4 callersMethodgetCurrentActivity
Returns the current {@code Activity}, after sleeping a default pause length. @param shouldSleepFirst whether to sleep a default pause first @return t
app/src/main/java/com/robotium/solo/ActivityUtils.java:222
↓ 4 callersMethodgetLocationY
Returns the Y location. @return the Y location
app/src/main/java/com/robotium/solo/WebElement.java:91
↓ 4 callersMethodgetRecentDecorView
Returns the most recent DecorView @param views the views to check @return the most recent DecorView
app/src/main/java/com/robotium/solo/ViewFetcher.java:127
↓ 4 callersMethodgetViews
Returns an ArrayList of all the View objects located in the focused Activity or Dialog. @return an {@code ArrayList} of the {@link View} objects loca
app/src/main/java/com/robotium/solo/Solo.java:315
↓ 4 callersMethodgetWindowDecorViews
Returns the WindorDecorViews shown on the screen. @return the WindorDecorViews shown on the screen
app/src/main/java/com/robotium/solo/ViewFetcher.java:562
↓ 4 callersMethodlogMatchesFound
Logs a (searchFor failed) message. @param regex the search string to log
app/src/main/java/com/robotium/solo/Searcher.java:330
↓ 4 callersMethodpressSoftKeyboard
Presses the soft keyboard search/next button. @param imeAction the action to be performed
app/src/main/java/com/robotium/solo/Presser.java:117
↓ 4 callersMethodscrollUp
Scrolls up the screen. @return {@code true} if more scrolling can be performed and {@code false} if it is at the top of the screen
app/src/main/java/com/robotium/solo/Solo.java:1980
↓ 4 callersMethodscrollView
Scrolls a ScrollView. @param direction the direction to be scrolled @return {@code true} if scrolling occurred, false if it did not
app/src/main/java/com/robotium/solo/Scroller.java:105
↓ 4 callersMethodsetEditText
Sets an {@code EditText} text @param index the index of the {@code EditText} @param text the text that should be set
app/src/main/java/com/robotium/solo/TextEnterer.java:44
↓ 4 callersMethodsetup
()
app/src/main/java/com/zzg/robotium/lib/Report.java:103
↓ 4 callersMethodwaitForFragment
Waits for a Fragment with a given Tag or id to appear. @param tag the name of the Tag or null if no Tag @param id the id of the Tag @param timeout th
app/src/main/java/com/robotium/solo/Waiter.java:682
↓ 3 callersMethodaddChildren
Adds all children of {@code viewGroup} (recursively) into {@code views}. @param views an {@code ArrayList} of {@code View}s @param
app/src/main/java/com/robotium/solo/ViewFetcher.java:246
↓ 3 callersMethodclickInList
Clicks the specified list line and returns an ArrayList of the TextView objects that the list line is displaying. Will use the first ListView it finds
app/src/main/java/com/robotium/solo/Solo.java:1680
↓ 3 callersMethodclickInRecyclerView
Clicks the specified item index and returns an ArrayList of the TextView objects that the item index is displaying. Will use the first RecyclerView it
app/src/main/java/com/robotium/solo/Solo.java:1765
↓ 3 callersMethodclickOnText
Clicks on a specific {@link TextView} displaying a given text. @param regex the text that should be clicked on. The parameter <strong>will</strong> b
app/src/main/java/com/robotium/solo/Clicker.java:430
↓ 3 callersMethodfilterViewsToSet
Filters all Views not within the given set. @param classSet contains all classes that are ok to pass the filter @param viewList the Iterable to filte
app/src/main/java/com/robotium/solo/RobotiumUtils.java:68
↓ 3 callersMethodgetCalcDate
(long millisecs)
app/src/main/java/com/zzg/robotium/lib/ReportLib.java:306
↓ 3 callersMethodgetLocationX
Returns the X location. @return the X location
app/src/main/java/com/robotium/solo/WebElement.java:81
↓ 3 callersMethodgetWebElements
Returns an ArrayList of all the WebElements displayed in the active WebView. @return an {@code ArrayList} of all the {@link WebElement} objects curre
app/src/main/java/com/robotium/solo/Solo.java:3258
↓ 3 callersMethodgetWebElementsFromWebViews
Returns an {@code ArrayList} of {@code TextView} objects based on the web elements shown @return an {@code ArrayList} of {@code TextView} objects bas
app/src/main/java/com/robotium/solo/WebElementCreator.java:51
↓ 3 callersMethodisActivityMatching
Compares Activity names. @param currentActivity the Activity that is currently active @param name the name to compare @return true if the Activity n
app/src/main/java/com/robotium/solo/Waiter.java:111
↓ 3 callersMethodisDialogOpen
Checks if a dialog is open. @return true if dialog is open
app/src/main/java/com/robotium/solo/DialogUtils.java:103
↓ 3 callersMethodlogWriter
@param caseName 用例名称 @param startTime 开始时间 @param endTime 结束时间 @param runTime 执行时间 @param p_totle 执行步骤 @param p_result 执行结果
app/src/main/java/com/zzg/robotium/lib/Report.java:151
↓ 3 callersMethodnewTeardown
case结束
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:340
↓ 3 callersMethodperformClick
(final View view, final boolean longClick)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:414
↓ 3 callersMethodpullDown
下拉
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:677
↓ 3 callersMethodremoveMonitor
Removes the AcitivityMonitor @param activityMonitor the ActivityMonitor to remove
app/src/main/java/com/robotium/solo/Waiter.java:196
↓ 3 callersMethodscrollViewAllTheWay
Scrolls a ScrollView to top or bottom. @param direction the direction to be scrolled
app/src/main/java/com/robotium/solo/Scroller.java:144
↓ 3 callersMethodsendKeyCode
Tells Robotium to send a key code: Right, Left, Up, Down, Enter or other. @param keycode the key code to be sent. Use {@link KeyEvent#KEYCODE_ENTER},
app/src/main/java/com/robotium/solo/Sender.java:39
↓ 2 callersMethodaddActivityToStack
Adds an activity to the stack @param activity the activity to add
app/src/main/java/com/robotium/solo/ActivityUtils.java:242
↓ 2 callersMethodclickOnButton
(String p_Text)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:733
↓ 2 callersMethodclickOnWebElement
Clicks the specified WebElement. @param webElement the WebElement to click
app/src/main/java/com/robotium/solo/Solo.java:1264
↓ 2 callersMethodcloseLog
()
app/src/main/java/com/zzg/robotium/lib/Report.java:135
↓ 2 callersMethoddestroy
Destroys the process and closes the BufferedReader. @param p the process to destroy @param reader the BufferedReader to close
app/src/main/java/com/robotium/solo/Waiter.java:820
↓ 2 callersMethodenterTextIntoWebElement
Enters text into a web element using the given By method @param by the By object e.g. By.id("id"); @param text the text to enter
app/src/main/java/com/robotium/solo/WebUtils.java:200
↓ 2 callersMethodexecuteJavaScript
Executes JavaScript determined by the given By object @param by the By object e.g. By.id("id"); @param shouldClick true if click should be performed
app/src/main/java/com/robotium/solo/WebUtils.java:232
↓ 2 callersMethodfailIfIndexHigherThenChildCount
(ViewGroup viewGroup, int index, long endTime)
app/src/main/java/com/robotium/solo/Clicker.java:586
next →1–100 of 577, ranked by callers