You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Felix Knecht <fe...@apache.org> on 2010/03/05 15:06:43 UTC

Re: svn commit: r912579 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/22/10 16:22, Emmanuel Lecharny wrote:
> 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 ...

We could remove the tests as
- - they are working
- - not of big need to test

Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuRD/MACgkQ2lZVCB08qHH7DQCgj5zseInNoI5g6UhouWxowgJc
nX8Anjz5Cb1quADfUuGSTSd+rL1unk6B
=dVty
-----END PGP SIGNATURE-----

Re: svn commit: r912579 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 3/6/10 8:44 AM, Felix Knecht wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/05/10 15:06, Felix Knecht wrote:
>    
>> On 02/22/10 16:22, Emmanuel Lecharny wrote:
>>      
>>> 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 ...
>>>        
> After some more thinking about this:
> What about only testing the error code "ERR_xxx" prefixing the error
> message? It should be the same no matter which language is used ?
>    
doh ! Why didn't I thougt about this solution ? Of course, this is the 
way to test the error !


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com



Re: svn commit: r912579 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/bind/SimpleBindIT.java

Posted by Felix Knecht <fe...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/05/10 15:06, Felix Knecht wrote:
> On 02/22/10 16:22, Emmanuel Lecharny wrote:
>> 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 ...

After some more thinking about this:
What about only testing the error code "ERR_xxx" prefixing the error
message? It should be the same no matter which language is used ?

Felix

> 
> We could remove the tests as
> - they are working
> - not of big need to test
> 
> Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuSB8sACgkQ2lZVCB08qHH+9QCfb6jF0r1sH72q9pKPm/JUy5NQ
DfIAoPAWUlLYi1Hmu5u8GDrlD5NcG+rW
=2/9t
-----END PGP SIGNATURE-----