Examples of IntegerProperty


Examples of ch.tatool.core.data.IntegerProperty

        max += Points.getMaxPointsProperty().getValue(trial, this, ZERO_POINTS);
      }
     
      // update the session data with the current execution totals
      ModuleSession session = context.getExecutionData().getModuleSession();
      IntegerProperty totalMinPointsProperty = Points.getTotalMinPointsProperty();
      IntegerProperty totalPointsProperty = Points.getTotalPointsProperty();
      IntegerProperty totalMaxPointsProperty = Points.getTotalMaxPointsProperty();
     
      // fetch the session total - we are sure it is initialized as we used ensureValue in session start
      int minSession = totalMinPointsProperty.getValue(session, this);
    int currSession = totalPointsProperty.getValue(session, this);
    int maxSession = totalMaxPointsProperty.getValue(session, this);
      minSession += min;
      currSession += curr;
      maxSession += max;
      totalMinPointsProperty.setValue(session, this, minSession);
      totalPointsProperty.setValue(session, this, currSession);
      totalMaxPointsProperty.setValue(session, this, maxSession);
    }
View Full Code Here

Examples of com.netflix.hystrix.strategy.properties.HystrixPropertiesChainedArchaiusProperty.IntegerProperty

    @Test
    public void testChainingInteger() throws Exception {

        DynamicIntegerProperty node1 = new DynamicIntegerProperty("node1", 1);
        IntegerProperty node2 = new HystrixPropertiesChainedArchaiusProperty.IntegerProperty("node2", node1);

        HystrixPropertiesChainedArchaiusProperty.IntegerProperty node3 = new HystrixPropertiesChainedArchaiusProperty.IntegerProperty("node3", node2);

        assertTrue("" + node3.get(), 1 == node3.get());
View Full Code Here

Examples of net.sourceforge.pmd.properties.IntegerProperty

   protected final Map< String, PropertyDescriptor > getThresholdedRuleProperties( final IThresholdedRule rule )
   {
      final Map< String, PropertyDescriptor > properties = new LinkedHashMap< String, PropertyDescriptor >();

      properties.put( rule.getThresholdName(),
                      new IntegerProperty( rule.getThresholdName(),
                                           "",
                                           rule.getDefaultThreshold(),
                                           properties.size() ) );

      return properties;
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

    public void clearTestElementChildren(){
        removeProperty(HEADER_MANAGER);
    }

    public void setPort(int value) {
        setProperty(new IntegerProperty(PORT, value));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

        setIncludeList(new HashSet<String>());
        setCaptureHttpHeaders(true); // maintain original behaviour
    }

    public void setPort(int port) {
        this.setProperty(new IntegerProperty(PORT, port));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

        setProperty(new BooleanProperty(CAPTURE_HTTP_HEADERS, capture));
    }

    public void setGroupingMode(int grouping) {
        this.groupingMode = grouping;
        setProperty(new IntegerProperty(GROUPING_MODE, grouping));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

        addAssertions = b;
        setProperty(new BooleanProperty(ADD_ASSERTIONS, b));
    }

    public void setSamplerTypeName(int samplerTypeName) {
        setProperty(new IntegerProperty(SAMPLER_TYPE_NAME, samplerTypeName));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

    public HttpMirrorControl(int port) {
        initPort(port);
    }

    private void initPort(int port){
        setProperty(new IntegerProperty(PORT, port));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

    protected OnErrorTestElement() {
        super();
    }

    public void setErrorAction(int value) {
        setProperty(new IntegerProperty(ON_ERROR_ACTION, value));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.IntegerProperty

            setProperty(new BooleanProperty(name, value));
        }
    }

    public void setProperty(String name, int value) {
        setProperty(new IntegerProperty(name, value));
    }
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.