java variables in annotations

Solutions on MaxInterview for java variables in annotations by the best coders in the world

showing results for - "java variables in annotations"
Johnny
05 Mar 2020
1import org.junit.Test;
2import static org.junit.Assert.*;
3
4public class MyTestClass
5{
6    private static final int TEST_TIMEOUT = 60000; // one minute per test
7
8    @Test(timeout=TEST_TIMEOUT)
9    public void testJDK()
10    {
11        assertTrue("Something is very wrong", Boolean.TRUE);
12    }
13}