Package com.moesol.geoserver.sync.json

Examples of com.moesol.geoserver.sync.json.Sha1SyncJson.max()


    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());
    }
   
    private void check(Sha1SyncJson sync, int i, String position, String summary) {
        assertEquals("at " + i, position, sync.hashes().get(i).position());
        assertEquals("at " + i, summary,  sync.hashes().get(i).summary());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.