Package com.moesol.geoserver.sync.core

Examples of com.moesol.geoserver.sync.core.FeatureSha1.parseAttributesToInclude()


    Feature feature = m_samples.buildSimpleFeature("fid1");
    FeatureSha1 sync = new FeatureSha1();
    Sha1Value sha1 = sync.computeValueSha1(feature);
    assertEquals("56e82e2d2452830bbdb9bc1ce353a2e159996308", sha1.toString());
   
    sync.parseAttributesToInclude("-all");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("db90c50160c32f3517b7d3b1c78be70a7f2ba992", sha1.toString());
   
    sync.parseAttributesToInclude("name");
    sha1 = sync.computeValueSha1(feature);
View Full Code Here


   
    sync.parseAttributesToInclude("-all");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("db90c50160c32f3517b7d3b1c78be70a7f2ba992", sha1.toString());
   
    sync.parseAttributesToInclude("name");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("d4dc2740d2d92547f941bfaf677e11c9b99605ee", sha1.toString());

    sync.parseAttributesToInclude("name,classification");
    sha1 = sync.computeValueSha1(feature);
View Full Code Here

   
    sync.parseAttributesToInclude("name");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("d4dc2740d2d92547f941bfaf677e11c9b99605ee", sha1.toString());

    sync.parseAttributesToInclude("name,classification");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());
   

    sync.parseAttributesToInclude("classification,name");
View Full Code Here

    sync.parseAttributesToInclude("name,classification");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());
   

    sync.parseAttributesToInclude("classification,name");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());

    sync.parseAttributesToInclude("name,classification,height");
    sha1 = sync.computeValueSha1(feature);
View Full Code Here

    sync.parseAttributesToInclude("classification,name");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());

    sync.parseAttributesToInclude("name,classification,height");
    sha1 = sync.computeValueSha1(feature);
    assertEquals("db90c50160c32f3517b7d3b1c78be70a7f2ba992", sha1.toString());
  }
 
  public void testValueIdValue() throws ParseException {
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.