Ok, we have some issue when running tests in eclipse. For instance, the
core-inteh operations/bind/SimpleITTest.java :
it takes the wrong errors.properties file (using the one in I18n/test
instead of I18n/main), and has this property file just contains data
used for i18n tests, we get a different error message.
This is annoying ...
On 2/22/10 3:26 PM, Felix Knecht wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry and thanks for fixing. I only run the shared project tests :(
Felix
On 22.02.2010 15:20, [email protected] wrote:
Author: elecharny
Date: Mon Feb 22 14:20:55 2010
New Revision: 912579
URL: http://svn.apache.org/viewvc?rev=912579&view=rev
Log:
Fixed failing tests due to i18n transition
Modified:
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java
Modified:
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java
URL:
http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java?rev=912579&r1=912578&r2=912579&view=diff
==============================================================================
---
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java
(original)
+++
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java
Mon Feb 22 14:20:55 2010
@@ -189,7 +189,7 @@
}
catch ( InvalidNameException ine )
{
- assertEquals( "No more characters available at position 5",
ine.getMessage() );
+ assertEquals( "ERR_04201 No more characters available at position
5", ine.getMessage() );
}
catch ( NamingException ne )
{
@@ -228,7 +228,7 @@
}
catch ( LdapAuthenticationException lae )
{
- assertEquals( "ERR_229 Cannot authenticate user
uid=unknown,ou=system", lae.getMessage() );
+ assertEquals( "ERR_229 (uid=unknown,ou=system)", lae.getMessage()
);
}
catch ( NamingException ne )
{
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuCk/gACgkQ2lZVCB08qHHlxgCeIG0mv/7RgHB0wvnSGoqcQSB1
EjcAoNxYs9uUwMZG3uuwH5htJ4KvJz4e
=pS8/
-----END PGP SIGNATURE-----
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com