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>LargeTest</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">LargeTest</h1> 204<p> 205<code class="api-signature"> 206 public 207 208 209 abstract 210 @interface 211 LargeTest 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.LargeTest 233 </td> 234 </tr> 235 236 237</table> 238 239 240 241 242<br><hr> 243 244 245 <p>Annotation to assign a large test size qualifier to a test. This annotation can be used at a 246 method or class level. 247 <p> 248 Test size qualifiers are a great way to structure test code and are used to assign a test to a 249 test suite of similar run time. 250 <p> 251 Execution time: >1000ms 252 <p> 253 Large tests should be focused on testing integration of all application components. These tests 254 fully participate in the system and may make use of all resources such as databases, file systems 255 and network. As a rule of thumb most functional UI tests are large tests. 256 <p> 257 Note: 258 This class replaces the deprecated Android platform size qualifier 259 <code><a href="/">ERROR(/android.test.suitebuilder.annotation.LargeTest)</a></code> and is the recommended way to annotate 260 tests written with the Android Testing Support Library. 261</p> 262 263 264 265 266 267 268 269<h2 class="api-section">Summary</h2> 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302<!-- ========== METHOD SUMMARY =========== --> 303<table id="inhmethods" class="methods inhtable"> 304<tr><th><h3>Inherited methods</h3></th></tr> 305 306 307<tr class="api apilevel-" > 308<td colspan="2"> 309 310 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.annotation.Annotation" class="jd-expando-trigger closed" 311 ><img height="34" id="inherited-methods-java.lang.annotation.Annotation-trigger" 312 src="/assets/images/styles/disclosure_down.png" 313 class="jd-expando-trigger-img" /></a>From 314interface 315<code> 316 317 java.lang.annotation.Annotation 318 319</code> 320<div id="inherited-methods-java.lang.annotation.Annotation"> 321 <div id="inherited-methods-java.lang.annotation.Annotation-list" 322 class="jd-inheritedlinks"> 323 </div> 324 <div id="inherited-methods-java.lang.annotation.Annotation-summary" style="display: none;"> 325 <table class="jd-sumtable-expando responsive"> 326 327 328 329 330 <tr class="api apilevel-" > 331 332 333 <td><code> 334 abstract 335 336 337 338 339 Class<? extends Annotation></code> 340 </td> 341 342 <td width="100%"> 343 <code> 344 annotationType() 345 </code> 346 347 </td> 348 </tr> 349 350 351 352 <tr class="api apilevel-" > 353 354 355 <td><code> 356 abstract 357 358 359 360 361 boolean</code> 362 </td> 363 364 <td width="100%"> 365 <code> 366 equals(Object arg0) 367 </code> 368 369 </td> 370 </tr> 371 372 373 374 <tr class="api apilevel-" > 375 376 377 <td><code> 378 abstract 379 380 381 382 383 int</code> 384 </td> 385 386 <td width="100%"> 387 <code> 388 hashCode() 389 </code> 390 391 </td> 392 </tr> 393 394 395 396 <tr class="api apilevel-" > 397 398 399 <td><code> 400 abstract 401 402 403 404 405 String</code> 406 </td> 407 408 <td width="100%"> 409 <code> 410 toString() 411 </code> 412 413 </td> 414 </tr> 415 416 417 418 </table> 419 </div> 420</div> 421</td></tr> 422 423 424</table> 425 426 427 428<!-- XML Attributes --> 429 430 431<!-- Enum Values --> 432 433 434<!-- Constants --> 435 436 437<!-- Fields --> 438 439 440<!-- Public ctors --> 441 442 443 444<!-- ========= CONSTRUCTOR DETAIL ======== --> 445<!-- Protected ctors --> 446 447 448 449<!-- ========= METHOD DETAIL ======== --> 450<!-- Public methdos --> 451 452 453 454<!-- ========= METHOD DETAIL ======== --> 455 456 457 458<!-- ========= END OF CLASS DATA ========= --> 459 460</div><!-- end jd-content --> 461 462 463 464<div class="data-reference-resources-wrapper"> 465 466 <ul data-reference-resources> 467 468 <li><h2>Annotations</h2> 469 <ul> 470 <li class="api apilevel-"><a href="/reference/android/support/test/filters/FlakyTest.html">FlakyTest</a></li> 471 <li class="selected api apilevel-"><a href="/reference/android/support/test/filters/LargeTest.html">LargeTest</a></li> 472 <li class="api apilevel-"><a href="/reference/android/support/test/filters/MediumTest.html">MediumTest</a></li> 473 <li class="api apilevel-"><a href="/reference/android/support/test/filters/RequiresDevice.html">RequiresDevice</a></li> 474 <li class="api apilevel-"><a href="/reference/android/support/test/filters/SdkSuppress.html">SdkSuppress</a></li> 475 <li class="api apilevel-"><a href="/reference/android/support/test/filters/SmallTest.html">SmallTest</a></li> 476 <li class="api apilevel-"><a href="/reference/android/support/test/filters/Suppress.html">Suppress</a></li> 477 </ul> 478 </li> 479 480 481 482 483 484 </ul> 485 486</div> 487 488 489 490</body> 491</html> 492