guillaume cornet created SECURITY-706:
-----------------------------------------
Summary: LdapAttributeMappingProvider2UnitTestCase's setup failed
Key: SECURITY-706
URL:
https://issues.jboss.org/browse/SECURITY-706
Project: PicketBox
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: PicketBox
Affects Versions: PicketBox_v4_0_9.Final
Environment: RHEL 6.3
Reporter: guillaume cornet
Assignee: Anil Saldhana
Priority: Minor
Get this exception when running Picketbox tests.
This error occurred because my project is located in a folder which contains
'space' characters.
Running org.jboss.test.security.mapping.LdapAttributeMappingProvider2UnitTestCase
Found log4j.xml:
file:/home/gcornet/Documents/BDF/02%20-%20workspace/picketbox/4.0.9.Final/security-jboss-sx/jbosssx/target/test-classes/log4j.xml
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.599 sec <<<
FAILURE!
testLDAPAttributes(org.jboss.test.security.mapping.LdapAttributeMappingProvider2UnitTestCase)
Time elapsed: 3.58 sec <<< ERROR!
java.lang.IllegalArgumentException: LDIF
file:file:/home/gcornet/Documents/BDF/02%20-%20workspace/picketbox/4.0.9.Final/security-jboss-sx/jbosssx/target/test-classes/ldap/ldapAttributes.ldif
does not exist
at org.jboss.test.security.ldap.OpenDSUtil.addLDIF(OpenDSUtil.java:47)
at
org.jboss.test.security.mapping.LdapAttributeMappingProvider2UnitTestCase.setUp(LdapAttributeMappingProvider2UnitTestCase.java:77)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
--
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