| 156 |
maesenka |
1 |
/*
|
|
|
2 |
* $Id:$
|
|
|
3 |
*
|
|
|
4 |
* This file is part of Hibernate Spatial, an extension to the
|
|
|
5 |
* hibernate ORM solution for geographic data.
|
|
|
6 |
*
|
|
|
7 |
* Copyright © 2009 Geovise BVBA
|
|
|
8 |
*
|
|
|
9 |
* This library is free software; you can redistribute it and/or
|
|
|
10 |
* modify it under the terms of the GNU Lesser General Public
|
|
|
11 |
* License as published by the Free Software Foundation; either
|
|
|
12 |
* version 2.1 of the License, or (at your option) any later version.
|
|
|
13 |
*
|
|
|
14 |
* This library is distributed in the hope that it will be useful,
|
|
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
17 |
* Lesser General Public License for more details.
|
|
|
18 |
*
|
|
|
19 |
* You should have received a copy of the GNU Lesser General Public
|
|
|
20 |
* License along with this library; if not, write to the Free Software
|
|
|
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
22 |
*
|
|
|
23 |
* For more information, visit: http://www.hibernatespatial.org/
|
|
|
24 |
*/
|
|
|
25 |
|
|
|
26 |
package org.hibernatespatial.sqlserver.convertors;
|
|
|
27 |
|
|
|
28 |
import org.junit.Before;
|
|
|
29 |
import org.junit.Test;
|
|
|
30 |
|
|
|
31 |
/**
|
|
|
32 |
* Created by IntelliJ IDEA.
|
|
|
33 |
* User: maesenka
|
|
|
34 |
* Date: Jan 24, 2010
|
|
|
35 |
* Time: 5:33:19 PM
|
|
|
36 |
* To change this template use File | Settings | File Templates.
|
|
|
37 |
*/
|
|
|
38 |
public class GeometryCollectionConvertorTest extends AbstractConvertorTest{
|
|
|
39 |
|
|
|
40 |
@Before
|
|
|
41 |
public void setUp() {
|
|
|
42 |
doDecoding(OpenGisType.GEOMETRYCOLLECTION);
|
|
|
43 |
doEncoding();
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
@Test
|
|
|
47 |
public void test_encoding() {
|
|
|
48 |
super.test_encoding();
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
@Test
|
|
|
52 |
public void test_decoding() {
|
|
|
53 |
super.test_decoding();
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
}
|