Home | History | Annotate | Download | only in uiautomator
      1 page.title=UiAutomatorTestCase
      2 parent.title=uiautomator
      3 parent.link=index.html
      4 @jd:body
      5 <style>
      6     h4.jd-details-title {background-color: #DEE8F1;}
      7 </style>
      8 <h2>Class Overview</h2>
      9 <p>UI automation tests should extend this class. This class provides access
     10  to the following:
     11 <ul>
     12 <li><code><a href="UiDevice.html">UiDevice</a></code> instance</li>
     13 <li>Bundle for command line parameters</li>
     14 </ul>
     15 </p>
     16 
     17 <div class="jd-descr">
     18 
     19 
     20 <h2>Summary</h2>
     21 
     22 
     23 
     24 
     25 
     26 
     27 
     28 
     29 
     30 
     31 
     32 
     33 
     34 
     35 
     36 
     37 
     38 
     39 
     40 
     41 
     42 
     43 
     44 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
     45 <table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
     46 
     47 
     48 
     49 	 
     50     <tr class="api" >
     51         <td class="jd-typecol">
     52             
     53             
     54             
     55             
     56             
     57             
     58         </td>
     59         <td class="jd-linkcol" width="100%">
     60         <span class="sympad"><a href="#UiAutomatorTestCase()">UiAutomatorTestCase</a></span>()
     61         
     62   </td></tr>
     63 
     64 
     65 
     66 </table>
     67 
     68 
     69 
     70 
     71 
     72 
     73 <!-- ========== METHOD SUMMARY =========== -->
     74 <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
     75 
     76 
     77 
     78 	 
     79     <tr class="api" >
     80         <td class="jd-typecol">
     81             
     82             
     83             
     84             
     85             
     86             <a href="IAutomationSupport.html">IAutomationSupport</a>
     87         </td>
     88         <td class="jd-linkcol" width="100%">
     89         <span class="sympad"><a href="#getAutomationSupport()">getAutomationSupport</a></span>()
     90         
     91         <div class="jd-descrdiv">Provides support for running tests to report interim status</div>
     92   
     93   </td></tr>
     94 
     95 
     96 	 
     97     <tr class="api" >
     98         <td class="jd-typecol">
     99             
    100             
    101             
    102             
    103             
    104             Bundle
    105         </td>
    106         <td class="jd-linkcol" width="100%">
    107         <span class="sympad"><a href="#getParams()">getParams</a></span>()
    108         
    109         <div class="jd-descrdiv">Get command line parameters.</div>
    110   
    111   </td></tr>
    112 
    113 
    114 	 
    115     <tr class="api" >
    116         <td class="jd-typecol">
    117             
    118             
    119             
    120             
    121             
    122             <a href="UiDevice.html">UiDevice</a>
    123         </td>
    124         <td class="jd-linkcol" width="100%">
    125         <span class="sympad"><a href="#getUiDevice()">getUiDevice</a></span>()
    126         
    127         <div class="jd-descrdiv">Get current instance of <code><a href="UiDevice.html">UiDevice</a></code>.</div>
    128   
    129   </td></tr>
    130 
    131 
    132 	 
    133     <tr class="api" >
    134         <td class="jd-typecol">
    135             
    136             
    137             
    138             
    139             
    140             void
    141         </td>
    142         <td class="jd-linkcol" width="100%">
    143         <span class="sympad"><a href="#sleep(long)">sleep</a></span>(long ms)
    144         
    145         <div class="jd-descrdiv">Calls <code><a href="null#sleep(long)">sleep(long)</a></code> to sleep</div>
    146   
    147   </td></tr>
    148 
    149 
    150 
    151 </table>
    152 
    153 
    154 
    155 
    156 
    157 
    158 
    159 <!-- ========== METHOD SUMMARY =========== -->
    160 <table id="inhmethods" class="jd-sumtable"><tr><th>
    161   <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
    162   <div style="clear:left;">Inherited Methods</div></th></tr>
    163 
    164 
    165 <tr class="api apilevel-" >
    166 <td colspan="12">
    167   <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-junit.framework.TestCase" class="jd-expando-trigger closed"
    168           ><img id="inherited-methods-junit.framework.TestCase-trigger"
    169           src="../../../../../assets/images/triangle-closed.png"
    170           class="jd-expando-trigger-img" /></a>
    171 From class
    172 
    173   junit.framework.TestCase
    174 
    175 <div id="inherited-methods-junit.framework.TestCase">
    176   <div id="inherited-methods-junit.framework.TestCase-list"
    177         class="jd-inheritedlinks">
    178   </div>
    179   <div id="inherited-methods-junit.framework.TestCase-summary" style="display: none;">
    180     <table class="jd-sumtable-expando">
    181     
    182 
    183 
    184 	 
    185     <tr class="api" >
    186         <td class="jd-typecol">
    187             
    188             
    189             
    190             
    191             
    192             int
    193         </td>
    194         <td class="jd-linkcol" width="100%">
    195         <span class="sympad">countTestCases</span>()
    196         
    197   </td></tr>
    198 
    199 
    200 	 
    201     <tr class="api" >
    202         <td class="jd-typecol">
    203             
    204             
    205             
    206             
    207             
    208             String
    209         </td>
    210         <td class="jd-linkcol" width="100%">
    211         <span class="sympad">getName</span>()
    212         
    213   </td></tr>
    214 
    215 
    216 	 
    217     <tr class="api" >
    218         <td class="jd-typecol">
    219             
    220             
    221             
    222             
    223             
    224             TestResult
    225         </td>
    226         <td class="jd-linkcol" width="100%">
    227         <span class="sympad">run</span>()
    228         
    229   </td></tr>
    230 
    231 
    232 	 
    233     <tr class="api" >
    234         <td class="jd-typecol">
    235             
    236             
    237             
    238             
    239             
    240             void
    241         </td>
    242         <td class="jd-linkcol" width="100%">
    243         <span class="sympad">run</span>(TestResult arg0)
    244         
    245   </td></tr>
    246 
    247 
    248 	 
    249     <tr class="api" >
    250         <td class="jd-typecol">
    251             
    252             
    253             
    254             
    255             
    256             void
    257         </td>
    258         <td class="jd-linkcol" width="100%">
    259         <span class="sympad">runBare</span>()
    260         
    261   </td></tr>
    262 
    263 
    264 	 
    265     <tr class="api" >
    266         <td class="jd-typecol">
    267             
    268             
    269             
    270             
    271             
    272             void
    273         </td>
    274         <td class="jd-linkcol" width="100%">
    275         <span class="sympad">setName</span>(String arg0)
    276         
    277   </td></tr>
    278 
    279 
    280 	 
    281     <tr class="api" >
    282         <td class="jd-typecol">
    283             
    284             
    285             
    286             
    287             
    288             String
    289         </td>
    290         <td class="jd-linkcol" width="100%">
    291         <span class="sympad">toString</span>()
    292         
    293   </td></tr>
    294 
    295 
    296 </table>
    297   </div>
    298 </div>
    299 </td></tr>
    300 
    301 
    302 
    303 <tr class="api apilevel-" >
    304 <td colspan="12">
    305   <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-junit.framework.Assert" class="jd-expando-trigger closed"
    306           ><img id="inherited-methods-junit.framework.Assert-trigger"
    307           src="../../../../../assets/images/triangle-closed.png"
    308           class="jd-expando-trigger-img" /></a>
    309 From class
    310 
    311   junit.framework.Assert
    312 
    313 <div id="inherited-methods-junit.framework.Assert">
    314   <div id="inherited-methods-junit.framework.Assert-list"
    315         class="jd-inheritedlinks">
    316   </div>
    317   <div id="inherited-methods-junit.framework.Assert-summary" style="display: none;">
    318     <table class="jd-sumtable-expando">
    319     
    320 
    321 
    322 	 
    323     <tr class="api" >
    324         <td class="jd-typecol">
    325             
    326             
    327             
    328             static
    329             
    330             void
    331         </td>
    332         <td class="jd-linkcol" width="100%">
    333         <span class="sympad">assertEquals</span>(short arg0, short arg1)
    334         
    335   </td></tr>
    336 
    337 
    338 	 
    339     <tr class="api" >
    340         <td class="jd-typecol">
    341             
    342             
    343             
    344             static
    345             
    346             void
    347         </td>
    348         <td class="jd-linkcol" width="100%">
    349         <span class="sympad">assertEquals</span>(String arg0, int arg1, int arg2)
    350         
    351   </td></tr>
    352 
    353 
    354 	 
    355     <tr class="api" >
    356         <td class="jd-typecol">
    357             
    358             
    359             
    360             static
    361             
    362             void
    363         </td>
    364         <td class="jd-linkcol" width="100%">
    365         <span class="sympad">assertEquals</span>(String arg0, short arg1, short arg2)
    366         
    367   </td></tr>
    368 
    369 
    370 	 
    371     <tr class="api" >
    372         <td class="jd-typecol">
    373             
    374             
    375             
    376             static
    377             
    378             void
    379         </td>
    380         <td class="jd-linkcol" width="100%">
    381         <span class="sympad">assertEquals</span>(char arg0, char arg1)
    382         
    383   </td></tr>
    384 
    385 
    386 	 
    387     <tr class="api" >
    388         <td class="jd-typecol">
    389             
    390             
    391             
    392             static
    393             
    394             void
    395         </td>
    396         <td class="jd-linkcol" width="100%">
    397         <span class="sympad">assertEquals</span>(String arg0, String arg1, String arg2)
    398         
    399   </td></tr>
    400 
    401 
    402 	 
    403     <tr class="api" >
    404         <td class="jd-typecol">
    405             
    406             
    407             
    408             static
    409             
    410             void
    411         </td>
    412         <td class="jd-linkcol" width="100%">
    413         <span class="sympad">assertEquals</span>(int arg0, int arg1)
    414         
    415   </td></tr>
    416 
    417 
    418 	 
    419     <tr class="api" >
    420         <td class="jd-typecol">
    421             
    422             
    423             
    424             static
    425             
    426             void
    427         </td>
    428         <td class="jd-linkcol" width="100%">
    429         <span class="sympad">assertEquals</span>(String arg0, double arg1, double arg2, double arg3)
    430         
    431   </td></tr>
    432 
    433 
    434 	 
    435     <tr class="api" >
    436         <td class="jd-typecol">
    437             
    438             
    439             
    440             static
    441             
    442             void
    443         </td>
    444         <td class="jd-linkcol" width="100%">
    445         <span class="sympad">assertEquals</span>(String arg0, long arg1, long arg2)
    446         
    447   </td></tr>
    448 
    449 
    450 	 
    451     <tr class="api" >
    452         <td class="jd-typecol">
    453             
    454             
    455             
    456             static
    457             
    458             void
    459         </td>
    460         <td class="jd-linkcol" width="100%">
    461         <span class="sympad">assertEquals</span>(byte arg0, byte arg1)
    462         
    463   </td></tr>
    464 
    465 
    466 	 
    467     <tr class="api" >
    468         <td class="jd-typecol">
    469             
    470             
    471             
    472             static
    473             
    474             void
    475         </td>
    476         <td class="jd-linkcol" width="100%">
    477         <span class="sympad">assertEquals</span>(Object arg0, Object arg1)
    478         
    479   </td></tr>
    480 
    481 
    482 	 
    483     <tr class="api" >
    484         <td class="jd-typecol">
    485             
    486             
    487             
    488             static
    489             
    490             void
    491         </td>
    492         <td class="jd-linkcol" width="100%">
    493         <span class="sympad">assertEquals</span>(boolean arg0, boolean arg1)
    494         
    495   </td></tr>
    496 
    497 
    498 	 
    499     <tr class="api" >
    500         <td class="jd-typecol">
    501             
    502             
    503             
    504             static
    505             
    506             void
    507         </td>
    508         <td class="jd-linkcol" width="100%">
    509         <span class="sympad">assertEquals</span>(String arg0, float arg1, float arg2, float arg3)
    510         
    511   </td></tr>
    512 
    513 
    514 	 
    515     <tr class="api" >
    516         <td class="jd-typecol">
    517             
    518             
    519             
    520             static
    521             
    522             void
    523         </td>
    524         <td class="jd-linkcol" width="100%">
    525         <span class="sympad">assertEquals</span>(String arg0, boolean arg1, boolean arg2)
    526         
    527   </td></tr>
    528 
    529 
    530 	 
    531     <tr class="api" >
    532         <td class="jd-typecol">
    533             
    534             
    535             
    536             static
    537             
    538             void
    539         </td>
    540         <td class="jd-linkcol" width="100%">
    541         <span class="sympad">assertEquals</span>(String arg0, String arg1)
    542         
    543   </td></tr>
    544 
    545 
    546 	 
    547     <tr class="api" >
    548         <td class="jd-typecol">
    549             
    550             
    551             
    552             static
    553             
    554             void
    555         </td>
    556         <td class="jd-linkcol" width="100%">
    557         <span class="sympad">assertEquals</span>(float arg0, float arg1, float arg2)
    558         
    559   </td></tr>
    560 
    561 
    562 	 
    563     <tr class="api" >
    564         <td class="jd-typecol">
    565             
    566             
    567             
    568             static
    569             
    570             void
    571         </td>
    572         <td class="jd-linkcol" width="100%">
    573         <span class="sympad">assertEquals</span>(String arg0, byte arg1, byte arg2)
    574         
    575   </td></tr>
    576 
    577 
    578 	 
    579     <tr class="api" >
    580         <td class="jd-typecol">
    581             
    582             
    583             
    584             static
    585             
    586             void
    587         </td>
    588         <td class="jd-linkcol" width="100%">
    589         <span class="sympad">assertEquals</span>(double arg0, double arg1, double arg2)
    590         
    591   </td></tr>
    592 
    593 
    594 	 
    595     <tr class="api" >
    596         <td class="jd-typecol">
    597             
    598             
    599             
    600             static
    601             
    602             void
    603         </td>
    604         <td class="jd-linkcol" width="100%">
    605         <span class="sympad">assertEquals</span>(String arg0, char arg1, char arg2)
    606         
    607   </td></tr>
    608 
    609 
    610 	 
    611     <tr class="api" >
    612         <td class="jd-typecol">
    613             
    614             
    615             
    616             static
    617             
    618             void
    619         </td>
    620         <td class="jd-linkcol" width="100%">
    621         <span class="sympad">assertEquals</span>(String arg0, Object arg1, Object arg2)
    622         
    623   </td></tr>
    624 
    625 
    626 	 
    627     <tr class="api" >
    628         <td class="jd-typecol">
    629             
    630             
    631             
    632             static
    633             
    634             void
    635         </td>
    636         <td class="jd-linkcol" width="100%">
    637         <span class="sympad">assertEquals</span>(long arg0, long arg1)
    638         
    639   </td></tr>
    640 
    641 
    642 	 
    643     <tr class="api" >
    644         <td class="jd-typecol">
    645             
    646             
    647             
    648             static
    649             
    650             void
    651         </td>
    652         <td class="jd-linkcol" width="100%">
    653         <span class="sympad">assertFalse</span>(String arg0, boolean arg1)
    654         
    655   </td></tr>
    656 
    657 
    658 	 
    659     <tr class="api" >
    660         <td class="jd-typecol">
    661             
    662             
    663             
    664             static
    665             
    666             void
    667         </td>
    668         <td class="jd-linkcol" width="100%">
    669         <span class="sympad">assertFalse</span>(boolean arg0)
    670         
    671   </td></tr>
    672 
    673 
    674 	 
    675     <tr class="api" >
    676         <td class="jd-typecol">
    677             
    678             
    679             
    680             static
    681             
    682             void
    683         </td>
    684         <td class="jd-linkcol" width="100%">
    685         <span class="sympad">assertNotNull</span>(String arg0, Object arg1)
    686         
    687   </td></tr>
    688 
    689 
    690 	 
    691     <tr class="api" >
    692         <td class="jd-typecol">
    693             
    694             
    695             
    696             static
    697             
    698             void
    699         </td>
    700         <td class="jd-linkcol" width="100%">
    701         <span class="sympad">assertNotNull</span>(Object arg0)
    702         
    703   </td></tr>
    704 
    705 
    706 	 
    707     <tr class="api" >
    708         <td class="jd-typecol">
    709             
    710             
    711             
    712             static
    713             
    714             void
    715         </td>
    716         <td class="jd-linkcol" width="100%">
    717         <span class="sympad">assertNotSame</span>(Object arg0, Object arg1)
    718         
    719   </td></tr>
    720 
    721 
    722 	 
    723     <tr class="api" >
    724         <td class="jd-typecol">
    725             
    726             
    727             
    728             static
    729             
    730             void
    731         </td>
    732         <td class="jd-linkcol" width="100%">
    733         <span class="sympad">assertNotSame</span>(String arg0, Object arg1, Object arg2)
    734         
    735   </td></tr>
    736 
    737 
    738 	 
    739     <tr class="api" >
    740         <td class="jd-typecol">
    741             
    742             
    743             
    744             static
    745             
    746             void
    747         </td>
    748         <td class="jd-linkcol" width="100%">
    749         <span class="sympad">assertNull</span>(Object arg0)
    750         
    751   </td></tr>
    752 
    753 
    754 	 
    755     <tr class="api" >
    756         <td class="jd-typecol">
    757             
    758             
    759             
    760             static
    761             
    762             void
    763         </td>
    764         <td class="jd-linkcol" width="100%">
    765         <span class="sympad">assertNull</span>(String arg0, Object arg1)
    766         
    767   </td></tr>
    768 
    769 
    770 	 
    771     <tr class="api" >
    772         <td class="jd-typecol">
    773             
    774             
    775             
    776             static
    777             
    778             void
    779         </td>
    780         <td class="jd-linkcol" width="100%">
    781         <span class="sympad">assertSame</span>(Object arg0, Object arg1)
    782         
    783   </td></tr>
    784 
    785 
    786 	 
    787     <tr class="api" >
    788         <td class="jd-typecol">
    789             
    790             
    791             
    792             static
    793             
    794             void
    795         </td>
    796         <td class="jd-linkcol" width="100%">
    797         <span class="sympad">assertSame</span>(String arg0, Object arg1, Object arg2)
    798         
    799   </td></tr>
    800 
    801 
    802 	 
    803     <tr class="api" >
    804         <td class="jd-typecol">
    805             
    806             
    807             
    808             static
    809             
    810             void
    811         </td>
    812         <td class="jd-linkcol" width="100%">
    813         <span class="sympad">assertTrue</span>(String arg0, boolean arg1)
    814         
    815   </td></tr>
    816 
    817 
    818 	 
    819     <tr class="api" >
    820         <td class="jd-typecol">
    821             
    822             
    823             
    824             static
    825             
    826             void
    827         </td>
    828         <td class="jd-linkcol" width="100%">
    829         <span class="sympad">assertTrue</span>(boolean arg0)
    830         
    831   </td></tr>
    832 
    833 
    834 	 
    835     <tr class="api" >
    836         <td class="jd-typecol">
    837             
    838             
    839             
    840             static
    841             
    842             void
    843         </td>
    844         <td class="jd-linkcol" width="100%">
    845         <span class="sympad">fail</span>(String arg0)
    846         
    847   </td></tr>
    848 
    849 
    850 	 
    851     <tr class="api" >
    852         <td class="jd-typecol">
    853             
    854             
    855             
    856             static
    857             
    858             void
    859         </td>
    860         <td class="jd-linkcol" width="100%">
    861         <span class="sympad">fail</span>()
    862         
    863   </td></tr>
    864 
    865 
    866 	 
    867     <tr class="api" >
    868         <td class="jd-typecol">
    869             
    870             
    871             
    872             static
    873             
    874             void
    875         </td>
    876         <td class="jd-linkcol" width="100%">
    877         <span class="sympad">failNotEquals</span>(String arg0, Object arg1, Object arg2)
    878         
    879   </td></tr>
    880 
    881 
    882 	 
    883     <tr class="api" >
    884         <td class="jd-typecol">
    885             
    886             
    887             
    888             static
    889             
    890             void
    891         </td>
    892         <td class="jd-linkcol" width="100%">
    893         <span class="sympad">failNotSame</span>(String arg0, Object arg1, Object arg2)
    894         
    895   </td></tr>
    896 
    897 
    898 	 
    899     <tr class="api" >
    900         <td class="jd-typecol">
    901             
    902             
    903             
    904             static
    905             
    906             void
    907         </td>
    908         <td class="jd-linkcol" width="100%">
    909         <span class="sympad">failSame</span>(String arg0)
    910         
    911   </td></tr>
    912 
    913 
    914 	 
    915     <tr class="api" >
    916         <td class="jd-typecol">
    917             
    918             
    919             
    920             static
    921             
    922             String
    923         </td>
    924         <td class="jd-linkcol" width="100%">
    925         <span class="sympad">format</span>(String arg0, Object arg1, Object arg2)
    926         
    927   </td></tr>
    928 
    929 
    930 </table>
    931   </div>
    932 </div>
    933 </td></tr>
    934 
    935 
    936 
    937 <tr class="api apilevel-" >
    938 <td colspan="12">
    939   <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
    940           ><img id="inherited-methods-java.lang.Object-trigger"
    941           src="../../../../../assets/images/triangle-closed.png"
    942           class="jd-expando-trigger-img" /></a>
    943 From class
    944 
    945   java.lang.Object
    946 
    947 <div id="inherited-methods-java.lang.Object">
    948   <div id="inherited-methods-java.lang.Object-list"
    949         class="jd-inheritedlinks">
    950   </div>
    951   <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
    952     <table class="jd-sumtable-expando">
    953     
    954 
    955 
    956 	 
    957     <tr class="api" >
    958         <td class="jd-typecol">
    959             
    960             
    961             
    962             
    963             
    964             boolean
    965         </td>
    966         <td class="jd-linkcol" width="100%">
    967         <span class="sympad">equals</span>(Object arg0)
    968         
    969   </td></tr>
    970 
    971 
    972 	 
    973     <tr class="api" >
    974         <td class="jd-typecol">
    975             
    976             
    977             final
    978             
    979             
    980             Class&lt;?&gt;
    981         </td>
    982         <td class="jd-linkcol" width="100%">
    983         <span class="sympad">getClass</span>()
    984         
    985   </td></tr>
    986 
    987 
    988 	 
    989     <tr class="api" >
    990         <td class="jd-typecol">
    991             
    992             
    993             
    994             
    995             
    996             int
    997         </td>
    998         <td class="jd-linkcol" width="100%">
    999         <span class="sympad">hashCode</span>()
   1000         
   1001   </td></tr>
   1002 
   1003 
   1004 	 
   1005     <tr class="api" >
   1006         <td class="jd-typecol">
   1007             
   1008             
   1009             final
   1010             
   1011             
   1012             void
   1013         </td>
   1014         <td class="jd-linkcol" width="100%">
   1015         <span class="sympad">notify</span>()
   1016         
   1017   </td></tr>
   1018 
   1019 
   1020 	 
   1021     <tr class="api" >
   1022         <td class="jd-typecol">
   1023             
   1024             
   1025             final
   1026             
   1027             
   1028             void
   1029         </td>
   1030         <td class="jd-linkcol" width="100%">
   1031         <span class="sympad">notifyAll</span>()
   1032         
   1033   </td></tr>
   1034 
   1035 
   1036 	 
   1037     <tr class="api" >
   1038         <td class="jd-typecol">
   1039             
   1040             
   1041             
   1042             
   1043             
   1044             String
   1045         </td>
   1046         <td class="jd-linkcol" width="100%">
   1047         <span class="sympad">toString</span>()
   1048         
   1049   </td></tr>
   1050 
   1051 
   1052 	 
   1053     <tr class="api" >
   1054         <td class="jd-typecol">
   1055             
   1056             
   1057             final
   1058             
   1059             
   1060             void
   1061         </td>
   1062         <td class="jd-linkcol" width="100%">
   1063         <span class="sympad">wait</span>()
   1064         
   1065   </td></tr>
   1066 
   1067 
   1068 	 
   1069     <tr class="api" >
   1070         <td class="jd-typecol">
   1071             
   1072             
   1073             final
   1074             
   1075             
   1076             void
   1077         </td>
   1078         <td class="jd-linkcol" width="100%">
   1079         <span class="sympad">wait</span>(long arg0, int arg1)
   1080         
   1081   </td></tr>
   1082 
   1083 
   1084 	 
   1085     <tr class="api" >
   1086         <td class="jd-typecol">
   1087             
   1088             
   1089             final
   1090             
   1091             
   1092             void
   1093         </td>
   1094         <td class="jd-linkcol" width="100%">
   1095         <span class="sympad">wait</span>(long arg0)
   1096         
   1097   </td></tr>
   1098 
   1099 
   1100 </table>
   1101   </div>
   1102 </div>
   1103 </td></tr>
   1104 
   1105 
   1106 
   1107 <tr class="api apilevel-" >
   1108 <td colspan="12">
   1109   <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-junit.framework.Test" class="jd-expando-trigger closed"
   1110           ><img id="inherited-methods-junit.framework.Test-trigger"
   1111           src="../../../../../assets/images/triangle-closed.png"
   1112           class="jd-expando-trigger-img" /></a>
   1113 From interface
   1114 
   1115   junit.framework.Test
   1116 
   1117 <div id="inherited-methods-junit.framework.Test">
   1118   <div id="inherited-methods-junit.framework.Test-list"
   1119         class="jd-inheritedlinks">
   1120   </div>
   1121   <div id="inherited-methods-junit.framework.Test-summary" style="display: none;">
   1122     <table class="jd-sumtable-expando">
   1123     
   1124 
   1125 
   1126 	 
   1127     <tr class="api" >
   1128         <td class="jd-typecol">
   1129             abstract
   1130             
   1131             
   1132             
   1133             
   1134             int
   1135         </td>
   1136         <td class="jd-linkcol" width="100%">
   1137         <span class="sympad">countTestCases</span>()
   1138         
   1139   </td></tr>
   1140 
   1141 
   1142 	 
   1143     <tr class="api" >
   1144         <td class="jd-typecol">
   1145             abstract
   1146             
   1147             
   1148             
   1149             
   1150             void
   1151         </td>
   1152         <td class="jd-linkcol" width="100%">
   1153         <span class="sympad">run</span>(TestResult arg0)
   1154         
   1155   </td></tr>
   1156 
   1157 
   1158 </table>
   1159   </div>
   1160 </div>
   1161 </td></tr>
   1162 
   1163 
   1164 </table>
   1165 
   1166 
   1167 </div><!-- jd-descr (summary) -->
   1168 
   1169 <!-- Details -->
   1170 
   1171 
   1172 
   1173 
   1174 
   1175 
   1176 
   1177 
   1178 <!-- XML Attributes -->
   1179 
   1180 
   1181 <!-- Enum Values -->
   1182 
   1183 
   1184 <!-- Constants -->
   1185 
   1186 
   1187 <!-- Fields -->
   1188 
   1189 
   1190 <!-- Public ctors -->
   1191 
   1192 
   1193 <!-- ========= CONSTRUCTOR DETAIL ======== -->
   1194 <h2>Public Constructors</h2>
   1195 
   1196 
   1197 
   1198 <a id="UiAutomatorTestCase()"></a>
   1199 
   1200 <div class="jd-details api "> 
   1201     <h4 class="jd-details-title">
   1202       <span class="normal">
   1203         public 
   1204          
   1205          
   1206          
   1207          
   1208         
   1209       </span>
   1210       <span class="sympad">UiAutomatorTestCase</span>
   1211       <span class="normal">()</span>
   1212     </h4>
   1213       <div class="api-level">
   1214         <div>
   1215 
   1216 </div>
   1217         
   1218   
   1219 
   1220       </div>
   1221     <div class="jd-details-descr">
   1222       
   1223   <div class="jd-tagdata jd-tagdescr"><p></p></div>
   1224 
   1225     </div>
   1226 </div>
   1227 
   1228 
   1229 
   1230 
   1231 
   1232 <!-- ========= CONSTRUCTOR DETAIL ======== -->
   1233 <!-- Protected ctors -->
   1234 
   1235 
   1236 
   1237 <!-- ========= METHOD DETAIL ======== -->
   1238 <!-- Public methdos -->
   1239 
   1240 <h2>Public Methods</h2>
   1241 
   1242 
   1243 
   1244 <a id="getAutomationSupport()"></a>
   1245 
   1246 <div class="jd-details api "> 
   1247     <h4 class="jd-details-title">
   1248       <span class="normal">
   1249         public 
   1250          
   1251          
   1252          
   1253          
   1254         <a href="IAutomationSupport.html">IAutomationSupport</a>
   1255       </span>
   1256       <span class="sympad">getAutomationSupport</span>
   1257       <span class="normal">()</span>
   1258     </h4>
   1259       <div class="api-level">
   1260         <div>
   1261 
   1262 </div>
   1263         
   1264   
   1265 
   1266       </div>
   1267     <div class="jd-details-descr">
   1268       
   1269   <div class="jd-tagdata jd-tagdescr"><p>Provides support for running tests to report interim status</p></div>
   1270 
   1271     </div>
   1272 </div>
   1273 
   1274 
   1275 <a id="getParams()"></a>
   1276 
   1277 <div class="jd-details api "> 
   1278     <h4 class="jd-details-title">
   1279       <span class="normal">
   1280         public 
   1281          
   1282          
   1283          
   1284          
   1285         Bundle
   1286       </span>
   1287       <span class="sympad">getParams</span>
   1288       <span class="normal">()</span>
   1289     </h4>
   1290       <div class="api-level">
   1291         <div>
   1292 
   1293 </div>
   1294         
   1295   
   1296 
   1297       </div>
   1298     <div class="jd-details-descr">
   1299       
   1300   <div class="jd-tagdata jd-tagdescr"><p>Get command line parameters. On the command line when passing <code>-e key value</code>
   1301  pairs, the Bundle will have the key value pairs conveniently available to the
   1302  tests.
   1303 </p></div>
   1304 
   1305     </div>
   1306 </div>
   1307 
   1308 
   1309 <a id="getUiDevice()"></a>
   1310 
   1311 <div class="jd-details api "> 
   1312     <h4 class="jd-details-title">
   1313       <span class="normal">
   1314         public 
   1315          
   1316          
   1317          
   1318          
   1319         <a href="UiDevice.html">UiDevice</a>
   1320       </span>
   1321       <span class="sympad">getUiDevice</span>
   1322       <span class="normal">()</span>
   1323     </h4>
   1324       <div class="api-level">
   1325         <div>
   1326 
   1327 </div>
   1328         
   1329   
   1330 
   1331       </div>
   1332     <div class="jd-details-descr">
   1333       
   1334   <div class="jd-tagdata jd-tagdescr"><p>Get current instance of <code><a href="UiDevice.html">UiDevice</a></code>. Works similar to calling the static
   1335  <code><a href="UiDevice.html#getInstance()">getInstance()</a></code> from anywhere in the test classes.
   1336 </p></div>
   1337 
   1338     </div>
   1339 </div>
   1340 
   1341 
   1342 <a id="sleep(long)"></a>
   1343 
   1344 <div class="jd-details api "> 
   1345     <h4 class="jd-details-title">
   1346       <span class="normal">
   1347         public 
   1348          
   1349          
   1350          
   1351          
   1352         void
   1353       </span>
   1354       <span class="sympad">sleep</span>
   1355       <span class="normal">(long ms)</span>
   1356     </h4>
   1357       <div class="api-level">
   1358         <div>
   1359 
   1360 </div>
   1361         
   1362   
   1363 
   1364       </div>
   1365     <div class="jd-details-descr">
   1366       
   1367   <div class="jd-tagdata jd-tagdescr"><p>Calls <code><a href="null#sleep(long)">sleep(long)</a></code> to sleep</p></div>
   1368   <div class="jd-tagdata">
   1369       <h5 class="jd-tagtitle">Parameters</h5>
   1370       <table class="jd-tagtable">
   1371         <tr>
   1372           <th>ms</th>
   1373           <td>is in milliseconds.
   1374 </td>
   1375         </tr>
   1376       </table>
   1377   </div>
   1378 
   1379     </div>
   1380 </div>
   1381 
   1382