[forge-issues] [JBoss JIRA] (FORGE-1729) Test harness should set the Configuration directory to use the test temp dir by default

Lincoln Baxter III (JIRA) issues at jboss.org
Mon Apr 7 13:16:14 EDT 2014


     [ https://issues.jboss.org/browse/FORGE-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed FORGE-1729.
-------------------------------------

    Fix Version/s: 2.4.2.Final
                       (was: 2.x Future)
       Resolution: Done


Done. Also implemented Furnace.isTestMode() to support
                
> Test harness should set the Configuration directory to use the test temp dir by default
> ---------------------------------------------------------------------------------------
>
>                 Key: FORGE-1729
>                 URL: https://issues.jboss.org/browse/FORGE-1729
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Configuration
>    Affects Versions: 2.3.0.Final
>            Reporter: Lincoln Baxter III
>            Assignee: Lincoln Baxter III
>             Fix For: 2.4.2.Final
>
>
> Currently the UserConfiguration references the current users home directory while running tests - it should use the available system property while running tests in order to direct the config dir to a temp location for that test execution:
> {code}
>    static final String USER_CONFIG_PATH = "org.jboss.forge.addon.configuration.USER_CONFIG_PATH";
>          String property = System.getProperty(USER_CONFIG_PATH);{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list