Thanks Pierre, I committed your change.
The last error is most probably because you edited a template file in
an editor that insists on having a final newline at the end of a
file. Some editors always add this, even is you remove that last
blank line.
On 26-jan-06, at 18:26, Raoul Pierre wrote:
Geert,
You apparently still haven't setup your config file correctly either.
So now I get only one failure, see below.
I checked the files:
includes_othertype_in.html
includes_othertype_out_content_0.html
includes_othertype_out_content_1.html
includes_othertype_out_content_2.html
includes_othertype_out_content_3.html
includes_othertype_out_content_4.html
Is there any other file concerned by this test?
Other point: I had to specified the locale in
TestArrayUtils.testCreateStringArrayDate. See diff below.
Regards
Pierre
Index: C:/DEV/Rife/rife-svn-orig/src/unittests/com/uwyn/rife/tools/
TestArrayUtils.java
===================================================================
--- C:/DEV/Rife/rife-svn-orig/src/unittests/com/uwyn/rife/tools/
TestArrayUtils.java (revision 2854)
+++ C:/DEV/Rife/rife-svn-orig/src/unittests/com/uwyn/rife/tools/
TestArrayUtils.java (working copy)
@@ -12,6 +12,7 @@
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
+import java.util.Locale;
import junit.framework.TestCase;
public class TestArrayUtils extends TestCase
@@ -160,7 +161,7 @@
assertEquals(1, converted.length);
assertEquals("2005-08-18 09:27", converted[0]);
- converted = ArrayUtils.createStringArray(cal.getTime
(), new ConstrainedProperty("someProperty").format(new
SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss")));
+ converted = ArrayUtils.createStringArray(cal.getTime(),
new ConstrainedProperty("someProperty").format(new SimpleDateFormat
("yyyy.MM.dd G 'at' HH:mm:ss", Locale.ENGLISH)));
assertEquals(1, converted.length);
assertEquals("2005.08.18 AD at 09:27:13", converted[0]);
}
======================================================================
==========================
[java] Time: 55,766
[java] There was 1 failure:
[java] 1) testParseIncludesOtherType
(com.uwyn.rife.template.TestParser)
junit.framework.ComparisonFailure: expected:<...> but was:<...
[java] >
[java] at
com.uwyn.rife.template.TestParser.testParseIncludesOtherType
(TestParser.java:638)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
[java] at com.uwyn.rife.test.RunWithEngineClassLoader.main
(RunWithEngineClassLoader.java:44)
[java] FAILURES!!!
[java] Tests run: 528, Failures: 1, Errors: 0
BUILD SUCCESSFUL
Total time: 1 minute 6 seconds
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users