Package org.openbel.framework.common

Examples of org.openbel.framework.common.SystemConfigurationFile


     * not exist or if the {@link SystemConfiguration} file is invalid.
     * </p>
     */
    @Before
    public void setup() {
        SystemConfigurationFile configAnnotation = getClass().getAnnotation(
                SystemConfigurationFile.class);
        if (configAnnotation == null) {
            fail("System configuration-based test does not declare SystemConfigurationFile annotation.");
            return;
        }

        try {
            createSystemConfiguration(new File(configAnnotation.path()));
        } catch (IOException ioex) {
            ioex.printStackTrace();
            fail(ioex.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of org.openbel.framework.common.SystemConfigurationFile

Copyright © 2018 www.massapicom. 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.