java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/TexyTest.java
changeset 129 420d7024f6f4
parent 119 d91f600c4645
child 132 1ca0d7fdbe51
     1.1 --- a/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/TexyTest.java	Mon May 24 19:00:43 2010 +0200
     1.2 +++ b/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/TexyTest.java	Tue Jun 08 07:37:05 2010 +0200
     1.3 @@ -12,14 +12,15 @@
     1.4  public class TexyTest {
     1.5  
     1.6      private Texy texy = new Texy();
     1.7 +    private static final int CASOVY_LIMIT = 1000;
     1.8  
     1.9 -    @Test
    1.10 +    @Test(timeout = CASOVY_LIMIT)
    1.11      public void prostyText() {
    1.12  	testuj("", "");
    1.13  	testuj("ahoj", "<p>ahoj</p>");
    1.14      }
    1.15  
    1.16 -    @Test
    1.17 +    @Test(timeout = CASOVY_LIMIT)
    1.18      public void nadpisy() {
    1.19  	testuj("===Nadpis===", "<h1>Nadpis</h1>");
    1.20      }