Package com.moesol.geoserver.sync.grouper

Source Code of com.moesol.geoserver.sync.grouper.ReconcileTestBase

/**
*
*  #%L
*  geoserver-sync-core
*  $Id:$
*  $HeadURL:$
*  %%
*  Copyright (C) 2013 Moebius Solutions Inc.
*  %%
*  This program is free software: you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as
*  published by the Free Software Foundation, either version 2 of the
*  License, or (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public
*  License along with this program.  If not, see
<http://www.gnu.org/licenses/gpl-2.0.html>.
*  #L%
*
*/

package com.moesol.geoserver.sync.grouper;




import com.moesol.geoserver.sync.json.Sha1SyncJson;
import com.moesol.geoserver.sync.json.Sha1SyncPositionHash;

import junit.framework.TestCase;

public class ReconcileTestBase extends TestCase {

  protected Sha1SyncJson makeJson() {
    return new Sha1SyncJson()
      .level(0)
      .hashes(new Sha1SyncPositionHash[0])
      .max(0);
  }

  protected Sha1SyncPositionHash makePosition(String p, String s) {
    return new Sha1SyncPositionHash().position(p).summary(s);
  }
 
  public void testNothing() {
  }

}
TOP

Related Classes of com.moesol.geoserver.sync.grouper.ReconcileTestBase

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.