java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java
changeset 136 230bd05dcfec
parent 122 f6c7168be1b7
child 145 0efefbf5f8b6
     1.1 --- a/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java	Mon May 24 20:25:55 2010 +0200
     1.2 +++ b/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java	Wed Jun 09 15:51:41 2010 +0200
     1.3 @@ -11,24 +11,25 @@
     1.4  public class GeoTest {
     1.5  
     1.6      private Geo geo = new Geo();
     1.7 +    private static final int CASOVY_LIMIT = 1000;
     1.8  
     1.9 -    @Test
    1.10 +    @Test(timeout = CASOVY_LIMIT)
    1.11      public void praha() {
    1.12  	testuj("Praha, Czech Republic", 50.0878114, 14.4204598);
    1.13      }
    1.14  
    1.15 -    @Test
    1.16 +    @Test(timeout = CASOVY_LIMIT)
    1.17      public void sanghaj() {
    1.18  	// https://frantovo.cz/blog/?q=cina-sanghaj-mesto-lide :-)
    1.19  	testuj("Shanghai, China", 31.230708, 121.472916);
    1.20      }
    1.21  
    1.22 -    @Test
    1.23 +    @Test(timeout = CASOVY_LIMIT)
    1.24      public void dallas() {
    1.25  	testuj("Dallas, TX", 32.802955, -96.769923);
    1.26      }
    1.27  
    1.28 -    @Test
    1.29 +    @Test(timeout = CASOVY_LIMIT)
    1.30      public void moskva() {
    1.31  	testuj("Moscow, Russia", 55.755786, 37.617633);
    1.32      }