[jira] Closed: (NANO-67) Specifying TestComp.jar location in tests

jira-yCVjj/[email protected] Wed, 7 Apr 2004 20:50:26 -0400 (EDT)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
Message:

   The following issue has been closed.

   Resolver: Aslak Hellesoy
       Date: Wed, 7 Apr 2004 8:48 PM

The system property has been there all the time....
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-67

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-67
    Summary: Specifying TestComp.jar  location in tests
       Type: Improvement

     Status: Closed
   Priority: Minor
 Resolution: INCOMPLETE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             core

   Assignee: 
   Reporter: Miguel A Paraz

    Created: Wed, 7 Apr 2004 9:53 AM
    Updated: Wed, 7 Apr 2004 8:48 PM

Description:
In DefaultReflectionFrontEndTestCase and JavascriptContainerBuilderTestCase, there is code like:

        // Paul's path to TestComp. PLEASE do not take out.
        //testcompJarFileName = "D:/DEV/nano/reflection/src/test-comp/TestComp.jar";

        assertNotNull("The testcomp.jar system property should point to nano/reflection/src/test-comp/TestComp.jar", testcompJarFileName);
        File testCompJar = new File(testcompJarFileName);
        File testCompJar2 = new File(testCompJar.getParentFile(), "TestComp2.jar");
        assertTrue(testCompJar.isFile());
        assertTrue(testCompJar2.isFile());


Can we make the filename configurable, like through a system property? Or we could pick it up from the classpath.


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

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

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