When the time out exceeds 1000 milliseconds (1 second), the ____ annotation is used to indicate that the method will fail

11. When the time out exceeds 1000 milliseconds (1 second), the ____ annotation is used to indicate that the method will fail.

  1. @AfterClass
  2. @Before
  3. @Test(timeout=1000)
  4. @After

Answer: C) @Test(timeout=1000)

Explanation:

When the time-out exceeds 1000 milliseconds (1 second), the @Test(timeout=1000) annotation is used to indicate that the method will fail.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.