Package org.constretto

Examples of org.constretto.ConfigurationStore.parseConfiguration()


public abstract class AbstractConfigurationStoreTest {

    @Test
    public void load() {
        ConfigurationStore store = getStore();
        Collection<TaggedPropertySet> props = store.parseConfiguration();
        assertNotNull(props);
        assertEquals("Unexpected number of tags loaded for " + store, 3, props.size());
        for (TaggedPropertySet prop : props) {
            String value = prop.getProperties().get("somedb.username");
            if (prop.tag().equals(ConfigurationValue.DEFAULT_TAG)) {
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.