Author: rhauch
Date: 2008-04-25 00:02:32 -0400 (Fri, 25 Apr 2008)
New Revision: 110
Modified:
trunk/dna-common/src/test/java/org/jboss/dna/common/monitor/SimpleProgressMonitorTest.java
trunk/dna-common/src/test/resources/org/jboss/dna/common/monitor/SimpleProgressMonitorTest$I18nMessages_fr.properties
Log:
Test case did not properly specify unicode characters for expected French result, so
corrected that. (Interesting that the tests were problems on Linux but worked perfectly
on OS X.)
Modified:
trunk/dna-common/src/test/java/org/jboss/dna/common/monitor/SimpleProgressMonitorTest.java
===================================================================
---
trunk/dna-common/src/test/java/org/jboss/dna/common/monitor/SimpleProgressMonitorTest.java 2008-04-25
03:05:53 UTC (rev 109)
+++
trunk/dna-common/src/test/java/org/jboss/dna/common/monitor/SimpleProgressMonitorTest.java 2008-04-25
04:02:32 UTC (rev 110)
@@ -76,7 +76,7 @@
monitor.worked(10.0d);
ProgressStatus status = monitor.getStatus(Locale.FRANCE);
assertThat(status, is(notNullValue()));
- assertThat(status.getMessage(), is("t�che d'essai"));
+ assertThat(status.getMessage(), is("examinez le message"));
assertThat(status.getPercentWorked(), is(closeTo(10.0d, 0.001d)));
status = monitor.getStatus(Locale.ENGLISH);
@@ -101,7 +101,7 @@
monitor.worked(10.0d);
ProgressStatus status = monitor.getStatus(Locale.FRANCE);
assertThat(status, is(notNullValue()));
- assertThat(status.getMessage(), is("deuxi�me t�che d'essai 2"));
+ assertThat(status.getMessage(), is("examinez le message 2"));
assertThat(status.getPercentWorked(), is(closeTo(10.0d, 0.001d)));
status = monitor.getStatus(Locale.ENGLISH);
Modified:
trunk/dna-common/src/test/resources/org/jboss/dna/common/monitor/SimpleProgressMonitorTest$I18nMessages_fr.properties
===================================================================
---
trunk/dna-common/src/test/resources/org/jboss/dna/common/monitor/SimpleProgressMonitorTest$I18nMessages_fr.properties 2008-04-25
03:05:53 UTC (rev 109)
+++
trunk/dna-common/src/test/resources/org/jboss/dna/common/monitor/SimpleProgressMonitorTest$I18nMessages_fr.properties 2008-04-25
04:02:32 UTC (rev 110)
@@ -1,2 +1,2 @@
-testTaskName = t�che d'essai
-testTaskName2 = deuxi�me t�che d'essai {0}
\ No newline at end of file
+testTaskName = examinez le message
+testTaskName2 = examinez le message {0}
\ No newline at end of file
Show replies by date