Package com.moesol.geoserver.sync.json

Examples of com.moesol.geoserver.sync.json.Sha1SyncJson


    public void testComput_Level2_Empty() throws Exception {
    FeatureCollectionResponse featureCollectionResponse = buildSomeFeatures("US");

    m_sha1Sync.setCollection(featureCollectionResponse);
    m_sha1Sync.parseSha1SyncJson("{l:2,h:[]}");
    Sha1SyncJson sync = m_sha1Sync.compute();
   
        assertEquals(3, sync.level());
        assertEquals("result: " + sync, 0, sync.hashes().size());
        assertEquals(1L, sync.max());
    }
View Full Code Here

TOP

Related Classes of com.moesol.geoserver.sync.json.Sha1SyncJson

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.