@Test public void configFileMerger() { ConfigSlurper cs = new ConfigSlurper(); ConfigObject co1 = cs.parse("a = '1'\n b = '2'"); assert "1" == co1.getProperty("a"); ConfigObject co2 = cs.parse("c='3'\n d='4'"); assert "3" == co2.getProperty("c"); ConfigObject f = GroovyDataProvider.mergeConfigObjects(co1, co2); assert "1" == f.getProperty("a"); assert "3" == f.getProperty("c"); }
static ConfigObject mergeConfigObjects(ConfigObject lowPriorityCO, ConfigObject highPriorityCO) { return (ConfigObject) lowPriorityCO.merge(highPriorityCO); }
GroovyDataProvider implements DataProvider { static ConfigObject mergeConfigObjects(ConfigObject lowPriorityCO, ConfigObject highPriorityCO) { return (ConfigObject) lowPriorityCO.merge(highPriorityCO); } }
GroovyDataProvider implements DataProvider { static ConfigObject mergeConfigObjects(ConfigObject lowPriorityCO, ConfigObject highPriorityCO) { return (ConfigObject) lowPriorityCO.merge(highPriorityCO); } GroovyDataProvider();  GroovyDataProvider(String connectorName);   GroovyDataProvider(URL configURL); }
GroovyDataProvider implements DataProvider { static ConfigObject mergeConfigObjects(ConfigObject lowPriorityCO, ConfigObject highPriorityCO) { return (ConfigObject) lowPriorityCO.merge(highPriorityCO); } GroovyDataProvider();  GroovyDataProvider(String connectorName);   GroovyDataProvider(URL configURL); Object get(String name, String type, boolean useDefault); @Override Object get(Class<?> dataTypeName, String name, String componentName,
            int sequenceNumber, boolean isMultivalue); @Override Object get(Class<?> dataTypeName, String name, String componentName); @Override String getString(String name, String componentName, int sequenceNumber); @Override String getString(String name, String componentName); @Override Object getTestSuiteAttribute(String propName); @Override Object getTestSuiteAttribute(String propName, String testName); @Override Object getConnectorAttribute(String propName); @Override Object get(String name); @Override Object generate(String pattern, Class<?> clazz); @Override Object generate(String pattern); @Override Object get(String name, int sequenceNumber); @Override Set<Attribute> getAttributeSet(final String propertySetName); @Override void loadConfiguration(final String configName, Configuration cfg); @Override void dispose(); }
GroovyDataProvider implements DataProvider { static ConfigObject mergeConfigObjects(ConfigObject lowPriorityCO, ConfigObject highPriorityCO) { return (ConfigObject) lowPriorityCO.merge(highPriorityCO); } GroovyDataProvider();  GroovyDataProvider(String connectorName);   GroovyDataProvider(URL configURL); Object get(String name, String type, boolean useDefault); @Override Object get(Class<?> dataTypeName, String name, String componentName,
            int sequenceNumber, boolean isMultivalue); @Override Object get(Class<?> dataTypeName, String name, String componentName); @Override String getString(String name, String componentName, int sequenceNumber); @Override String getString(String name, String componentName); @Override Object getTestSuiteAttribute(String propName); @Override Object getTestSuiteAttribute(String propName, String testName); @Override Object getConnectorAttribute(String propName); @Override Object get(String name); @Override Object generate(String pattern, Class<?> clazz); @Override Object generate(String pattern); @Override Object get(String name, int sequenceNumber); @Override Set<Attribute> getAttributeSet(final String propertySetName); @Override void loadConfiguration(final String configName, Configuration cfg); @Override void dispose(); static final String MULTI_VALUE_TYPE_PREFIX; }