[JIRA-Opensymphony] Created: (WF-180) Test cases are dependant on being run from the right directory.

[email protected]
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WF-180


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WF-180
    Summary: Test cases are dependant on being run from the right directory.
       Type: Improvement

     Status: Assigned
   Priority: Minor

    Project: OSWorkflow
 Components: 
             Core
   Versions:
             2.5

   Assignee: Patrick Lightbody
   Reporter: Robert Dawson

    Created: Mon, 21 Jul 2003 3:28 AM
    Updated: Mon, 21 Jul 2003 3:28 AM

Description:
The test cases currently have hard coded file: statements in them.  A more flexible approach would be to do the following:
this.getClass().getClassLoader().getResource("auto1.xml").toString()

I have applied this to the test cases.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.