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>FlakyTest</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<div class="sum-details-links"> 177 178Summary: 179 180 181 182 183 184 185 186 187 188 189 190 191 192 <a href="#inhmethods">Inherited Methods</a> 193 194| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 195 196</div><!-- end sum-details-links --> 197</div><!-- end api-info-block --> 198 199<div class="api apilevel-" id="jd-content"> 200 201<!-- ======== START OF CLASS DATA ======== --> 202 203<h1 class="api-title">FlakyTest</h1> 204<p> 205<code class="api-signature"> 206 public 207 208 209 abstract 210 @interface 211 FlakyTest 212</code> 213<br> 214 215 216<code class="api-signature"> 217 218 219 implements 220 221 Annotation 222 223 224 225</code> 226 227</p><table class="jd-inheritance-table"> 228 229 230 <tr> 231 232 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.filters.FlakyTest 233 </td> 234 </tr> 235 236 237</table> 238 239 240 241 242<br><hr> 243 244 245 <p>Designates a test as being flaky (non-deterministic). 246 <p/> 247 Can then be used to filter tests on execution using -e annotation or -e notAnnotation as 248 desired. 249</p> 250 251 252 253 254 255 256 257<h2 class="api-section">Summary</h2> 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290<!-- ========== METHOD SUMMARY =========== --> 291<table id="inhmethods" class="methods inhtable"> 292<tr><th><h3>Inherited methods</h3></th></tr> 293 294 295<tr class="api apilevel-" > 296<td colspan="2"> 297 298 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.annotation.Annotation" class="jd-expando-trigger closed" 299 ><img height="34" id="inherited-methods-java.lang.annotation.Annotation-trigger" 300 src="/assets/images/styles/disclosure_down.png" 301 class="jd-expando-trigger-img" /></a>From 302interface 303<code> 304 305 java.lang.annotation.Annotation 306 307</code> 308<div id="inherited-methods-java.lang.annotation.Annotation"> 309 <div id="inherited-methods-java.lang.annotation.Annotation-list" 310 class="jd-inheritedlinks"> 311 </div> 312 <div id="inherited-methods-java.lang.annotation.Annotation-summary" style="display: none;"> 313 <table class="jd-sumtable-expando responsive"> 314 315 316 317 318 <tr class="api apilevel-" > 319 320 321 <td><code> 322 abstract 323 324 325 326 327 Class<? extends Annotation></code> 328 </td> 329 330 <td width="100%"> 331 <code> 332 annotationType() 333 </code> 334 335 </td> 336 </tr> 337 338 339 340 <tr class="api apilevel-" > 341 342 343 <td><code> 344 abstract 345 346 347 348 349 boolean</code> 350 </td> 351 352 <td width="100%"> 353 <code> 354 equals(Object arg0) 355 </code> 356 357 </td> 358 </tr> 359 360 361 362 <tr class="api apilevel-" > 363 364 365 <td><code> 366 abstract 367 368 369 370 371 int</code> 372 </td> 373 374 <td width="100%"> 375 <code> 376 hashCode() 377 </code> 378 379 </td> 380 </tr> 381 382 383 384 <tr class="api apilevel-" > 385 386 387 <td><code> 388 abstract 389 390 391 392 393 String</code> 394 </td> 395 396 <td width="100%"> 397 <code> 398 toString() 399 </code> 400 401 </td> 402 </tr> 403 404 405 406 </table> 407 </div> 408</div> 409</td></tr> 410 411 412</table> 413 414 415 416<!-- XML Attributes --> 417 418 419<!-- Enum Values --> 420 421 422<!-- Constants --> 423 424 425<!-- Fields --> 426 427 428<!-- Public ctors --> 429 430 431 432<!-- ========= CONSTRUCTOR DETAIL ======== --> 433<!-- Protected ctors --> 434 435 436 437<!-- ========= METHOD DETAIL ======== --> 438<!-- Public methdos --> 439 440 441 442<!-- ========= METHOD DETAIL ======== --> 443 444 445 446<!-- ========= END OF CLASS DATA ========= --> 447 448</div><!-- end jd-content --> 449 450 451 452<div class="data-reference-resources-wrapper"> 453 454 <ul data-reference-resources> 455 456 <li><h2>Annotations</h2> 457 <ul> 458 <li class="selected api apilevel-"><a href="/reference/android/support/test/filters/FlakyTest.html">FlakyTest</a></li> 459 <li class="api apilevel-"><a href="/reference/android/support/test/filters/LargeTest.html">LargeTest</a></li> 460 <li class="api apilevel-"><a href="/reference/android/support/test/filters/MediumTest.html">MediumTest</a></li> 461 <li class="api apilevel-"><a href="/reference/android/support/test/filters/RequiresDevice.html">RequiresDevice</a></li> 462 <li class="api apilevel-"><a href="/reference/android/support/test/filters/SdkSuppress.html">SdkSuppress</a></li> 463 <li class="api apilevel-"><a href="/reference/android/support/test/filters/SmallTest.html">SmallTest</a></li> 464 <li class="api apilevel-"><a href="/reference/android/support/test/filters/Suppress.html">Suppress</a></li> 465 </ul> 466 </li> 467 468 469 470 471 472 </ul> 473 474</div> 475 476 477 478</body> 479</html> 480