fix for MakeLDIFTestCase in non-english locale
--This line, and th se below, will be ignored--
M opends/tests/unit-tests-testng/src/server/org/opends/server/tools/makeldif/MakeLDIFTestCase.java
| | |
| | | import org.testng.annotations.Test; |
| | | |
| | | import static org.testng.Assert.*; |
| | | import static org.opends.messages.ToolMessages.*; |
| | | |
| | | |
| | | /** |
| | |
| | | catch (InitializationException e) |
| | | { |
| | | String msg = e.getMessage(); |
| | | assertTrue( msg.contains("line 1"), msg ); |
| | | Message msg_locale = ERR_MAKELDIF_TAG_UNDEFINED_ATTRIBUTE.get("missingVar",1); |
| | | assertTrue (msg.equals(msg_locale.toString()), msg); |
| | | } |
| | | } |
| | | } |