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