Sign in
android
/
platform
/
external
/
testng
/
f5360f0
/
.
/
src
/
test
/
java
/
test
/
timeout
/
TestTimeOutSampleTest.java
blob: c92a510b2b91aff0dbbd30b418c181f11815f201 [
file
] [
log
] [
blame
]
package
test
.
timeout
;
import
org
.
testng
.
annotations
.
Test
;
public
class
TestTimeOutSampleTest
{
@Test
public
void
timeoutTest
()
{
try
{
Thread
.
sleep
(
2_000
);
}
catch
(
InterruptedException
handled
)
{
Thread
.
currentThread
().
interrupt
();
}
}
}