1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119<!DOCTYPE html>
120<html devsite>
121<head>
122
123
124    <meta name="top_category" value="develop" />
125
126    <meta name="subcategory" value="reference" />
127
128
129      <meta name="book_path" value="/reference/android/support/test/_book.yaml" />
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145<title>IdlingResourceTimeoutException</title>
146
147
148</head>
149
150<body class="gc-documentation develop reference api apilevel-">
151<div id="doc-api-level" class="" style="display:none"></div>
152
153
154
155
156<div id="naMessage"></div>
157
158<div id="api-info-block">
159<div class="api-level">
160
161
162
163
164</div>
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203<div class="sum-details-links">
204
205Summary:
206
207
208
209
210
211
212
213
214
215  <a href="#pubctors">Ctors</a>
216
217
218
219
220
221
222  &#124; <a href="#inhmethods">Inherited Methods</a>
223
224&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
225
226</div><!-- end sum-details-links -->
227</div><!-- end api-info-block -->
228
229<div class="api apilevel-" id="jd-content">
230
231<!-- ======== START OF CLASS DATA ======== -->
232
233<h1 class="api-title">IdlingResourceTimeoutException</h1>
234<p>
235<code class="api-signature">
236  public
237
238  final
239
240  class
241  IdlingResourceTimeoutException
242</code>
243<br>
244
245
246<code class="api-signature">
247
248
249
250</code>
251
252<code class="api-signature">
253
254
255
256</code>
257
258<code class="api-signature">
259
260
261
262</code>
263
264<code class="api-signature">
265
266    extends RuntimeException
267
268
269
270</code>
271
272<code class="api-signature">
273
274
275      implements
276
277        <a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a>
278
279
280
281</code>
282
283</p><table class="jd-inheritance-table">
284
285
286  <tr>
287
288    <td colspan="5" class="jd-inheritance-class-cell">java.lang.Object
289    </td>
290  </tr>
291
292
293  <tr>
294
295      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
296
297    <td colspan="4" class="jd-inheritance-class-cell">java.lang.Throwable
298    </td>
299  </tr>
300
301
302  <tr>
303
304      <td class="jd-inheritance-space">&nbsp;</td>
305
306      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
307
308    <td colspan="3" class="jd-inheritance-class-cell">java.lang.Exception
309    </td>
310  </tr>
311
312
313  <tr>
314
315      <td class="jd-inheritance-space">&nbsp;</td>
316
317      <td class="jd-inheritance-space">&nbsp;</td>
318
319      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
320
321    <td colspan="2" class="jd-inheritance-class-cell">java.lang.RuntimeException
322    </td>
323  </tr>
324
325
326  <tr>
327
328      <td class="jd-inheritance-space">&nbsp;</td>
329
330      <td class="jd-inheritance-space">&nbsp;</td>
331
332      <td class="jd-inheritance-space">&nbsp;</td>
333
334      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
335
336    <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.IdlingResourceTimeoutException
337    </td>
338  </tr>
339
340
341</table>
342
343
344
345
346<br><hr>
347
348
349  <p>Indicates that an <code><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></code>, which has been registered with the framework, has not
350 idled within the allowed time.
351
352 Since it is not safe to proceed with test execution while the registered resource is busy (as it
353 is likely to cause inconsistent results in the test), this is an unrecoverable error. The test
354 author should verify that the <code><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></code> interface has been implemented correctly.
355</p>
356
357
358
359
360
361
362
363<h2 class="api-section">Summary</h2>
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387<!-- ======== CONSTRUCTOR SUMMARY ======== -->
388<table id="pubctors" class="responsive constructors">
389<tr><th colspan="2"><h3>Public constructors</h3></th></tr>
390
391
392
393
394  <tr class="api apilevel-" >
395
396
397    <td width="100%">
398      <code>
399      <a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html#IdlingResourceTimeoutException(java.util.List<java.lang.String>)">IdlingResourceTimeoutException</a>(List&lt;String&gt; resourceNames)
400      </code>
401
402    </td>
403  </tr>
404
405
406
407</table>
408
409
410
411
412
413
414
415
416
417
418
419<!-- ========== METHOD SUMMARY =========== -->
420<table id="inhmethods" class="methods inhtable">
421<tr><th><h3>Inherited methods</h3></th></tr>
422
423
424
425
426
427
428<tr class="api apilevel-" >
429<td colspan="2">
430
431  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Throwable" class="jd-expando-trigger closed"
432          ><img height="34" id="inherited-methods-java.lang.Throwable-trigger"
433          src="/assets/images/styles/disclosure_down.png"
434          class="jd-expando-trigger-img" /></a>From
435class
436<code>
437
438    java.lang.Throwable
439
440</code>
441<div id="inherited-methods-java.lang.Throwable">
442  <div id="inherited-methods-java.lang.Throwable-list"
443        class="jd-inheritedlinks">
444  </div>
445  <div id="inherited-methods-java.lang.Throwable-summary" style="display: none;">
446    <table class="jd-sumtable-expando responsive">
447
448
449
450
451  <tr class="api apilevel-" >
452
453
454    <td><code>
455
456
457
458        final
459
460        void</code>
461    </td>
462
463    <td width="100%">
464      <code>
465      addSuppressed(Throwable arg0)
466      </code>
467
468    </td>
469  </tr>
470
471
472
473  <tr class="api apilevel-" >
474
475
476    <td><code>
477
478
479
480
481
482        Throwable</code>
483    </td>
484
485    <td width="100%">
486      <code>
487      fillInStackTrace()
488      </code>
489
490    </td>
491  </tr>
492
493
494
495  <tr class="api apilevel-" >
496
497
498    <td><code>
499
500
501
502
503
504        Throwable</code>
505    </td>
506
507    <td width="100%">
508      <code>
509      getCause()
510      </code>
511
512    </td>
513  </tr>
514
515
516
517  <tr class="api apilevel-" >
518
519
520    <td><code>
521
522
523
524
525
526        String</code>
527    </td>
528
529    <td width="100%">
530      <code>
531      getLocalizedMessage()
532      </code>
533
534    </td>
535  </tr>
536
537
538
539  <tr class="api apilevel-" >
540
541
542    <td><code>
543
544
545
546
547
548        String</code>
549    </td>
550
551    <td width="100%">
552      <code>
553      getMessage()
554      </code>
555
556    </td>
557  </tr>
558
559
560
561  <tr class="api apilevel-" >
562
563
564    <td><code>
565
566
567
568
569
570        StackTraceElement[]</code>
571    </td>
572
573    <td width="100%">
574      <code>
575      getStackTrace()
576      </code>
577
578    </td>
579  </tr>
580
581
582
583  <tr class="api apilevel-" >
584
585
586    <td><code>
587
588
589
590        final
591
592        Throwable[]</code>
593    </td>
594
595    <td width="100%">
596      <code>
597      getSuppressed()
598      </code>
599
600    </td>
601  </tr>
602
603
604
605  <tr class="api apilevel-" >
606
607
608    <td><code>
609
610
611
612
613
614        Throwable</code>
615    </td>
616
617    <td width="100%">
618      <code>
619      initCause(Throwable arg0)
620      </code>
621
622    </td>
623  </tr>
624
625
626
627  <tr class="api apilevel-" >
628
629
630    <td><code>
631
632
633
634
635
636        void</code>
637    </td>
638
639    <td width="100%">
640      <code>
641      printStackTrace()
642      </code>
643
644    </td>
645  </tr>
646
647
648
649  <tr class="api apilevel-" >
650
651
652    <td><code>
653
654
655
656
657
658        void</code>
659    </td>
660
661    <td width="100%">
662      <code>
663      printStackTrace(PrintWriter arg0)
664      </code>
665
666    </td>
667  </tr>
668
669
670
671  <tr class="api apilevel-" >
672
673
674    <td><code>
675
676
677
678
679
680        void</code>
681    </td>
682
683    <td width="100%">
684      <code>
685      printStackTrace(PrintStream arg0)
686      </code>
687
688    </td>
689  </tr>
690
691
692
693  <tr class="api apilevel-" >
694
695
696    <td><code>
697
698
699
700
701
702        void</code>
703    </td>
704
705    <td width="100%">
706      <code>
707      setStackTrace(StackTraceElement[] arg0)
708      </code>
709
710    </td>
711  </tr>
712
713
714
715  <tr class="api apilevel-" >
716
717
718    <td><code>
719
720
721
722
723
724        String</code>
725    </td>
726
727    <td width="100%">
728      <code>
729      toString()
730      </code>
731
732    </td>
733  </tr>
734
735
736
737    </table>
738  </div>
739</div>
740</td></tr>
741
742
743
744<tr class="api apilevel-" >
745<td colspan="2">
746
747  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
748          ><img height="34" id="inherited-methods-java.lang.Object-trigger"
749          src="/assets/images/styles/disclosure_down.png"
750          class="jd-expando-trigger-img" /></a>From
751class
752<code>
753
754    java.lang.Object
755
756</code>
757<div id="inherited-methods-java.lang.Object">
758  <div id="inherited-methods-java.lang.Object-list"
759        class="jd-inheritedlinks">
760  </div>
761  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
762    <table class="jd-sumtable-expando responsive">
763
764
765
766
767  <tr class="api apilevel-" >
768
769
770    <td><code>
771
772
773
774
775
776        Object</code>
777    </td>
778
779    <td width="100%">
780      <code>
781      clone()
782      </code>
783
784    </td>
785  </tr>
786
787
788
789  <tr class="api apilevel-" >
790
791
792    <td><code>
793
794
795
796
797
798        boolean</code>
799    </td>
800
801    <td width="100%">
802      <code>
803      equals(Object arg0)
804      </code>
805
806    </td>
807  </tr>
808
809
810
811  <tr class="api apilevel-" >
812
813
814    <td><code>
815
816
817
818
819
820        void</code>
821    </td>
822
823    <td width="100%">
824      <code>
825      finalize()
826      </code>
827
828    </td>
829  </tr>
830
831
832
833  <tr class="api apilevel-" >
834
835
836    <td><code>
837
838
839
840        final
841
842        Class&lt;?&gt;</code>
843    </td>
844
845    <td width="100%">
846      <code>
847      getClass()
848      </code>
849
850    </td>
851  </tr>
852
853
854
855  <tr class="api apilevel-" >
856
857
858    <td><code>
859
860
861
862
863
864        int</code>
865    </td>
866
867    <td width="100%">
868      <code>
869      hashCode()
870      </code>
871
872    </td>
873  </tr>
874
875
876
877  <tr class="api apilevel-" >
878
879
880    <td><code>
881
882
883
884        final
885
886        void</code>
887    </td>
888
889    <td width="100%">
890      <code>
891      notify()
892      </code>
893
894    </td>
895  </tr>
896
897
898
899  <tr class="api apilevel-" >
900
901
902    <td><code>
903
904
905
906        final
907
908        void</code>
909    </td>
910
911    <td width="100%">
912      <code>
913      notifyAll()
914      </code>
915
916    </td>
917  </tr>
918
919
920
921  <tr class="api apilevel-" >
922
923
924    <td><code>
925
926
927
928
929
930        String</code>
931    </td>
932
933    <td width="100%">
934      <code>
935      toString()
936      </code>
937
938    </td>
939  </tr>
940
941
942
943  <tr class="api apilevel-" >
944
945
946    <td><code>
947
948
949
950        final
951
952        void</code>
953    </td>
954
955    <td width="100%">
956      <code>
957      wait(long arg0, int arg1)
958      </code>
959
960    </td>
961  </tr>
962
963
964
965  <tr class="api apilevel-" >
966
967
968    <td><code>
969
970
971
972        final
973
974        void</code>
975    </td>
976
977    <td width="100%">
978      <code>
979      wait(long arg0)
980      </code>
981
982    </td>
983  </tr>
984
985
986
987  <tr class="api apilevel-" >
988
989
990    <td><code>
991
992
993
994        final
995
996        void</code>
997    </td>
998
999    <td width="100%">
1000      <code>
1001      wait()
1002      </code>
1003
1004    </td>
1005  </tr>
1006
1007
1008
1009    </table>
1010  </div>
1011</div>
1012</td></tr>
1013
1014
1015
1016
1017
1018
1019</table>
1020
1021
1022
1023<!-- XML Attributes -->
1024
1025
1026<!-- Enum Values -->
1027
1028
1029<!-- Constants -->
1030
1031
1032<!-- Fields -->
1033
1034
1035<!-- Public ctors -->
1036
1037
1038<!-- ========= CONSTRUCTOR DETAIL ======== -->
1039<h2 class="api-section">Public constructors</h2>
1040
1041
1042
1043<A NAME="IdlingResourceTimeoutException(java.util.List<java.lang.String>)"></A>
1044
1045<div class="api apilevel-">
1046    <h3 class="api-name">IdlingResourceTimeoutException</h3>
1047    <div class="api-level">
1048      <div></div>
1049
1050
1051
1052    </div>
1053<pre class="api-signature no-pretty-print">
1054IdlingResourceTimeoutException (List&lt;String&gt; resourceNames)</pre>
1055
1056
1057
1058
1059  <p></p>
1060    <table class="responsive">
1061    <tr><th colspan=2>Parameters</th></tr>
1062      <tr>
1063        <td><code>resourceNames</code></td>
1064        <td width="100%">
1065          <code>List</code>
1066          <!-- no parameter comment --></td>
1067      </tr>
1068    </table>
1069
1070</div>
1071
1072
1073
1074
1075
1076<!-- ========= CONSTRUCTOR DETAIL ======== -->
1077<!-- Protected ctors -->
1078
1079
1080
1081<!-- ========= METHOD DETAIL ======== -->
1082<!-- Public methdos -->
1083
1084
1085
1086<!-- ========= METHOD DETAIL ======== -->
1087
1088
1089
1090<!-- ========= END OF CLASS DATA ========= -->
1091
1092</div><!-- end jd-content -->
1093
1094
1095
1096<div class="data-reference-resources-wrapper">
1097
1098  <ul data-reference-resources>
1099
1100
1101    <li><h2>Interfaces</h2>
1102      <ul>
1103          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/BaseLayerComponent.html">BaseLayerComponent</a></li>
1104          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a></li>
1105          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/FailureHandler.html">FailureHandler</a></li>
1106          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></li>
1107          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html">IdlingResource.ResourceCallback</a></li>
1108          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/UiController.html">UiController</a></li>
1109          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></li>
1110          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></li>
1111          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></li>
1112          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteractionComponent.html">ViewInteractionComponent</a></li>
1113      </ul>
1114    </li>
1115
1116    <li><h2>Classes</h2>
1117      <ul>
1118          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.Builder.html">AmbiguousViewMatcherException.Builder</a></li>
1119          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/DataInteraction.html">DataInteraction</a></li>
1120          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Espresso.html">Espresso</a></li>
1121          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/GraphHolder.html">GraphHolder</a></li>
1122          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicies.html">IdlingPolicies</a></li>
1123          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicy.html">IdlingPolicy</a></li>
1124          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.Builder.html">NoMatchingViewException.Builder</a></li>
1125          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></li>
1126          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.html">Root</a></li>
1127          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></li>
1128          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteraction.html">ViewInteraction</a></li>
1129      </ul>
1130    </li>
1131
1132
1133    <li><h2>Exceptions</h2>
1134      <ul>
1135          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></li>
1136          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AppNotIdleException.html">AppNotIdleException</a></li>
1137          <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html">IdlingResourceTimeoutException</a></li>
1138          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/InjectEventSecurityException.html">InjectEventSecurityException</a></li>
1139          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoActivityResumedException.html">NoActivityResumedException</a></li>
1140          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingRootException.html">NoMatchingRootException</a></li>
1141          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></li>
1142          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></li>
1143      </ul>
1144    </li>
1145
1146  </ul>
1147
1148</div>
1149
1150
1151
1152</body>
1153</html>
1154