Package net.lucidviews.geoalgo.limb.refine

Examples of net.lucidviews.geoalgo.limb.refine.LeanBeanLimbRefiner.refine()


 
  public void testNominal() throws Exception
  {
    LeanBeanLimbRefiner testObj = new LeanBeanLimbRefiner();
    testObj.setDefaultBeanProperties( "edges,label,position" );
    testObj.refine( this.limb, null, null );
   
    assertNotNull( this.limb.getEdges() );
    assertNull( this.limb.getFeature() );
    assertNull( this.limb.getIntersection() );
    assertNotNull( this.limb.getLabel() );
View Full Code Here


 
  public void testNullPropertyList() throws Exception
  {
    LeanBeanLimbRefiner testObj = new LeanBeanLimbRefiner();
    testObj.setDefaultBeanProperties( null );
    testObj.refine( this.limb, null, null );
   
    assertNotNull( this.limb.getEdges() );
    assertNotNull( this.limb.getFeature() );
    assertNotNull( this.limb.getIntersection() );
    assertNotNull( this.limb.getLabel() );
View Full Code Here

 
  public void testDefaultPropertyListIsUsedWhenOptionsIsNull() throws Exception
  {
    LeanBeanLimbRefiner testObj = new LeanBeanLimbRefiner();
    testObj.setDefaultBeanProperties( "edges,label,position" );
    testObj.refine( this.limb, null, null );
   
    assertNotNull( this.limb.getEdges() );
    assertNull( this.limb.getFeature() );
    assertNull( this.limb.getIntersection() );
    assertNotNull( this.limb.getLabel() );
View Full Code Here

    Options options = new Options();
    options.setLimbPropertiesToKeep( null );
   
    LeanBeanLimbRefiner testObj = new LeanBeanLimbRefiner();
    testObj.setDefaultBeanProperties( "edges,label,position" );
    testObj.refine( this.limb, null, options );
   
    assertNotNull( this.limb.getEdges() );
    assertNull( this.limb.getFeature() );
    assertNull( this.limb.getIntersection() );
    assertNotNull( this.limb.getLabel() );
View Full Code Here

    Options options = new Options();
    options.setLimbPropertiesToKeep( "feature,intersection,label" );
   
    LeanBeanLimbRefiner testObj = new LeanBeanLimbRefiner();
    testObj.setDefaultBeanProperties( "edges,label,position" );
    testObj.refine( this.limb, null, options );
   
    assertNull( this.limb.getEdges() );
    assertNotNull( this.limb.getFeature() );
    assertNotNull( this.limb.getIntersection() );
    assertNotNull( this.limb.getLabel() );
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.