@Test public void testSetParameters() throws Exception { System.out.println("setParameters"); Collection<CompoundVariable> parameters = new ArrayList<>(); parameters.add(new CompoundVariable("1.256")); parameters.add(new CompoundVariable("4.3346")); parameters.add(new CompoundVariable("5.3346")); ChooseRandom instance = new ChooseRandom(); instance.setParameters(parameters); }
@Override public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException { checkMinParameterCount(parameters, 3); values = parameters.toArray(); }
ChooseRandom extends AbstractFunction { @Override public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException { checkMinParameterCount(parameters, 3); values = parameters.toArray(); } }
ChooseRandom extends AbstractFunction { @Override public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException { checkMinParameterCount(parameters, 3); values = parameters.toArray(); } ChooseRandom(); }
ChooseRandom extends AbstractFunction { @Override public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException { checkMinParameterCount(parameters, 3); values = parameters.toArray(); } ChooseRandom(); @Override synchronized String execute(SampleResult previousResult, Sampler currentSampler); @Override synchronized void setParameters(Collection<CompoundVariable> parameters); @Override String getReferenceKey(); @Override List<String> getArgumentDesc(); }
ChooseRandom extends AbstractFunction { @Override public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException { checkMinParameterCount(parameters, 3); values = parameters.toArray(); } ChooseRandom(); @Override synchronized String execute(SampleResult previousResult, Sampler currentSampler); @Override synchronized void setParameters(Collection<CompoundVariable> parameters); @Override String getReferenceKey(); @Override List<String> getArgumentDesc();  }