List Info

Thread: Created: (JCR-359) JCA project tests assume Windows paths




Created: (JCR-359) JCA project tests assume Windows paths
user name
2006-03-20 04:46:14
JCA project tests assume Windows paths
--------------------------------------

         Key: JCR-359
         URL: http://i
ssues.apache.org/jira/browse/JCR-359
     Project: Jackrabbit
        Type: Bug
 Environment: Linux, UNIX, BSD, MacOS X
    Reporter: Mark Slater
    Priority: Minor


The org.apache.jackrabbit.jca package in the top-level jca
directory has unit tests that assume a Windows environment.
It should be fixed to work in any environment. The best
solution may be to use a test repository configuration file
in the current directory.

The following is the start of the test case failures that I
got running on MacOS X.

Testsuite:
org.apache.jackrabbit.jca.test.ConnectionFactoryTest
Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.778
sec

Testcase:
testAllocation(org.apache.jackrabbit.jca.test.ConnectionFact
oryTest): Caused an ERROR
org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file could not be read.:
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (N
o such file or directory):
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (No such file or
directory)
org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file could not be read.:
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (N
o such file or directory):
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (No such file or
directory)
        at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
Repository(JCAManagedConnectionFactory.java:278)
        at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
ConnectionFactory(JCAManagedConnectionFactory.java:116)
        at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
ConnectionFactory(JCAManagedConnectionFactory.java:108)
        at
org.apache.jackrabbit.jca.test.ConnectionFactoryTest.testAll
ocation(ConnectionFactoryTest.java:43)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

Updated: (JCR-359) JCA project tests assume Windows paths
user name
2006-03-20 22:20:58
     [ http://issues.apache.org/jira/browse/JCR-359?page=all ]

Jukka Zitting updated JCR-359:
------------------------------

    Version: 1.0

> JCA project tests assume Windows paths
> --------------------------------------
>
>          Key: JCR-359
>          URL: http://i
ssues.apache.org/jira/browse/JCR-359
>      Project: Jackrabbit
>         Type: Bug
>     Versions: 1.0
>  Environment: Linux, UNIX, BSD, MacOS X
>     Reporter: Mark Slater
>     Priority: Minor

>
> The org.apache.jackrabbit.jca package in the top-level
jca directory has unit tests that assume a Windows
environment. It should be fixed to work in any environment.
The best solution may be to use a test repository
configuration file in the current directory.
> The following is the start of the test case failures
that I got running on MacOS X.
> Testsuite:
org.apache.jackrabbit.jca.test.ConnectionFactoryTest
> Tests run: 3, Failures: 0, Errors: 3, Time elapsed:
0.778 sec
> Testcase:
testAllocation(org.apache.jackrabbit.jca.test.ConnectionFact
oryTest): Caused an ERROR
>
org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file could not be read.:
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (N
> o such file or directory):
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (No such file or
directory)
>
org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file could not be read.:
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (N
> o such file or directory):
/Users/mark/Documents/school/whisper/jackrabbit/jackrabbit-t
runk/jca/c:\dev\jcr\repository.xml (No such file or
directory)
>         at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
Repository(JCAManagedConnectionFactory.java:278)
>         at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
ConnectionFactory(JCAManagedConnectionFactory.java:116)
>         at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.create
ConnectionFactory(JCAManagedConnectionFactory.java:108)
>         at
org.apache.jackrabbit.jca.test.ConnectionFactoryTest.testAll
ocation(ConnectionFactoryTest.java:43)
>         at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )