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