congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ConfigReader.getValues
Code IndexAdd Tabnine to your IDE (free)

How to use
getValues
method
in
org.chorusbdd.chorus.config.ConfigReader

Best Java code snippets using org.chorusbdd.chorus.config.ConfigReader.getValues (Showing top 4 results out of 315)

origin: Chorus-bdd/Chorus

List<FeatureToken> getFeatureList(ExecutionToken executionToken)  {
  return featureListBuilder.getFeatureList(
    executionToken,
    configReader.getValues(ChorusConfigProperty.FEATURE_PATHS),
    configReader.getValues(ChorusConfigProperty.STEPMACRO_PATHS),
    configReader.getValues(ChorusConfigProperty.TAG_EXPRESSION)
  );
}
origin: Chorus-bdd/Chorus

public String getSuiteName() {
  return configReader.isSet(ChorusConfigProperty.SUITE_NAME) ?
      concatenateName(configReader.getValues(ChorusConfigProperty.SUITE_NAME)) :
      "";
}
origin: Chorus-bdd/Chorus

private void configureSubsystems() {
  List<String> handlerClassBasePackages = configReader.getValues(ChorusConfigProperty.HANDLER_PACKAGES);
  subsystemManager.initializeSubsystems(handlerClassBasePackages);
  listenerSupport.addExecutionListeners(subsystemManager.getExecutionListeners());
}
origin: Chorus-bdd/Chorus

@Test
public void appendPropertyMayBeSetFromMultipleSources() throws InterpreterPropertyException {
  ConfigurationProperty propertyWithMinValues = new TestProperty(TestConfigProperty.HANDLER_PACKAGES) {
    public PropertySourceMode getPropertySourceMode() {
      return PropertySourceMode.APPEND;
    }
  };
  try {
    System.setProperty("chorusHandlerPackages", "secondvalue");
    ConfigReader c = new ConfigReader(Collections.singletonList(propertyWithMinValues), new String[] { "-h", "onevalue" });
    c.readConfiguration();
    List<String> values = c.getValues(propertyWithMinValues);
    assertEquals("property value count", 2, values.size());
  } finally {
    System.clearProperty("chorusHandlerPackages");
  }
}
org.chorusbdd.chorus.configConfigReadergetValues

Popular methods of ConfigReader

  • isSet
  • <init>
    Create a configuration using process arguments, System Properties and defaults
  • getValue
  • readConfiguration
  • checkIfMandatory
  • checkValueCount
  • checkValues
  • getOrCreatePropertyValues
  • isTrue
    for boolean properties, is the property set true
  • mergeProperties
  • mergeValues
  • validateProperties
  • mergeValues,
  • validateProperties

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • ImageIO (javax.imageio)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now