1.1 --- a/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/TexyTest.java Sat Jun 19 14:37:11 2010 +0200
1.2 +++ b/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/TexyTest.java Sun Jun 20 14:46:47 2010 +0200
1.3 @@ -12,22 +12,22 @@
1.4 */
1.5 public class TexyTest {
1.6
1.7 - private Texy texy = new Texy();
1.8 - private static final int CASOVY_LIMIT = 1000;
1.9 + private Texy texy = new Texy();
1.10 + private static final int CASOVY_LIMIT = 1000;
1.11
1.12 - @Test(timeout = CASOVY_LIMIT)
1.13 - public void prostyText() throws TexyVyjimka {
1.14 - testuj("", "");
1.15 - testuj("ahoj", "<p>ahoj</p>");
1.16 - }
1.17 + @Test(timeout = CASOVY_LIMIT)
1.18 + public void prostyText() throws TexyVyjimka {
1.19 + testuj("", "");
1.20 + testuj("ahoj", "<p>ahoj</p>");
1.21 + }
1.22
1.23 - @Test(timeout = CASOVY_LIMIT)
1.24 - public void nadpisy() throws TexyVyjimka {
1.25 - testuj("===Nadpis===", "<h1>Nadpis</h1>");
1.26 - }
1.27 + @Test(timeout = CASOVY_LIMIT)
1.28 + public void nadpisy() throws TexyVyjimka {
1.29 + testuj("===Nadpis===", "<h1>Nadpis</h1>");
1.30 + }
1.31
1.32 - private void testuj(String vstup, String pozadovanyVystup) throws TexyVyjimka {
1.33 - String vystup = texy.preved(vstup);
1.34 - assertEquals(pozadovanyVystup, vystup);
1.35 - }
1.36 + private void testuj(String vstup, String pozadovanyVystup) throws TexyVyjimka {
1.37 + String vystup = texy.preved(vstup);
1.38 + assertEquals(pozadovanyVystup, vystup);
1.39 + }
1.40 }